Thanks Don. On Jul 9, 11:50 am, DonFrench <[email protected]> wrote: > This is the way I do it. I also want to know if the app is running in > the emulator so I first check if there is a default adapter. > > BluetoothAdapter sBluetoothAdapter = > BluetoothAdapter.getDefaultAdapter(); > if (sBluetoothAdapter == null) { > // Bluetooth is not availabl > EMULATOR = true;} else > > EMULATOR = false; > ... > > if (!EMULATOR) { > if (!sBluetoothAdapter.isEnabled()) { > // Bluetooth is not enabled > > } > > On Jul 9, 9:25 am, Arjun <[email protected]> wrote: > > > Greetings, > > > How can I know whether bluetooth is enabled or disabled. > > > Thanks, > > Arjun.
-- 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

