Go Back   CodingForums.com > :: Client side development > General web building > Building for mobile devices

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 02-05-2008, 12:29 PM   PM User | #1
hmvrulz
Regular Coder

 
Join Date: Jan 2007
Posts: 137
Thanks: 5
Thanked 0 Times in 0 Posts
hmvrulz is an unknown quantity at this point
How to detect a mobile device model exactly

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
hmvrulz is offline   Reply With Quote
Old 02-05-2008, 12:57 PM   PM User | #2
mlseim
Master Coder

 
mlseim's Avatar
 
Join Date: Jun 2003
Location: Cottage Grove, Minnesota
Posts: 9,042
Thanks: 8
Thanked 1,029 Times in 1,020 Posts
mlseim has a spectacular aura aboutmlseim has a spectacular aura aboutmlseim has a spectacular aura about
I found this:
http://webdevblog.uwaterloo.ca/artic...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.
mlseim is offline   Reply With Quote
Old 02-05-2008, 02:23 PM   PM User | #3
hmvrulz
Regular Coder

 
Join Date: Jan 2007
Posts: 137
Thanks: 5
Thanked 0 Times in 0 Posts
hmvrulz is an unknown quantity at this point
Quote:
Originally Posted by mlseim View Post
I found this:
http://webdevblog.uwaterloo.ca/artic...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...
hmvrulz is offline   Reply With Quote
Old 02-05-2008, 03:22 PM   PM User | #4
aedrin
Senior Coder

 
Join Date: Jan 2007
Posts: 1,648
Thanks: 1
Thanked 58 Times in 54 Posts
aedrin will become famous soon enough
What prevents you from using a search engine? There's plenty of information out there.
aedrin is offline   Reply With Quote
Old 02-05-2008, 04:31 PM   PM User | #5
c_and13_
New to the CF scene

 
Join Date: Jul 2007
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
c_and13_ is an unknown quantity at this point
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
c_and13_ is offline   Reply With Quote
Old 02-05-2008, 04:40 PM   PM User | #6
angst
Senior Coder

 
angst's Avatar
 
Join Date: Apr 2004
Location: Toronto, Ontario
Posts: 2,112
Thanks: 15
Thanked 122 Times in 122 Posts
angst is on a distinguished road
wouldn't it be simplest to just run some tests??
angst is offline   Reply With Quote
Old 02-05-2008, 09:44 PM   PM User | #7
hammer65
Regular Coder

 
Join Date: Dec 2007
Location: Nebraska
Posts: 113
Thanks: 0
Thanked 2 Times in 2 Posts
hammer65 is an unknown quantity at this point
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.
__________________
Deliver yesterday, code today, think tomorrow.
hammer65 is offline   Reply With Quote
Old 02-06-2008, 02:54 AM   PM User | #8
o0O0o.o0O0o
Senior Coder

 
o0O0o.o0O0o's Avatar
 
Join Date: Jan 2008
Location: C:\Windows\System32
Posts: 1,018
Thanks: 19
Thanked 9 Times in 9 Posts
o0O0o.o0O0o is infamous around these parts
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
o0O0o.o0O0o is offline   Reply With Quote
Old 02-06-2008, 09:59 AM   PM User | #9
hmvrulz
Regular Coder

 
Join Date: Jan 2007
Posts: 137
Thanks: 5
Thanked 0 Times in 0 Posts
hmvrulz is an unknown quantity at this point
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

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
hmvrulz is offline   Reply With Quote
Old 05-09-2011, 10:39 PM   PM User | #10
sherdavis
New to the CF scene

 
Join Date: May 2011
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
sherdavis is an unknown quantity at this point
Quote:
Originally Posted by hmvrulz View Post
how to detect the exact mobile convergence 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?
sherdavis is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 09:41 AM.


Advertisement
Log in to turn off these ads.