The IsBluetoothEnabled function checks if Bluetooth is enabled on the phone/tablet.
enabled = nxt.IsBluetoothEnabled();
function OnStart() { nxt = app.CreateNxt(); enabled = nxt.IsBluetoothEnabled(); app.ShowPopup( enabled ); }