AdbLibTest
AdbLibTest copied to clipboard
How to send CTRL+C for stream logcat
When starting logcat and then wanting to stop reading it, similar ctrl + c in the terminal
Have you tried writing the EXT control character to the stream? "\x03"?
@pauledwardtang thanks, is what I was looking for some time
private byte[] stopStream = {0x03};
stream.write(stopStream);
Thank you