I ported my android app to bb10 and it works quite well. However there are a couple of features I should turn off because they require the Google Play store. When I had a similar problem with the Amazon Kindle Fire I dealt with it by checking android.os.Build.MODEL and blacklisting Kindle devices. Is the right approach to take on BB10 and if so what are the model strings for current and future devices? Or is their a better way of dealing with this?
You can use the System.getProperty method to detect if your Android application is running on a BlackBerry PlayBook tablet, or BlackBerry 10 device.
System.getProperty(“os.name”);
On a BlackBerry device, this returns "qnx".
Via: http://supportforums.blackberry.com/t5/Android-Runtime-Development/How-to-Detect-if-an-Android-Application-is-Running-on-a/ta-p/1470313
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With