This week's book giveaway is in the Jobs Discussion forum.
We're giving away four copies of Java Interview Guide and have Anthony DePalma on-line!
See this thread for details.
The moose likes Java Micro Edition and the fly likes access phonebook entries on nokia phones Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Mobile » Java Micro Edition
Bookmark "access phonebook entries on nokia phones" Watch "access phonebook entries on nokia phones" New topic

access phonebook entries on nokia phones

Benjoe Reyes
Ranch Hand

Joined: Apr 24, 2002
Posts: 109
is it possible for a j2me app to access the nokia phone's phonebook entries? particularly 3530,3650, 6600, 6210...
Sathya Srinivasan
Ranch Hand

Joined: Jan 29, 2002
Posts: 379
According to the MIDP specification, there is no direct way to access the phone book of the device. However, there are two exceptions.
1. If a TextField's type is PHONENUMBER, then the device implementation MAY give the user an option to select the phone from the address book (only selection)
2. There is a MIDlet.platformRequest(String url) method that can be used to initiate phone calls. The url should be of the form "tel://<msisdn-number>". This is the full form of the number, like +1234567890. This is available only in MIDP 2.0 and your phone should support it.
Hope this helps.

Cheers, Sathya Srinivasan - SCJP 1.2, SCWCD 1.2, SCMAD 1.0
Co-Author of Whizlabs SCMAD Certification Exam Simulator and SCMAD Exam Guide Book
I agree. Here's the link:
subject: access phonebook entries on nokia phones
It's not a secret anymore!