Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Device detection on the server

 
Danish Shaukat
Ranch Hand
Posts: 341
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I know that we can get device information from the User-Agent property. Are there any open source APIs that can retrieve the phone brand and model from this string. Parsing the string does not seem to be a very clean approach.

I need the phone make and model for downloading the appropriate midlet.
 
Mark Spritzler
ranger
Sheriff
Posts: 17278
6
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can you have the phone pass/push that information directly to the server, rather than the server trying to pull that information from the device?

Mark
 
Danish Shaukat
Ranch Hand
Posts: 341
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Mark,

We can always make a wml page with a list of phones and models. The user can make the selection and this information can be passed to the server. (If this is what you meant by pass/push).

However, I don�t want the user to go through all these lists. The user should just select the link of JAD and the appropriate midlet should be downloaded.

Danish
 
Jignesh Kakkad
Ranch Hand
Posts: 49
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi

you can get the device and model number on the server
you need to read the uaprof_header in http header in that you will get the information about that!
and can make the selection!

i ahve code for this

jig2nesh@hotmail.com
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic