Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

probleam with getDiscoveryAgent()

 
mahdi farzami
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
i want to use mobile device bluetooth , i use this code but there is probleam with this method getDiscoveryAgent() . this error shown :
Null pointer java/lang/nullpointer exeption

this is my code :

and this is out put on netbeans :
Smart card communication error 0x80100017
The specified reader is not currently available for use
Using Untrusted simulated domain
"Series 40 5th Edition SDK, Feature Pack 1" Instance #6500500 Ready for Future Connections
"Series 40 5th Edition SDK, Feature Pack 1" Connection Terminated

can any body help me ?
thanks
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic