Phonegap is an open source platform that allows HTML5 and JavaScript created apps to be compiled into native apps that can be uploaded onto the app stores for Android, iPhone and Blackberry.
This project comprises of two parts:
- an Android application based on the Phonegap libraries
- a Drupal 7 module which interfaces the Android app with Drupal
The Phonegap HTML5 code is generic, and will also work on iPhone and Blackberry devices, when compiled within the Phonegap framework.
The module currently handles three key functions:
- Login / Authentication
- Uploading of articles
- Listing of articles - which must be from a pre-defined view (for example the standard frontpage view)
Quick step guide to getting started:
1. Install the Phonegap Drupal module on your Drupal site
2. Enable the module, and make sure your user has permissions to create content from mobile
3. Enable the views module, and for a default view you can enable the frontpage view
4. Go to settings on the mobile app (bottom left corner)
5. Enter the URL of your site,
6. Enter the name of the view to display content
7. Enter the name of the views display
8. When you go to the upload content area, you will be prompted to enter your username and password, which you must do before continuing