phonegap

 

Testing your PhoneGap Nokia application

Page history last edited by wildabeast 1 mo ago

Creating your PhoneGap Nokia project in Aptana Studio's WRT Plugin allows you to simulate the on device behaviour of your application in a browser. Note that there is a desktop emulator which is included in the PC version of this plugin, but has not been tested with PhoneGap (hopefully shortly!).

 

Get the Aptana WRT Plugin here.

The simulator requires Firefox and Firebug.

 

1. Install Aptana Studio and the Nokia WRT plug-in.

2. Go to File -> New -> Project. Select Nokia Web Runtime -> New Nokia Web Runtime Widget.

3. Select your desired project name and file locations. Click Finish. You should now see some additional internal application files/folders.

4. Copy your web application pages into the project folder (unless starting from scratch).

5. Ensure that the MainHTML property in info.plist refers to your application starting page.

6. Right click on the file "wrt_preview_frame.html", and select Debug As -> Javascript Web Application.

 

Your application should run inside Firefox, with the phonegap API functioning and returning test data for geolocation, contacts, acceleration, etc.

 

Comments (0)

You don't have permission to comment on this page.