My application can be easily repackaged for blackberry devices using their web portal. http://developer.blackberry.com/android/documentation/using_the_bb_packager_1873331_11.html
So I can turn my .apk file into a .bar file that users can install on their BB10 devices.
My concern now would be to slighty change the UI or disable some features (in-app billing, Google Maps, some intents) regarding the OS.
I would like for instance to display a Map button on legit Android devices and remove this button on the Blackberry port. I also have some preferences related to the widget that have no reason to appear on a BB10 device
Do you know a perfect way to detect if the app is the repackaged one or the original apk?
My guess would be to use the Build information, but I am pretty sure there is a better way to achieve this.