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

Java Development

Reply
Developer
sathibault
Posts: 41
Registered: ‎08-08-2008
My Device: Not Specified
Accepted Solution

Detect device software version 4.3

Is there a way for an application built with JDE 4.2.1 to determine if it is running on a device with 4.3+ installed?

 

I'd like to determine at run-time if embedded video support is available.

 

Please use plain text.
Developer
peter_strange
Posts: 19,598
Registered: ‎07-14-2008
My Device: Not Specified

Re: Detect device software version 4.3

You will find suitable 4.2 friendly code in this KB article.

 

How To - Retrieve the BlackBerry Device Software version
Article Number: DB-00150

http://www.blackberry.com/knowledgecenterpublic/livelink.exe/fetch/2000/348583/800332/800620/How_To_...

Please use plain text.
Developer
sathibault
Posts: 41
Registered: ‎08-08-2008
My Device: Not Specified

Re: Detect device software version 4.3

Thanks, that seems to work.

 

I don't know about the performance of getVisibleApplications so I'm using the CodeModuleManager to get a handle on a particular module instead.

Please use plain text.
Developer
peter_strange
Posts: 19,598
Registered: ‎07-14-2008
My Device: Not Specified

Re: Detect device software version 4.3

I've not noticed any particular performance implications using this code myself.
Please use plain text.