hi,all. I use the android-bluetooth control my T-mobile G1 phone.But when I scan remotedevice I cause an ?null? Exception. this is the part of code.
try { if(localBtDev.isScanning() == false){ //localBtDev.scan(); } } catch (Exception e1) { // TODO Auto-generated catch block tv.setText("cann't init scanner "+e1.getMessage()); //return; } this code always output "cann't init scanner null". --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---