Android Question Clastic Bluetooth requesting device location

DannyMarom

New Member
Hi All

With reference to the HC-05-classic-bluetooth


I used this example as a base to my application.

I noticed that the application wants a permission to access the device location.

Sub btnConnect_Click
rp.CheckAndRequest(rp.PERMISSION_ACCESS_COARSE_LOCATION)
Wait For Activity_PermissionResult (Permission As String, Result As Boolean)
If Result Then
CallSub(Starter, "Connect")
Else
ToastMessageShow("No permission", True)
End If
End Sub


When I removes this request, the device stopped connecting to the HC-06.

Can anyone explain why the device location is needed for simple local Bluetooth connection?
Is there a way to avoid this request? People may be suspicions when an app wants to know where they are without apparent reason.

Thank you in advance
Danny
 
Top