...

View Full Version : How to detect a mobile device model exactly



hmvrulz
02-05-2008, 12:29 PM
how to detect the exact mobile device from using $_SERVER['HTTP_USER_AGENT'] argument.

since this give various info how to extract the names n model number of the mobile phone

mlseim
02-05-2008, 12:57 PM
I found this:
http://webdevblog.uwaterloo.ca/article/303/server-side-sniffing-in-php-for-mobile-devices

I just don't think you'll get enough information (such as model number).
It's more about the browser it runs than the phone itself.

hmvrulz
02-05-2008, 02:23 PM
I found this:
http://webdevblog.uwaterloo.ca/article/303/server-side-sniffing-in-php-for-mobile-devices

I just don't think you'll get enough information (such as model number).
It's more about the browser it runs than the phone itself.

but usually most of the mobiles have info about the model in them...
if theres is any other wat to detect plz let me know...

aedrin
02-05-2008, 03:22 PM
What prevents you from using a search engine? There's plenty of information out there.

c_and13_
02-05-2008, 04:31 PM
This is a fairly interesting topic to me as well...

if you do find anything good, please postback! If I get the chance I'll have to have a look around myself.

good luck

angst
02-05-2008, 04:40 PM
wouldn't it be simplest to just run some tests??

hammer65
02-05-2008, 09:44 PM
Tests are easy for desktop browsers, but testing all of the mobile browsers yourself would be a little expensive would it not? Unless of course there is a way to run them on a desktop machine for testing.

o0O0o.o0O0o
02-06-2008, 02:54 AM
i think there are simulators available for different mobile phones to check them
i am not exactly sure but few years back my friend showed me the simulator of sony ericsson P900 to test wap features

hmvrulz
02-06-2008, 09:59 AM
GUYs i found a solution to my problem... of another forum... though sharing it with you may help some one at a later point

WURFL (http://wurfl.sourceforge.net/)

What is WURFL?
The WURFL is an XML configuration file which contains information about capabilities and features of many mobile devices.

if ur using a Nokai N95 as i do u get the USER AGENT as

Mozilla/5.0 (SymbianOS/9.2 U; Series60/3.1 NokiaN95_8GB/10.0.007; Profile/MIDP-2.0 Configuration/CLDC-1.1 ) AppleWebKit/413 (KHTML, like Gecko) Safari/413

By using this WURFL recognises it as a nokia N95 and sends back the result..
their database is updated regularly .. and u can add your own devices also

sherdavis
05-09-2011, 10:39 PM
how to detect the exact mobile convergence (http://www.3gcgroup.com/) device from using $_SERVER['HTTP_USER_AGENT'] argument.

since this give various info how to extract the names n model number of the mobile phone

I'm a little confused. Could u give some other directions for this?



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum