my dog learned polymorphism
The moose likes Java Micro Edition and the fly likes probleam with getDiscoveryAgent() Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Mobile » Java Micro Edition
Bookmark "probleam with getDiscoveryAgent()" Watch "probleam with getDiscoveryAgent()" New topic

probleam with getDiscoveryAgent()

mahdi farzami
Ranch Hand

Joined: Nov 21, 2009
Posts: 32
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 ?
I agree. Here's the link:
subject: probleam with getDiscoveryAgent()
It's not a secret anymore!