Hello Erel. i'm very pleased to talk with you.
I was thinking in a "resident" program (does that exist in android?) that checks the list of paired devices every, let's say, 30 seconds.
Dim PairedDevices As Map
PairedDevices = Serial1.GetPairedDevices
Dim l As List
l.Initialize
For i = 0 To PairedDevices.Size - 1
l.Add(PairedDevices.GetKeyAt(i))
Next
If the device is initially detected and then, later, it's not detected, then play an alarm.
Is there a way to have this program running always in bakground? ¿is there an "autoexec.bat" in android?