
Originally Posted by
balagopalks
I think you are planning for some kind of a Chat App ?
AFAIK, there is no direct API available in Java ME, but you can do it by Syncing with your server. This is the quick solution that comes to my mind : User installs the App > Enter his/her mobile number and logs in > Client ask for user permission and uploads all the phone contacts(Access Phone contacts via JSR 75 PIM API) to server via Internet > The server should have the list of all users registered > Compare the uploaded numbers with existing / registered numbers in the server > return the matches only to the client and display it. You can also set the Online / offline status based on the availability / connected status. - I hope I have made it clear ?
Please ensure the privacy part is very well taken care of, else you could end up in legal issues.
Regards
Gopal