Microsoft Band and Android(Java) – Add Permission Tags in the Manifest file

When working with the Microsoft Band using Java for an android app , it is necessary add the following permissions under the uses-permission tag of the AndroidManifest.xml.

  • android.permission.BLUETOOTH
  • com.microsoft.band.service.access.BIND_BAND_SERVICE

How to add Permission Tags in the Manifest file to use Band SDK in Java ?

The reason for adding this to the manifest file is that the app will be using the capabilities of the Microsoft Health App and it is necessary that the Microsoft Health App be installed on the android deice for the developers to use the SDK.

The AndroidManifest.xml will contain the similar code snippet as shown below.

<uses-permission android:name="android.permission.BLUETOOTH"/>
<uses-permission android:name="com.microsoft.band.service.access.BIND_BAND_SERVICE" />
%d