FeaturesPluginsDocs & SupportCommunityPartners

NetBeans Forums

 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
  

Getting mobile number by J2ME Application!

 
Post new topic   Reply to topic    NetBeans Forums -> Java ME Users
View previous topic :: View next topic  
Author Message
maruffaiz



Joined: 16 Feb 2009
Posts: 18

PostPosted: Tue Jul 07, 2009 7:17 am    Post subject: Getting mobile number by J2ME Application! Reply with quote

Hi,

I am working on one J2ME application and in that I want to know the mobile number of the phone itself.

Is there any way to do the same?
Please help. If possible give me some code or let me know any alternative way.

Thanks
Back to top
View user's profile Send private message Yahoo Messenger MSN Messenger
Karol Harezlak
Posted via mailing list.





PostPosted: Tue Jul 07, 2009 8:35 am    Post subject: Getting mobile number by J2ME Application! Reply with quote

I think you need to have device with JSR 253 Mobile Telephony API
implemented. If your device doesn't support it try link below. It should
work at least for Nokia phones.

http://wiki.forum.nokia.com/index.php/Java_ME_FAQ#How_do_I_retrieve_the_phone_number_from_my_midlet.3F
Quote:
Hi,



I am working on one J2ME application and in that I want to know the mobile number of the phone itself.



Is there any way to do the same?

Please help. If possible give me some code or let me know any alternative way.



Thanks












--
Karol Harezlak <address-removed>
Sun Microsystems, Inc. NetBeans Mobility
Back to top
maruffaiz



Joined: 16 Feb 2009
Posts: 18

PostPosted: Tue Jul 07, 2009 8:46 am    Post subject: Re: Getting mobile number by J2ME Application! Reply with quote

Dear Karol,
Thanks for your reply.

I tried, But it is giving null value instead of number.
Olease advice...

Karol Harezlak wrote:
I think you need to have device with JSR 253 Mobile Telephony API
implemented. If your device doesn't support it try link below. It should
work at least for Nokia phones.

http://wiki.forum.nokia.com/index.php/Java_ME_FAQ#How_do_I_retrieve_the_phone_number_from_my_midlet.3F
Quote:
Hi,



I am working on one J2ME application and in that I want to know the mobile number of the phone itself.



Is there any way to do the same?

Please help. If possible give me some code or let me know any alternative way.



Thanks












--
Karol Harezlak <address-removed>
Sun Microsystems, Inc. NetBeans Mobility
Back to top
View user's profile Send private message Yahoo Messenger MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    NetBeans Forums -> Java ME Users All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB