08-01-2012 04:41 AM
PhoneGap Build uses a different config.xml than WebWorks.
PhoneGap build supports BBOS 5, 6 and 7, i.e. only the current smartphones.
WebWorks comes in 3 SDK flavors for smartphones, PlayBooks, and BB10 DevAlpha.
When creating a WebWorks app, you package with the appropriate SDK. These all require a config.xml.
For PhoneGap Build, the config.xml is optional.
Also about using PhoneGap Build:
If you want to access device apis, PhoneGap Build does require a version of cordova.js to be specified in your <script>something like cordova-1.x.x.x.js (phonegap.js is old name) </script>, in your index.html file. However, you must not include that cordova.js file in your zip when you upload it to PhoneGap Build. Only 1 of your platforms is going to work. PGB automatically packages the right version of cordova for each platform for you.
WebWorks does not use cordova.js. So, don't include it in your zip when you build WebWorks.
08-01-2012 08:32 AM
Thank you guys for your replies. I really appreciate them.
I tried including additional tags in my config.xml file (w.g content, access), without any success.
Additionally, while I have our attention, I have another issue with my Torch. Any element that has a background specified with background: url(xxx.png) 9px 0px no-repeat. Does not show up. I researched this issue and I am aware the BB does not support this CSS property and I should use background-image: url(xxx.png) instead, however I cannot achieve the same effect as I cannot specify the area of the image (9px 0px) and I am overwriting Jquery mobile css, which does not work in that case, as I am looking at the jquery mobile (+) icon with black background in that case. Do you have any alternative for this issue?
Thank you again for your efforts,