Currenlty I uses userAgent and Request.Browser.IsMobileDevice to check whether client browser mobile device or not.
I am calling 2 methods one which checks userAgent for "iPhone;", "ipad;" and so on. Another method which checks Header for "x-wap-profile" and "profile". If I am not misteken then todays mobile devices does not have "x-wap-profile"?
My query here is, I am doing in right way or is there any better way of doing. I know 51Degrees.Mobi provide free facility however I found it very cumbersome to implement.
If 51Degrees is best way of doing then can someone help me to integrate with 51Degree step by step.
pratiksolank...
Member
271 Points
76 Posts
Smartphone and tablets detection
Oct 10, 2012 10:24 PM|LINK
Hi,
Currenlty I uses userAgent and Request.Browser.IsMobileDevice to check whether client browser mobile device or not.
I am calling 2 methods one which checks userAgent for "iPhone;", "ipad;" and so on. Another method which checks Header for "x-wap-profile" and "profile". If I am not misteken then todays mobile devices does not have "x-wap-profile"?
My query here is, I am doing in right way or is there any better way of doing. I know 51Degrees.Mobi provide free facility however I found it very cumbersome to implement.
If 51Degrees is best way of doing then can someone help me to integrate with 51Degree step by step.
Much appreciate help
Thanks
Pratik
roopeshreddy
All-Star
20155 Points
3328 Posts
Re: Smartphone and tablets detection
Oct 11, 2012 05:13 PM|LINK
Hi,
I blogged the same here - http://roopeshreddy.wordpress.com/2012/06/24/detect-requesting-device-type-and-redirect-in-asp-net/
Moreover, you can also do that using CSS Media Queries - http://css-tricks.com/css-media-queries/
Check this too - http://detectmobilebrowsers.com/
Hope it helps u...
Roopesh Reddy C
Roopesh's Space
bhushan13in
Member
54 Points
28 Posts
Re: Smartphone and tablets detection
Nov 02, 2012 10:31 AM|LINK
above metion methods are not able to detect latest mobile devices.
roopeshreddy
All-Star
20155 Points
3328 Posts
Re: Smartphone and tablets detection
Nov 02, 2012 12:08 PM|LINK
Hi,
May i know, which devices you have used and which are failing?
Roopesh Reddy C
Roopesh's Space