Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to use phone no. from handset in j2me.

 
Mania Pawar
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi all,

can i access hanset adress book in j2me application.

and plz send me sample code because i am newer in j2me.


plz send it i am waiting here....

thank u
 
Eduardo Marques
Ranch Hand
Posts: 231
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Try to create a TextBox or TextField with TextField.PHONENUMBER constraints.
In some devices a shortcut button will allow you to access the phonebook
when the textfield is active and retrieve the phone number from there.

See the WTK javadocs for more details. The following code fragment should help.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic