dojo & phonegap

829
5
04-10-2012 08:41 AM
nicogis
MVP Frequent Contributor
Derek, in next blogs ESRI or with new version 2.9 (?) and dojo 1.7,  will there be samples with phonegap ( http://www.ibm.com/developerworks/web/library/wa-dojomobile/?ca=drs- ) ?
0 Kudos
5 Replies
derekswingley1
Frequent Contributor
We don't have any plans to publish a sample that uses PhoneGap.
0 Kudos
SamLarsen
New Contributor III
It would be helpful to see a list of any apps that have been built with the JavaScript API and PhoneGap (or a similar HTML5 wrapping process) if you know of any.
0 Kudos
YohanBienvenue
Occasional Contributor II
It would be helpful to see a list of any apps that have been built with the JavaScript API and PhoneGap (or a similar HTML5 wrapping process) if you know of any.


When I started my own project a few months ago I found this demo to be very helpful in understanding what phonegap could do. You can install it on your device and play around with it. You can even download and use the source of their demo as a starter point for your project (that's what I did). They also have a few videos on youtube you can check out.

Myself I was looking at the jQuery Mobile demo, but I don't see any reason why it couldn't be adapted to dojo if you wanted. In my own project I have to use some dojo anyway since the ArcGIS API for Javascript uses it for many things. I mix the two.

http://www.mobiledevelopersolutions.com/home/start/included-demo-apps
0 Kudos
SamLarsen
New Contributor III
We created a semi-cross platform demo for the Esri UK User Conference yesterday:
http://46.137.187.160/slarsen/esriuk-conference/

It works on tablets in landscape mode and modern desktop browsers.  It has evolved from the jQueryMobile sample on the JavaScript API samples page with some bug fixes and some additional features like embedded PDF viewing (on selected features with PDF attachments). Example feature with PDF attachment shown below:
[ATTACH=CONFIG]14350[/ATTACH]
It consumes the following webmap http://www.arcgis.com/home/item.html?id=ec9c631ea0874d498a604a461ee2dc3c - which you can use to add new features with PDF attachments.

Our next step would be to wrap it up with PhoneGap or a similar framework.
0 Kudos
WilliamCaputo_Lima
New Contributor
Someone have some sample using javascript api + phonegap + windows phone ?

I'm developing a portal that I have to deploy in Android - iPhone - WindowsPhone.

The build for android works ok, but to Windows phone, what I realized is that dojo doesn't load.

What I realized too is that even web sites in web servers, the navigation in Windows Phone doesn't works as it should.

Regards and sorry by bad English
0 Kudos