Link to home
Start Free TrialLog in
Avatar of tobzzz
tobzzzFlag for Spain

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|symbian|smartphone|midp|wap|phone|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
ASKER CERTIFIED SOLUTION
Avatar of Adam
Adam
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of tobzzz

ASKER

Hi Cyber-spy,

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
Avatar of tobzzz

ASKER

Thanks anyway
No problem - have fun building your site! ;-)