Community Documentation

DrupalGap Mobile Application

Last updated November 8, 2012. Created by tyler.frankenstein on November 8, 2012.
Log in to edit this page.

DrupalGap Mobile Application

The DrupalGap mobile application is available for Android and iOS. The mobile application can interact with Drupal sites that have the DrupalGap module enabled.

Android - Download: Google Play

iOS - Download: iTunes

Custom Mobile Application Development for Drupal Websites

Mobile application developers can use DrupalGap with PhoneGap and jQueryMobile to build custom mobile applications that integrate with their Drupal websites.

Please refer to PhoneGap's Getting Started Guide for more information. Here is a quick summary:

PhoneGap - Installation (Android)

  1. Download PhoneGap
  2. Complete the PhoneGap Getting Started Guide for Android to create your new Android Application in PhoneGap
  3. Download JQuery 1.6.4 & JQuery Mobile 1.1 to PhoneGap's assets/www directory
  4. Download DrupalGap and extract to PhoneGap's assets/www directory so DrupalGap's JavaScript file is located at assets/www/drupalgap/drupalgap.js
  5. Run your new Android Application!

JQuery and JQueryMobile Downloads

From here you'll have a great start to building a mobile application that integrates with your Drupal website.

Developing with Localhost Drupal & Android Emulators

If you are developing on localhost and want your mobile application to communicate with your Drupal install, you may need to use 10.0.2.2 instead of localhost inside DrupalGap, for example:

http://localhost/my_drupal_site ==> http://10.0.2.2/my_drupal_site

Comments

Getting the App into Eclipse

There is a fairly good tutorial on Youtube on how to get your PhoneGap app into eclipse at the following link PhoneGap Tutorial. Useful as a final step on how to get the DrupalGap app into eclipse.

Page status

No known problems

Log in to edit this page

About this page

Drupal version
Drupal 6.x, Drupal 7.x
Audience
Programmers
Level
Intermediate
Drupal’s online documentation is © 2000-2013 by the individual contributors and can be used in accordance with the Creative Commons License, Attribution-ShareAlike 2.0. PHP code is distributed under the GNU General Public License. Comments on documentation pages are used to improve content and then deleted.
nobody click here