| Reply | « Previous Thread | Next Thread » |
|
Hi!
Does anyone know if there is a way to uniquely recognize the phone one is using? e.g. when my midlet requests a servlet on webserver, I would like the servlet to recognize that the request is coming from my phone. Mac number? unique id? thanks! |
| j_jokisalo |
| View Public Profile |
| Find all posts by j_jokisalo |
|
In general this is not possible, as far as J2ME is concerned.
You should check with your cellular provider though. Our cellular provider adds a unique ID to the User-Agent string when connecting with GPRS through a WAP gateway, and we are using this ID to identify our users. |
|
Thanx! Could you tell who is your cellular provider?
And in servlet or whatever you just extract the Id from User-Agent string and check if matchers, right? I'm currently using Nokia 6310i... |
| j_jokisalo |
| View Public Profile |
| Find all posts by j_jokisalo |
|
I am talking about Orange (Partner) in Israel.
And the answer to your second question is yes, I parse the ID from the User-Agent string. The phone model doesn't matter because the ID number is added by the WAP gateway and not by the phone. You will have to check with your provider if they do anything similar because I don't know if this is a standard practice in WAP gateways. shmoove |
| Reply | « Previous Thread | Next Thread » |
| Thread Tools | Search this Thread |
|---|---|