This week's book giveaway is in the Beginning Java forum.
We're giving away four copies of Murach's Java Programming and have Joel Murach on-line!
See this thread for details.
Win a copy of Murach's Java Programming this week in the Beginning Java forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

probleam with getDiscoveryAgent()  RSS feed

 
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
 
I yam what I yam and that's all that I yam - the great philosopher Popeye. Tiny ad:
Thoughts on deprecation in Java
https://coderanch.com/t/683016/java/Deprecation-Java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!