08-05-2013 03:07 AM
I am thinking to update an Android Runtime application which is published in BB World with a new web app built with WebWorks.
Is this supported/possible?
Solved! Go to Solution.
08-06-2013 08:56 AM
I'm a little confused at the question.
You can re-write your application in WebWorks in you like. I encourage you to check out our documentation on getting starting with BlackBerry WebWorks (https://developer.blackberry.com/html5/) and also take a look at bbUI.js (https://github.com/blackberry/bbui.js) which will allow you to easily style your application and give it a native BlackBerry 10 look and feel.
08-06-2013 09:07 AM
Yes, that is what I want to do. I have published an Android app some time ago. Now I would like rewrite it as a WebWorks app and publish it as an update.
Meanwhile I have found some information. It seems to be a confirmed bug that an app will fail to launch on the user's device if an Android Runtime app has been updated to a WebWorks app. - see ticket BBTEN-401 in the developer jira: https://www.blackberry.com/jira/browse/BBTEN-401
I also ran into another problem: I am not able to use my old signing keys (from 2011). The keys work perfectly if I want to sign an Android Runtime app. However the same key with the same password does not work with the WebWorks SDK.
If I create new keys using the csj files, then it fixes the problem. However I am afraid that if I use the new keys then I will not be able to publish updates for my already published applications which were signed with the old set of keys.
08-06-2013 09:40 AM
I'm not familiar with that bug, best bet is to keep an eye on it in JIRA like you've been doing.
Aside from that, they can link your new keys to the old App ID for you, but you'll need to contact support via the Vendor Portal. It'll be a small amount of work involved to get your environment setup again for WebWorks, but I think in the end it'll be great for you.
08-13-2013 03:35 PM
That bug has been fixed. You can keep the same package ID when moving from one application language to another. There is a guide on how to do that here:
08-14-2013 02:47 AM
Thanks for the update. Meanwhile I've uploaded the new version of my app and tested the update with a sandbox account (Android app updated to WebWorks app).
After the update I've ended up having two icons of the application: one still launched the old Android app and the second one was launching the WebWorks app.
After a reboot both icons launched the WebWorks app. (BlackBerry Z10, OS 10.1.0.4181).
I have to add that I've created new signing keys and sent a request to Vendor Support to enable the update.
08-14-2013 10:14 AM
If your code signing keys changed then this is expected. The OS will treat the two installations as separate applications since they were signed by different authors.