This week's book giveaway is in the Java 9 forum.
We're giving away four copies of Java 9 Modularity: Patterns and Practices for Developing Maintainable Applications and have Sander Mak & Paul Bakker on-line!
See this thread for details.
Win a copy of Java 9 Modularity: Patterns and Practices for Developing Maintainable Applications this week in the Java 9 forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

how to use phone no. from handset in j2me.  RSS feed

 
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
Boost this thread!