Link to home
Start Free TrialLog in
Avatar of jamie_lynn
jamie_lynn

asked on

What is the best way to detect mobile browsers?

Hi
What is the best way to detect mobile browsers?
I know that you have to parse useragent, but how can i cover majority of the mbile browsers?
I was looking into WURFL, and it looks pretty extensive, but a bit overkill for me.
Is there a simpler script that covers the newer mmobile phones like iphone, android, blackberry, wp7, webOS?

Thanks
Jamie
Avatar of Rob Knight
Rob Knight
Flag of United Kingdom of Great Britain and Northern Ireland image

have a look at this:

http://detectmobilebrowsers.mobi/

Regadrs,


RobMobility.
Avatar of jamie_lynn
jamie_lynn

ASKER

Hi Rob,

This script is in PHP. I am using Python.
Is there a python version available?

Thanks
Jamie
ASKER CERTIFIED SOLUTION
Avatar of rationalboss
rationalboss

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
SOLUTION
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
Thanks for all the libraries!
I decided to go with
http://code.google.com/p/handset-detection-python-api-kit/