Running jQuery Mobile as an Android App

In this section, we are going to wrap a jQuery Mobile app with PhoneGap and run it on the native Android platform. To set up PhoneGap on the Android platform, we will reference PhoneGap's “Getting Started Guide with Android”7. Installation of Eclipse, the IDE for Android development, is a prerequisite. After your Android platform is set up, you should have a new Eclipse project that looks similar to Figure 10–11.


Figure 10–11. Initial Eclipse project with PhoneGap ...

Get Pro jQuery Mobile now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.