2014-06-11 16:18:31 -07:00
2012-08-20 14:46:23 -07:00
2014-03-13 08:37:50 -07:00
2014-06-11 14:44:50 -07:00
2014-06-11 15:34:49 -07:00
2014-06-11 16:18:31 -07:00

Hello World PhoneGap Application

A Hello World application built with PhoneGap

Usage

Desktop

In your browser, open /www/index.html.

PhoneGap CLI

This repository is automatically downloaded by phonegap-cli.

PhoneGap Build

Create a new app with the following repository:

https://github.com/phonegap/phonegap-start.git

nitrous.io

[Setup nitrous.io][nitrous].

Then run the following commands in the nitrous.io terminal:

  1. cd ~/workspace/phonegap-start
  2. npm install -g phonegap
  3. phonegap 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
No description provided
Readme Apache-2.0 39 MiB
Languages
JavaScript 86.4%
CSS 9.4%
HTML 4.2%