Hi:
I need to capture log through the USB device when I operate my phone。So I hope the app can still work in the background。I use this project :SimpleUsbTerminal , and found that When I successfully connected at the beginning, pressed the Home key and my phone displayed a notification,show that the app is still working. However, if the data is being receiving and the Home key is pressed, the notification will not appear, and re entering the APP interface will show the UI of USB Devices, which means i have to re connect my device.
Can this be solved? when the app is in the background, can we continue to maintain port connection and revieve datas from my device (capture logs)?
Hi: I need to capture log through the USB device when I operate my phone。So I hope the app can still work in the background。I use this project :SimpleUsbTerminal , and found that When I successfully connected at the beginning, pressed the Home key and my phone displayed a notification,show that the app is still working. However, if the data is being receiving and the Home key is pressed, the notification will not appear, and re entering the APP interface will show the UI of USB Devices, which means i have to re connect my device.
Can this be solved? when the app is in the background, can we continue to maintain port connection and revieve datas from my device (capture logs)?