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

Web and WebWorks Development

New Developer
Posts: 22
Registered: ‎07-14-2008
My Device: Not Specified
Accepted Solution

Redirect on BB Software Version

Does anyone know how to set up a page that reads the BB software version and redirects to a specific URL based on the version?


I have 2 versions of an application that is downloaded onto the BB and I need the browser to know which JAD file to grab when the user accesses the page.

BlackBerry Development Advisor
Posts: 10
Registered: ‎07-11-2008
My Device: Not Specified

Re: Redirect on BB Software Version

Its pretty simple to create a page that redirects to a specific URL based on the device version.  The browser includes the infomation you need in the http header it sends in a web request. 

if you are using java/jsp you can use a call like:


for .NET:


and so on.  Just look for the string you want, and send the user on to that page.


Here is a knowledge base article with information about what you can find in a BlackBerry Browser header:





ed bourne

Enterprise Solutions Partnership Manager