Although systems like WURFL use the user agent to identify mobile
devices and their capabilities, it's actually an identifier of the
browser, not the device.  Your PC may be a Mac, or a Windows box
running on an AMD, Intel 486 or i7 - the user agent isn't going to
reveal a lot about this - perhaps the OS and a rough indicator of the
age of the PC.  It will tell you whether it's IE, Firefox, Chrome etc.

If you're writing your own HTTP client then it's up to you to create
your own user agent to provide your server with any application-
specific it needs (Android/iPhone, version number...).  You might want
to add some of the fields from  
http://developer.android.com/reference/android/os/Build.html.
Screen size is something you can also code into your user agent.

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to