Last post Aug 13, 2010 02:49 PM by amar_j
Oct 07, 2008 10:19 PM|Bohunkus|LINK
Hi Everyone, I need to detect the size of the user's screen for mobile devices (especially the BlackBerry). I've read a lot of pages that seem to refer me to the Request.Browser object, but I'm finding that this object doesn't have the correct values. For
example, I have a BlackBerry and when I use the Request.Browser to get the screen size, it tells me it is 640x480. Well, I know it's not that big since an image of 300px wide just barely fits. Also, when I run on my desktop browser, it also says my screen
is 640x480. I can assure you, it is not 640x480! ha!
Oct 08, 2008 10:35 AM|amit.jain|LINK
res = "&res="+screen.width+"x"+screen.height+"&d="+screen.colorDepth
Oct 08, 2008 10:46 AMfirstname.lastname@example.org|LINK
U can get the size of screen.
Oct 09, 2008 12:32 AM|rhxxtb|LINK
Aug 13, 2010 02:49 PM|amar_j|LINK
The latest capabilities list which is available in WURFL is read using 51degrees.mobi Foundation API which detects all mobile devices. It is a .NET open source available here
It easily detects if the request is coming from any mobile device and redirects user to mobile landing page. It has some user friendly samples to try out.
- Thank You