How do you test for the bluetooth adapter presence before accessing? Reason I ask is every time i run my program in the simulator it crashes with that stupid NullPointerException when accessing bluetoothadmin in any way.
Is there a way to test for its presence before working with bluetoothadmin?
Is there a way to test for its presence before working with bluetoothadmin?