Hello everyone, I would like to acquire data from the USB serial port even in the background, with Wifi and Ble it works perfectly having put the comand
Service.AutomaticForegroundMode,, how can I do for the USB device?
Thanks
Marco
Service.AutomaticForegroundMode,, how can I do for the USB device?
Thanks
Marco
B4X:
Sub Service_Create
Service.AutomaticForegroundMode = Service.AUTOMATIC_FOREGROUND_ALWAYS 'we are handling it ourselves
lock.PartialLock
End Sub