Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
menu search
person
Welcome To Ask or Share your Answers For Others

Categories

I'd like to have an unique identifier for a cell phone. Since there is not a particular way to find IMEI or IMSI on every mobile, I want to know if there are other ways to find an unique identifier for a cellphone. Can anyone suggest a way?

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
560 views
Welcome To Ask or Share your Answers For Others

1 Answer

You can use just time in millis if you don't need strong UID. Or you can get UUID implementation from J2SE and port it to J2ME. In this way UUID should be stored in RMS. One of the best way is to build server side and distribute app only via this service. When new user try to download app you can put into manifest and jad any UUID you want and use it in your app via MIDlet.getAppProperty( String uuidPropertyName );


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
...