Hi, It is not possible to directly access the phonebook, the JTWI states that for a TextField with the constant phonenumber should be provided with the address book, but if my memory is correct, this is not guarenteed. Hope this information helps you to think an alternative solution. Regards.

SCJP 1.4, SCMAD 1.0<br />SCWCD, SCBCD (in progress)

Rashid Mayes

Ranch Hand

Posts: 160

posted 10 years ago

You can directly access PIM data by using JSR75. Of course your device must support the API. There are plenty of examples for accessing the data stored in the phone book.

Please review the examples on java.sun.com. There is a wealth of informaion on this topic. Also consider the examples on sonyericsson's site.