kai-morich / SimpleUsbTerminal

Android terminal app for devices with a serial / UART interface connected with a USB-to-serial-converter
MIT License
529 stars 195 forks source link

Mobile app shutdown as soon as I remove the microusb #29

Closed jitenders859 closed 3 years ago

jitenders859 commented 3 years ago

I am using rs232 to usb and receiving data from it.

sometimes when receiving the data and I remove the cable the mobile shutdown. I am facing it both with your app and the app that I am trying to develop how can I solve it.

Thanks

kai-morich commented 3 years ago

when disconnected, the fragment is notified with onSerialIoError. it typically only terminates when there is an unhandled exception. Please check output in Logcat window in Android Studio