This week's book giveaway is in the Java in General forum.
We're giving away four copies of Think Java: How to Think Like a Computer Scientist and have Allen B. Downey & Chris Mayfield on-line!
See this thread for details.
Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

access phonebook entries on nokia phones

 
Benjoe Reyes
Ranch Hand
Posts: 109
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
is it possible for a j2me app to access the nokia phone's phonebook entries? particularly 3530,3650, 6600, 6210...
 
Sathya Srinivasan
Ranch Hand
Posts: 379
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic