12-15-2012 06:00 AM
Personally I find it best to attack such a problem from the other end as you then loose the Cordova dependancies which makes things very simple
The little group of developers I work with always start with BB then port to iOS and Droid using PhoneGap / Cordova simply to leverage the apps onto their systems
This is a very well thought out development method
If you don't use any BB specific stuff then porting is very easy
If you do use system services then stick them in a seperate file so you can isolate any likely port issues
This has worked very well for us
BB lets you be a big fish in a small pond while the others are a case of being a shrimp in an ocean
Its very easy to take anything that uses only HTML5 and port it to anything else - basing yourself on Cordova is not the way you should attack the problem
Our little team, between us, have over 50 Apps in the store and any one of them is easy to move to other eco-systems
12-15-2012 08:18 AM
The easiest way to start using Cordova/Phonegap is downloading the package and extracting the sample-folder for BlackBerry. Configure the project.properties file to your needs (SDK folders, IPs, passwords, ...) and try to deploy the sample app. From this you can try to change the sample to your needs really easy. In most cases you do not really need to change something between platforms.
Make sure to read the Cordova/Phonegap "Getting Started" Guide for BlackBerry.
A lot of API's provided by WebWorks are W3C conform, so Cordova/Phonegap isn't rewriting something and instead using those default APIs, in all other cases Cordova/Phonegap adapts functionality of platforms and provides same API functionality across almost all supported platforms so it is easy to create cross-platform apps.
12-17-2012 10:05 AM
I've actually created an updated Getting Started guide which includes BlackBerry 10. These docs should be live on the PhoneGap website after their next release.
For the time being, you can view the guide right form my GitHub - https://github.com/ctetreault/incubator-cordova-do