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

phone identify

 
jeff ukridge
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I am in the process of writing a MIDlet for a phone that connects to my servlet.

So far it's going slowly but at least I'm making some progress.

Initially I was going to put in a username/password into my MIDlet but lately I was thinking of going in another direction. (I want my MIDlet to be as small as possible, if I can avoid a seperate LOGIN screen, I would want to)

Let's say that I have four phones that I've installed my MIDlet on. It's OK if one of these four phones connect to my servlet but not any others.

Is it possible for my servlet to identify a phone? For example is there a unique number (like an IP address or GUID or some sort of serial number) that is associated with a phone?

If so, I thought that I could could tell my servlet which phones could connect and have it reject any other attempts to connect.

Is this possible?
 
Ould Nadif
Ranch Hand
Posts: 184
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

The best way to identify a mobile is to use his UP_X_SUBNO (it is a http header). Each handset has got a only one ID (UP_X_SUBNO ) that identifie its browser. You can got it as you download it through OTA. By the way, you may use the JSR 177 to get it your phone number. Unfortunetly there is only few phone that implement that JSR.

OULD

A+
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic