tobzzz
asked on
Change mobile/tablet detection (classic ASP)
I have a detection script:
http://blog.trsdesign.com/2012/02/mobile-detection-in-classic-asp/
It basically goes through an array checking against the HTTP_USER_AGENT (I think), and if there's a match it decides it's a portable device.
What I need to do is break it down so I can see if it's mobile phone or a tablet. However, I don't know what brands do what or if there's overlap: I mean, for example, "android" is in the array but android is on both tabs and phones!
There's also this line:
"(up.browser|up.link|mmp|s ymbian|sma rtphone|mi dp|wap|pho ne|windows ce|pda|mobile|mini|palm)"
Most of which sound like pda's or phones but I don't know all of them, windows ce is tablet or just mobile? What is mmp? What is midp? etc......
So, has anyone had experience with this? I only want fully confident answers here, please!
Thanks experts,
/ Tobzzz
http://blog.trsdesign.com/2012/02/mobile-detection-in-classic-asp/
It basically goes through an array checking against the HTTP_USER_AGENT (I think), and if there's a match it decides it's a portable device.
What I need to do is break it down so I can see if it's mobile phone or a tablet. However, I don't know what brands do what or if there's overlap: I mean, for example, "android" is in the array but android is on both tabs and phones!
There's also this line:
"(up.browser|up.link|mmp|s
Most of which sound like pda's or phones but I don't know all of them, windows ce is tablet or just mobile? What is mmp? What is midp? etc......
So, has anyone had experience with this? I only want fully confident answers here, please!
Thanks experts,
/ Tobzzz
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks anyway
No problem - have fun building your site! ;-)
ASKER
It's not the answer but I like the article and I like the info so awarding the points as no one else has contributed. Thanks for you time on this.
/ Tobzzz