Sub Switch1_CheckedChange(Checked As Boolean)
Dim b As Byte
If Checked Then b = 1 Else b = 0
CallSub2(Starter, "SendMessage", Array As Byte(0, b))
End Sub
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
Sub lblStatus_Click
End Sub
public Sub RetornaTextoBluetoothname As String
Return bluetoothname.text.trim
End Sub
Sub Button1_Click
Dim b As Byte
b = 1
CallSub2(Starter, "SendMessage", Array As Byte(0, b))
End Sub
Sub Button2_Click
Dim b As Byte
b = 0
CallSub2(Starter, "SendMessage", Array As Byte(0, b))
End Sub