I don't see any errors, or it is captured without being shown
** Activity (main) Pause event (activity is not paused). **
*** paginasalidas: B4XPage_Disappear [mainpage, paginamainmenu, paginasalidas]
** Activity (main) Create **
*** mainpage: B4XPage_Appear
** Activity (main) Resume **
*** mainpage: B4XPage_PermissionResult [mainpage]
App ARRANCADA con Conexion
i include
Dim btAdmin As BluetoothAdmin 'SERIAL
Dim cmp20 As Serial
Dim printer As TextWriter
in b4xMaingPage
and
btAdmin.Initialize("BlueTeeth")
'mp20.Initialize("Printer")
cmp20.Initialize("Printer")
wait for (PermisoPrint) complete (Rt As Boolean)
StartPrinter
in B47xMaingPage B4xPage_Created
But it's curious, when the bluetooth of my device is activated or deactivated (not on the phone, but on the BARCODE READE device)
The event is executed again:
B4xPage_Created
in B4AxMainPage
I understand that this code should only be executed once, unless there is an error restart of the application. But I don't know