The J2ME APIs do not specify any mechanism for accessing an ESN. (An ESN is a number built into a phone which may be used to uniquely identify that particular mobile handset.)
One of the reasons: Many devices do not contain ESNs for cost reasons.
It is possible that a manufacturer could provide an OEM- or device-specific Java API to access ESNs, in which case if you used the API, you would need to realize that your J2ME application was no longer portable to all devices.
Alternatively, you can track a user's access with a standard server-based mechanism such as username/password.
If you have the better answer, then send it to us. We will display your answer after the approval.
Rules to Post Answers in OneStopFAQs.com:-
There should not be any Spelling Mistakes.
There should not be any Gramatical Errors.
Answers must not contain any bad words.
Answers should not be the repeat of same answer, already approved.