asp.net development WAP program must: Identify the phone brand model

Source: Internet
Author: User
We are developing WAP applications need to identify the mobile phone brand model features, so that we can better provide users with better personalized services, such as Picture type, screen size, ring type, and so on.
HTTP protocol, user-agent this header indicates the browser information, the article finally attaches a common mobile phone user-agent.
Each manufacturer, or even a manufacturer of multiple brands of User-agent has not a uniform naming standards, so the processing is quite troublesome---non-stop if.
Like judging the brand of a mobile phone
If Request.UserAgent.ToUpper.StartsWith ("MOT") Or Request.UserAgent.ToUpper.StartsWith ("MOT") Then
' Motorola
End If
If Me.Request.UserAgent.ToUpper.IndexOf ("-SGH") > 0 Then
' Samsung
End If
The method of judging the model is the same.
There are also some exceptions to this process, such as Motorola E360 will be identified as T33 this is the manufacturer's problem.
Common mobile phone User-agent:
Log_brand Log_module Log_ua
Arima Arima 2860 profile/midp-2.0 configuration/cldc-1.1
CECT A706 CECT A706
CECT E818 cect-e818/(2004.07.01) sw2.0.0/wap1.2 profile/midp-2.0
CECT G3300 CECT g3300/ut_sammy_a_06.20/wap1.2 profile/midp-2.0 configuration/cldc-1.1
CECT M62 Cect-m62
CECT M72 Cect-m72
CECT S568 cects568/(2004.07.27) sw2.0.0/wap1.2
CECT S857 CECT S857
CECT T586 cectt586/(2004.11.30) 1.0/wap1.2.1 profile
CECT T700 cect_t700
CECT T868 CECT T868
Compal C8600 compal-c8600/1.0 up. browser/6.2.2.3 (GUI) mmp/1.0
Compal CHASE898 compal-chase898/1.0 up. browser/6.2.2.3 (GUI) mmp/1.0
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.