EmmanuelPil / Android-java-code-utilities-widgets-for-Processing-for-Android

Android code for Processing for Android
16 stars 9 forks source link

About the android.permission.BLUETOOTH #6

Closed xvcvcvcxvddd closed 1 year ago

xvcvcvcxvddd commented 1 year ago

Hi, thanks for sharing. I am trying to connect the Bluetooth. However, it always shows "java.lang.SecurityException: Need BLUETOOTH permission: Neither user 10255 nor current process has android.permission.BLUETOOTH. I was wondering how can I give Bluetooth permission to the APP? "

jafal633 commented 1 year ago

Hi

To give Bluetooth permission to the APP

In the Processing’s IDE Android mode Menu/Android/Sketch permissions

On the APDE you can do that by choosing: Three dots / Sketch Properties / Sketch Permissions.

xvcvcvcxvddd commented 1 year ago

Thank you so much. It was solved perfectly