Skip to main content

How can we get Native Phone book for selecting a number

Please note these java.net forums are being decommissioned and use the new and improved forums at https://community.oracle.com/community/java.
1 reply [Last post]
ajonnet
Offline
Joined: 2011-01-24

How can i open to native phone book in LWUIT to select a phone number from native phone book.
I tried setting FIeld type as Phone Number in TextField but to no vail.

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
vprise
Offline
Joined: 2003-11-07

This isn't a part of LWUIT right now. You can use JSR 75 to read the content of the phonebook.
I don't think JSR 211 content handler would help but who knows?
Some device's might offer a platform request feature to allow that.