Help get this topic noticed by sharing it on Twitter, Facebook, or email.
Support for BlackBerry 10
I am currently trying to build a Sencha Touch app using an Dev Alpha B BlackBerry 10 device. It works well when using the now golden WebWorks SDK. There are many similarities to how PhoneGap Build works, and according to RIM there is already support for PhoneGap. What are the plans of Adobe / PhoneGap Build to support BB10 apps? Can you shed some light on this? Do you need anything to make it happen?
5 people have
this question +1
this question +1
This topic is no longer open for comments or replies.
Thanks for the clarification. For my BB10 development (we just submitted our first app!), I used the Ripple Plug-in for Chrome and then simply compiled and signed everything from the Ripple Plug-In. Once that was working fully I took the same HTML/JS and with a few minor tweeks to config.xml I uploaded into build.phoneGap.com. Everything worked great.
Thought I do agree with you, it would be nice to have the whole thing done in 'one place'.
Here is a copy/paste of my config.xml file.
<?xml version="1.0" encoding="UTF-8"?>
xmlns:gap = "http://phonegap.com/ns/1.0"
<preference name="phonegap-version" value="2.2.0" />
<author href="http://www.go3i.com/" rim:copyright="Copyright 1998-2012 Blah Blah Inc">Blah Blah Blah</author>
<icon src="icons/icon-57.png" gap:platform="ios" width="57" height="57" />
<icon src="icons/icon-72.png" gap:platform="ios" width="72" height="72" />
<gap:splash src="splash/ios/splash320x480.png" width="320" height="480"/>
<gap:splash src="splash/ios/splash640.png" width="640" height="960"/>
<gap:splash src="splash/ios/splash1024.png" width="1024" height="768"/>
<gap:splash src="splash/ios/splash768.png" width="768" height="1024"/>
<access uri="http://localhost" subdomains="true">
<feature id="blackberry.identity" required="true"/>
<plugin name="Storage" value="org.apache.cordova.Storage" />
<feature id="blackberry.widgetcache" required="true" version="22.214.171.124" />
The interesting thing here is the XMLNS lines which define both the phoengap and RIM specific XML definitions. This allows me to specify RIM specific tags AS WELL as phoneGap specific tage. You can see that some of them are common to both while others have to be explicitly prefixed with either rim: or gap:
That's about it. So far I have not had to make any changes to the HTML/JS to accomodate the 2 (WebWorks and PhoneGap) but its possible that that is because I am keeping things simple.
I dont think that PhoneGap formerly supports BB10 so I dont think you can do what you are doing. I compile my BAR files directly in WebWorks, not PhoneGap.
Having said that, something I read while back makes me want to tell you that you should just rename the .ZIP file to .BAR and see if that works? I doubt it will but I do vaguely remember reading something about that a while back.