mirror of
https://github.com/phonegap/phonegap-start.git
synced 2026-01-08 22:18:01 -05:00
e29e5ed0f01e3b322c7f1ce5526df94481650413
There is a lot of confusion over what is the right way to set app icons. I myself struggled with this setting because the default icons generated by phonegap are also named "icon.png". When I placed an `icon.png` inside `img` folder, it didn't work. It's important to make it explicit in the documentation that the setting is taken relative the `config.xml` location.
PhoneGap Build Starter Application
A Hello World application to get started with PhoneGap Build.
Running the Application
Run Locally
Run Application
/www/index.html
Run Tests
/www/spec.html
Using PhoneGap Build
Create a new app with the following repository:
https://github.com/phonegap/phonegap-start.git
Using PhoneGap Build and nitrous.io
Setup nitrous.io in a matter of seconds:
Then run the following commands in the nitrous.io terminal:
cd ~/workspace/phonegap-startnpm install -g phonegapphonegap remote build android
The last command requires an Adobe ID and will build your app on PhoneGap Build.
Contributors
Updating the Application
The application is based on the Apache Cordova Hello World app.
1. Update the Source
cp cordova-app-hello-world/www www/
Do not replace www/config.xml.
Do not replace www/img/logo.png.
2. Update index.html
Replace <h1>Apache Cordova</h1> with <h1>PhoneGap</h1>.
3. Update PhoneGap Version
<preference name="phonegap-version" value="x.x.x" />
4. Commit
$ git commit -am "Version x.x.x"
5. Tag
$ git tag x.x.x
Description
Languages
JavaScript
86.4%
CSS
9.4%
HTML
4.2%
