I’m using the follwing code to check whether bluetooth is on/off. However, it is not working!
Any idea if there is any compatibility issues between this code and Gear Fit 2?
var adapter = tizen.bluetooth.getDefaultAdapter();
if ( adapter.powered ){
alert("Bluetooth is turned on!");
}
else
{
alert("Bluetooth is turned off!");
}
Checking for Bluetooth status!
I’m develping a Gear Fit 2 app.
I’m using the follwing code to check whether bluetooth is on/off. However, it is not working!
Any idea if there is any compatibility issues between this code and Gear Fit 2?
Thanks!
BY
16 Apr 2025
Tizen Studio
BY
04 Nov 2024
Tizen Studio
BY
02 Apr 2024
Tizen Studio