
2 Preparation
2 Preparation
•
System requirements
: Bluetooth connectivity requires Android 4.3 and later,
and the Smart Life App SDK supports Android 4.4 and later.
•
Manifest permissions
1
<
uses
-
permission android
:
name
=
" android . permission . ACCESS_COARSE_LOCA
2
TION"
/>
3
<
uses
-
permission android
:
name
=
" android . permission . ACCESS_FINE_LOCATI
4
ON"
/>
5
<
uses
-
permission android
:
name
=
" android . permission . BLUETOOTH "
/>
6
<
uses
-
permission android
:
name
=
" android . permission . BLUETOOTH_ADMIN "
/
7
>
•
Precheck of Bluetooth permissions
• Check whether the location permissions are enabled for an app before it uses
Bluetooth connectivity or starts scanning.
• Check whether the Bluetooth feature is enabled.
This precheck is not provided by the Smart Life App SDK. You can manually perform
the precheck. This percheck is essential. Otherwise, the app cannot use Bluetooth
connectivity as expected.
3 / 31