08-22-2008 01:17 PM
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.
Solved! Go to Solution.
08-25-2008 10:45 AM
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:
request.getHeader("User-Agent")
for .NET:
Request.ServerVariables("HTTP_USER_AGENT")
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:
http://www.blackberry.com/knowledgecenterpublic/li
cheers
ed bourne
Enterprise Solutions Partnership Manager