I've been searching a really really long time for an XML Parser usable with PhoneGap. Is there a way to use this http://www.edumobile.org/iphone/iphone-programming-tutorials/parsing-an-xml-file Parser in my PhoneGap App or is there a way to make it compatible. Please help!
For PhoneGap applications, the Config.xml file defines the apps meta data including icons, splash screens, security and permissions. It isn’t required to have a Config.xml defined to successfully do a build in PhoneGap but you will eventually need to do one to get too far beyond “hello world”.
To get a basic build working in phonegap, all you really need is a single “index.html” file in the zip file you upload. To access the phonegap API, you can add a reference to the phonegap.js file in the HEAD of your index.html file.
These extensions are platform specific but if you plan on using the Adobe PhoneGap build service you can develop on your favored platform, then upload to the PhoneGap build service to build for the other platforms. For PhoneGap applications, the Config.xml file defines the apps meta data including icons, splash screens, security and permissions.
The Adobe PhoneGap cloud build service lets you create an HTML based app, zip it up and the service will create platform specific installers. It supports Android, iOS, Windows Phone, Blackberry, WebOS, and Symbian.
Rule of thumb about Phonegap: for the most part anything you can do in the browser using Javascript, you can do in Phonegap using Javascript with a couple of nice bonus API calls. See Phonegap API Doc and Phonegap community plugin repository (Note if you absolutely need some additional functionality from iPhone or Android or whatever platform the repo would be the place to go asking about it).
So Javascript XML is what you are looking for.
Or alternatively if you have options for formats, JSON is probably your best bet.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With