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. New to the forum? Please visit the ‘Getting Started’ link below.
inside custom component

Java Development

Reply
Contributor
papdoligosa
Posts: 27
Registered: ‎02-12-2010
My Carrier: Globe/Unlocked AT&T

Detect OS Version during Installation from an SDCard

Is it possible to detect OS version if you are installing a BlackBerry app from an SDCard with only the JAD and COD files?

 

I know it is possible to determine OS version if installing using an ALX or OTA but I haven't tried installing from internal/external memory using JAD with OS detection yet.

Please use plain text.
Administrator
MSohm
Posts: 12,957
Registered: ‎07-09-2008
My Carrier: Bell

Re: Detect OS Version during Installation from an SDCard

Not directly.  You could have your JAD file point to a COD file that is an installer application, which detects the OS version and then installs the appropriate COD files from the micro SDcard.  There is an OTA example that does something similar at the link below.  You could adapt it for SD card use.

 

Programmatically install and upgrade applications

Mark Sohm
BlackBerry Development Advisor

Please refrain from posting new questions in solved threads.
Found a bug? Report it using the Issue Tracker
Please use plain text.