This week's book giveaway is in the Java 8 forum.
We're giving away four copies of Java 8 in Action and have Raoul-Gabriel Urma, Mario Fusco, and Alan Mycroft on-line!
See this thread for details.
The moose likes Java Micro Edition and the fly likes Get the mobile number with J2ME Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Mobile » Java Micro Edition
Bookmark "Get the mobile number with J2ME " Watch "Get the mobile number with J2ME " New topic
Author

Get the mobile number with J2ME

Moniphal Say
Ranch Hand

Joined: Aug 11, 2004
Posts: 48
Dear all,

I've found a post here, some one asked about "can we get the mobile number with J2ME" but the reply of this post is not clear.

So now,i've asked again, does J2ME provide any technique that we can get the mobile number . For example, with J2ME, MIDP . I have an application client-server , which client connect to the server to request some information.
On the server side, I want to get the mobile number of the connected client . How to get that??

Regards,
Moniphal


<b>The more we learn, the more we know !</b>
Vijay Dogra
Greenhorn

Joined: Sep 16, 2004
Posts: 22
Hello,
Yes you can get the address of the client that connects to a server. You can
get address using <message object>.getAddress() method which returns address
of connected client. Although its not possible to get own number using MIDP2.0
Correct me if I am wrong.
Regards,
Vijay
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Get the mobile number with J2ME
 
Similar Threads
How can I control j2ME license?
J2ME
How to get IMEI number of Mobile using J2ME programming..
how to fetch mobile number
I/O operation and key stroke capturing