Last post Aug 13, 2010 10:49 AM by amar_j
Oct 07, 2008 06: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 06:35 AM|amit.jain|LINK
res = "&res="+screen.width+"x"+screen.height+"&d="+screen.colorDepth
Oct 08, 2008 06:46 AMemail@example.com|LINK
U can get the size of screen.
Oct 08, 2008 08:32 PM|rhxxtb|LINK
Aug 13, 2010 10:49 AM|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