You Are Here:

Community: Developer Discussion Boards

#1 Old RE: Self mobile phone number - 1970-01-01, 02:00

Join Date: Mar 2003
Posts: 8
tridcomm
Offline
Registered User
I found on a Symbian page:
http://www3.symbian.com/faq.nsf/f91c9c36047592a3802569fc00535d0a/755962c83e20287e80256b27004fdd46?OpenDocument

Platform: Symbian OS v6.0, Symbian OS v6.1

Question:
Can I access the IMEI number of a phone from code on Symbian OS?

Answer:
The IMEI number is accessible through a native ETel API. Unfortunately, for C++ developers this is not a publicly released API but is part of the advanced GSM API to which only licensees have access. However the API is accessible from Java code using the methods of JTAPI mobile, as follows:

JtapiPeer peer = JtapiPeerFactory.getJtapiPeer("com.symbian.javax.telephony.EpocJtapiPeer");
provider = peer.getProvider("EpocGsmMobileProvider");
Address[] addresses = provider.getAddresses();
origAddress = addresses[0];
println("Host number is " + origAddress.getName());
Terminal[] terminals = provider.getTerminals();
origTerminal = (MobileTerminal) terminals[0];
println("IMEI number is " + origTerminal.getTerminalId());

But AFAIK JTAPI is not accessible from J2ME just from personal java.
Reply With Quote

#2 Old Self mobile phone number - 2002-11-04, 10:35

Join Date: Mar 2003
Posts: 1
maccuspoon
Offline
Registered User
Dear all,

In J2ME , how can I get the self mobile phone number ?
Thanks
Reply With Quote

#3 Old RE: Self mobile phone number - 2002-11-04, 13:34

Join Date: Mar 2003
Posts: 419
Location: Irving, Texas, USA
pbergius
Offline
Regular Contributor
Hello,

Unfortunately currently you can't get mobile phone number or IMEI code from phone to a MIDlet.

Regards,

Petteri / Forum Nokia
Reply With Quote
Reply « Previous Thread | Next Thread »
Display Modes
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules

You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Forum Jump

Rate This

 
Bookmark this page: DeliciousDiggFacebookGoogleYahooStumbleUponRedditDiigoTechnocratiTwitter  Share this page Share this page Print this Page Print this page Invite a friend Invite a friend
京ICP备05048969号    Email Newsletters Press Terms & Conditions Privacy Policy Sitemap Contact Us © 2009 Nokia