This week's book giveaway is in the Beginning Java forum.
We're giving away four copies of Murach's Java Programming and have Joel Murach on-line!
See this thread for details.
Win a copy of Murach's Java Programming this week in the Beginning Java forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Get the mobile number with J2ME  RSS feed

 
Moniphal Say
Ranch Hand
Posts: 48
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Vijay Dogra
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
It means our mission is in jeapordy! Quick, read this tiny ad!
Thoughts on deprecation in Java
https://coderanch.com/t/683016/java/Deprecation-Java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!