09-18-2013 12:27 AM - edited 09-18-2013 04:23 AM
I'm converting my Android app (apk) to Blackberry OS 10 (bar).
Everything is ok if i install the bar file to my BB.
But when I try to upload to our BB server to deploy to software to the Z10, i have the problem:
"Qnx/Android" is not supported
I found the root cause here:
It is currently not possible to add Android applications to the work perimeter on the BlackBerry Playbook tablet or BlackBerry 10 smartphone; this is by design.
Since all applications added to the BlackBerry PlayBook tablet or BlackBerry 10 smartphone via BlackBerry Device Service are installed in the work perimeter, Android applications cannot be installed.
Alternatively, Android applications can be successfully downloaded directly into the personal perimeter on the BlackBerry PlayBook tablet or BlackBerry 10 smartphone.
What's should i do now? I need to install my app to more hundred of BB10.
Can i reuse my Android code? If can't, what's the best solution, best language if i must to write all the code from scratch.
Solved! Go to Solution.
09-18-2013 04:05 AM
Yes, unfortunately Android apps can't be added to the Work perimeter.
I suppose you have an enterprise app which is not meant to be published to BB World; and even from BB World your users would still be able to install it only to their personal perimeter on the device.
Currently there is no other way to reuse Java code as it is. Depending on the type of your app I would consider to port it to C++, or maybe to html5 if the business logic permits.
Actually the other way around would work: once you have a C++ code you could directly reuse a well separated C++ code base on Android (and iOS, maybe Linux) and keep the ui platform specific.
However it is quite embarassing indeed to re-implement / port everything for an app what is otherwise running fine on BB10...
09-26-2013 11:06 AM
imre_m is correct.
There is no way to use the BlackBerry Java on BB10. The only environment that you can run any Java code on BB10 is the Android runtime.
The best solution for you here, would be to re-write in native Cascades. That way, you could install to the enterprise perimeter, will get better performance and also gain access to a wide variety of features (bluetooth, maps, share, etc).