How to handle Error 515?

1,070 views
Skip to first unread message

Furstein 44

unread,
Nov 18, 2016, 9:52:06 AM11/18/16
to MIT App Inventor Forum
Hello.
I am developing an App for remote control via Bluetooth.
If the devices are not connected, an error reporting text pops up when you press one of the buttons that sends a message. 

Error: 515: Not connected to a Bluetooth device.

How can I handle this error? I would like to write a different message and add an "ok" button, so it's more user-friendly.

Cheers.

Taifun

unread,
Nov 18, 2016, 10:33:12 AM11/18/16
to MIT App Inventor Forum
before sending, make sure the device is connected
you can use the isConnected property for that

see also

Taifun
Reply all
Reply to author
Forward
0 new messages