Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How can I use this library to read data from serial device in background when the terminalfragment is onPause? #496

Open
uniqueram opened this issue May 15, 2023 · 7 comments

Comments

@uniqueram
Copy link

I have made a custom keyboard which is a service and I need to read obtained data via keyboard using this library I could only get data to the keyboard when the terminalfragment is open and read data on UI but I need data when the terminalfragment is onPause.

@kai-morich
Copy link
Collaborator

you need a background service as used here

@uniqueram
Copy link
Author

does this application not working in android version 13+?

@kai-morich
Copy link
Collaborator

did you try the background service?
did do you observe a specific issue on android 13+?

@uniqueram
Copy link
Author

yes, I did and worked on Android 11 but when I try on Android 13+ when data arrive from the serial device application crashes.

@kai-morich
Copy link
Collaborator

kai-morich commented Jul 3, 2023

what kind of crash do you get? same as issue #494?

@uniqueram
Copy link
Author

I don't think the issue is like #494 I have tried that solution everything is working only when Data arrives from the serial device it gets crashed.

@kai-morich
Copy link
Collaborator

what kind of crash do you get?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants