An open API service indexing awesome lists of open source software.

https://github.com/bnaya/phonegaptest


https://github.com/bnaya/phonegaptest

Last synced: 3 months ago
JSON representation

Awesome Lists containing this project

README

        

# Hello World PhoneGap Application [![bitHound Score][bithound-img]][bithound-url]

> A Hello World application built with PhoneGap

## Usage

### Desktop

In your browser, open the file:

/www/index.html

### PhoneGap CLI

This repository is automatically downloaded by [phonegap-cli][phonegap-cli-url]
when you create a new application.

### PhoneGap Build

Create a new app with the following repository:

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

### Nitrous.io

First [setup nitrous.io][nitrous-url] to use this project.

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

$ cd ~/workspace/phonegap-start
$ npm install -g phonegap
$ 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][cordova-app] 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 `

Apache Cordova

` with `

PhoneGap

`.

#### 3. Update PhoneGap Version

#### 4. Commit

$ git commit -am "Version x.x.x"

#### 5. Tag

$ git tag x.x.x

[phonegap-cli-url]: http://github.com/phonegap/phonegap-cli
[cordova-app]: http://github.com/apache/cordova-app-hello-world
[nitrous-url]: https://d3o0mnbgv6k92a.cloudfront.net/assets/hack-l-v1-3cc067e(https://www.nitrous.io/hack_button?source=embed&runtime=nodejs&repo=phonegap%2Fphonegap-start&file_to_open=README.md
[bithound-img]: https://www.bithound.io/github/phonegap/phonegap-app-hello-world/badges/score.svg
[bithound-url]: https://www.bithound.io/github/phonegap/phonegap-app-hello-world