Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Android™ Development


Thank you for visiting the BlackBerry Support Community Forums.

BlackBerry will be closing the BlackBerry Support Community Forums Device Forums on April 1st (Developers, see below)

BlackBerry remains committed to providing excellent customer support to our customers. We are delighted to direct you to the CrackBerry Forums, a well-established and thorough support channel, for continued BlackBerry support. Please visit http://forums.crackberry.com or http://crackberry.com/ask. You can also continue to visit BlackBerry Support or the BlackBerry Knowledge Base for official support options available for your BlackBerry Smartphone.

"When we launched CrackBerry.com 10 years ago, we set out to make it a fun and useful destination where BlackBerry Smartphone owners could share their excitement and learn to unleash the full potential of their BlackBerry. A decade later, the CrackBerry community is as active and passionate as ever and I know our knowledgeable members and volunteers will be excited to welcome and assist more BlackBerry owners with their questions."

- Kevin Michaluk, Founder, CrackBerry.com

Developers, for more information about the BlackBerry Developer Community please review Join the Conversation on the BlackBerry Developer Community Forums found on Inside BlackBerry.


Reply
Highlighted
Developer
Posts: 34
Registered: ‎02-06-2013
My Device: BlackBerry Z10
My Carrier: AT & T
Accepted Solution

Android targetSDKVersion support in Blackberry 10.2.1

I am just wondering if i am making my android application with minSdkVersion 15 (ICS-4.0.3) and targetSdkVersion 19(Kitkat-4.4) on android. Can I install it on Blackberry 10.2.1 ? BB 10.2.1 supports Jelly Bean (4.2.2) but not sure it provides same sort of compatability layer how Android runtime provides.

 

Can anyone confirm or share their experiance related to this?

Retired
Posts: 264
Registered: ‎01-08-2013
My Device: BlackBerry 10 Dev Alpha B
My Carrier: Bell

Re: Android targetSDKVersion support in Blackberry 10.2.1

Hey atmanpathak,

 

You can use a minSdkVersion of 15, however you will be limiting the availability of your app to BlackBerry devices with OS 10.2 and onwards.

 

You can also use a targetSdkVersion of 19 with one caveat. If your app utilizes the libraries that are present in SDK levels above 17, they are likely to crash your app. This is because those libraries don't actually exist on the device (ex. ClassNotFoundException).

 

It's best to keep your ported Android app within a minimum SDK level of 10, and maximum SDK level of 17.

 

Cheers!

Justin Jasmann | Android Application Development Consultant
Developer Relations
developer.blackberry.com
Developer
Posts: 34
Registered: ‎02-06-2013
My Device: BlackBerry Z10
My Carrier: AT & T

Re: Android targetSDKVersion support in Blackberry 10.2.1

I am fine about that app can only be install on BB 10.2.1  or higher. So it shouldn't be problem if i make minimum sdk to 15 (ICS-4.0.3)

Retired
Posts: 264
Registered: ‎01-08-2013
My Device: BlackBerry 10 Dev Alpha B
My Carrier: Bell

Re: Android targetSDKVersion support in Blackberry 10.2.1

Correct.

 

As long as minSdkVersion is >= 10 and <= 17, you should be okay. You're only limiting the devices your app is available to.

 

The real problem is if you set targetSdkVersion > 17 and use those libraries (as described above).

 

Cheers,

Justin Jasmann | Android Application Development Consultant
Developer Relations
developer.blackberry.com