09-09-2008 09:12 PM
Is there a System.getProperty() 'key' that I can use to determine if the device I'm on is a BlackBerry? This is for a J2ME application to determine its device at runtime.
I want to put this determination in my code so that I can use the same JAD file for all devices supported by my application. This is because the BlackBerry needs the extra ";deviceside=true" for HTTP connections (and other stuff) that is specific to the BlackBerrys.
P.S. thanks for the input so far - really speeds up development.
09-10-2008 03:01 AM - edited 09-10-2008 03:06 AM
Try this way:
for Blackberry device it should return:
RIM Wireless Handheld
07-20-2010 08:18 PM
More recent Blackberry versions report "Blackberry <platform #>" instead of "RIM Wireless Handheld", this stuffed us (and at least one other software vender) up :-(