This week's book giveaway is in the JavaFX forum.
We're giving away four copies of Introducing JavaFX 8 Programming and have Herbert Schildt 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 Introducing JavaFX 8 Programming this week in the JavaFX forum!
JavaRanch » Java Forums » Mobile » Java Micro Edition
Bookmark "Get the mobile number with J2ME " Watch "Get the mobile number with J2ME " New topic

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??


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

Joined: Sep 16, 2004
Posts: 22
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.
I agree. Here's the link:
subject: Get the mobile number with J2ME
It's not a secret anymore!