Hi everyone, I wrote a service for disabling the bluetooth dynamically.
when I try to call: BluetoothAdapter bluetooth = BluetoothAdapter.getDefaultAdapter(); its throwing me the error: java.lang.RuntimeException: Can't create handler inside thread that has not called Looper.prepare() Please let me know how can I resolve this issue. some sample code may be better. Regards! Android funs -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

