Link-OS Bluetooth Printers using an Android 6.x (Marshmallow) device with the Zebra Link-OS SDK

Article ID: 26672935

Details


 

Topic or Information

Printer does not make a Bluetooth connection due to Android security configuration

Applies To

Android 6.x (Marshmallow - API level 23) 

Link OS compatible printers using Bluetooth and the SDK 

Details

Security enhancements in Android 6.x (Marshmallow - API level 23) require applications that require access to Bluetooth hardware to be recompiled with an additional permission. For applications built using the Zebra Link-OS SDK, add the following line to the Android project’s manifest file:

<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />

If this permission is missing your Zebra Link-OS SDK application will not be able to perform a Bluetooth device discovery. However, other SDK functionality will operate normally.

Source

Arthur P.