How to add bluetooth permision

I build a start stop with arduino and HC05 bluetooth. Anyone can show me how to add android permission to scan and connect a bluetooth?

To add the necessary permissions for scanning and connecting to Bluetooth devices in an App Inventor app, you’ll need to follow these steps:

  1. Open your project in App Inventor.
  2. Click on the “Designer” tab to access the visual designer interface.
  3. In the “Palette” panel on the left side, scroll down and locate the “Connectivity” section.
  4. Drag and drop the “BluetoothClient” component onto the screen.
  5. Click on the “Blocks” tab to access the blocks editor.
  6. From the “Connectivity” section in the blocks palette, locate the “BluetoothClient” blocks and expand them.
  7. Drag and drop the “RequestBluetoothPermission” block onto the blocks editor.
  8. Now, to add the required permissions, switch to the “Designer” tab again.
  9. Click on the “Screen1” component (usually located at the top of the “Components” panel).
  10. In the “Properties” panel on the right side, scroll down to the “Permissions” section.
  11. Click on the “Add…” button next to the “UsesPermissions” property.
  12. In the “Choose Permission” dialog, enter “android.permission.BLUETOOTH” in the search bar and select it.
  13. Click on the “Add…” button again and enter “android.permission.BLUETOOTH_ADMIN” in the search bar and select it.
  14. Finally, click on the “OK” button to close the “Choose Permission” dialog.

By following these steps, you have added the necessary permissions to your App Inventor project for scanning and connecting to Bluetooth devices. Remember to test your app thoroughly to ensure it functions as expected.