Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 10 of 10
  1. #1
    Regular Coder
    Join Date
    Jan 2007
    Posts
    137
    Thanks
    5
    Thanked 0 Times in 0 Posts

    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

  • #2
    Master Coder
    Join Date
    Jun 2003
    Location
    Cottage Grove, Minnesota
    Posts
    9,509
    Thanks
    8
    Thanked 1,090 Times in 1,081 Posts
    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.

  • #3
    Regular Coder
    Join Date
    Jan 2007
    Posts
    137
    Thanks
    5
    Thanked 0 Times in 0 Posts
    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...

  • #4
    Senior Coder
    Join Date
    Jan 2007
    Posts
    1,648
    Thanks
    1
    Thanked 58 Times in 54 Posts
    What prevents you from using a search engine? There's plenty of information out there.

  • #5
    New to the CF scene
    Join Date
    Jul 2007
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts
    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

  • #6
    Senior Coder angst's Avatar
    Join Date
    Apr 2004
    Location
    Toronto, Ontario
    Posts
    2,114
    Thanks
    15
    Thanked 122 Times in 122 Posts
    wouldn't it be simplest to just run some tests??

  • #7
    Regular Coder
    Join Date
    Dec 2007
    Location
    Nebraska
    Posts
    113
    Thanks
    0
    Thanked 2 Times in 2 Posts
    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.

  • #8
    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
    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

  • #9
    Regular Coder
    Join Date
    Jan 2007
    Posts
    137
    Thanks
    5
    Thanked 0 Times in 0 Posts
    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

  • #10
    New to the CF scene
    Join Date
    May 2011
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts
    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?


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •