Reputation: 1987
I'm almost done building my first android app and I was looking at making a version for Blackberry. Now since Blackberry native language is Java like Android, is easier to make a blackberry version of your android app from your android code? Is there a way to port it? (Not using the runtime software. More like porting the code to blackberry os standards) Will there be code that is reusable? I'm going to download the SDK soon and read their apis and stuff later but before I did that I just wanted to know about the similarities between developing an android app and a blackberry one.
Upvotes: 1
Views: 3509
Reputation: 5649
I also came from Android development, and now I'm learning Cascades for BB10. I don't know anything about BB7 though.
If you want to make an Android port you have Repackaging tools
While porting Android app is easier, we're usually not too happy with them. Native apps look a lot better and work faster! Then again, we prefer a port then no app. I have 3200 downloads on Google Play and 2200 on BlackBerry World on a port (it's longer on google!), and I am considering rewriting it in Cascades.
If you want to write FOR BB10.. a few options here:
You can't make Java apps for BB10. It will take some time to get used to BB10 way of working but it's worth it. I prefer Cascades over Android for design making, since those XML layouts have a mind of its own.
Edit: links fixed on 17.1.2014
Upvotes: 8
Reputation: 11247
Using the packager
Before you begin: Follow these steps to install the Android SDK and SDK platform 4.2.2 APIs. Note that you don’t need to install Eclipse or the BlackBerry Plug-in for Android Development to use the online packager.
To repackage an app using the BlackBerry Packager is as simple as completing the following steps:
1.Set the permissions to allow your browser to run the packager applet.
2.Run the compatibility test to determine whether your app is likely to run on a BlackBerry device.
3.BlackBerry ID token and configure your computer
4.Package and sign your app.
Get started with the online packager http://developer.blackberry.com/android/bpaa
Upvotes: 1
Reputation: 11
For BlackBerry10 you only need to convert it But for Older BlackBerry OS, the java os7, you need to rewrite code, because different with Android
Upvotes: 1
Reputation: 1781
Blackberry uses c++/qt in its current version (10)
http://developer.blackberry.com/native/documentation/bb10/getting_started.html
but it can sideload android apps (emulate them) so it might just simply work
http://crackberry.com/how-run-almost-any-android-233-app-blackberry-10
For older versions of blackberry OS (6 and 7), check out the links provided in the other answers and also this question:
Is it possible to convert android app to blackberry app?
Upvotes: 1
Reputation: 12243
Porting apps from the Native NDK in Android over to BlackBerry is relatively simple. You can either port it directly into Eclipse or you can use runtime tools. Check out the following link with a plethora of tools to use:
https://developer.blackberry.com/android/tools/
Upvotes: 2