AndroidMic icon indicating copy to clipboard operation
AndroidMic copied to clipboard

Android app automation :)

Open drajabr opened this issue 10 months ago • 2 comments

If the Android app could have (auto connect) setting or sorta (or an activity launcher to connect directly with app open)

The app already running in the background to keep the service alive, could we have option to auto connect after the connection lost?

I currently use it in USB (ADB) mode, but I frequently pull out the tablet and use it standalone, that would be amazing if it could auto reconnect when I dock it again with the laptop.

drajabr avatar Mar 16 '25 13:03 drajabr

I had the same idea, and try to experiment a bit on this branch https://github.com/wiiznokes/AndroidMic/tree/auto-reconnect.

But it was very buggy, and made the code more complex, so i decided to not submit a pr. I think it was due to adb not recognized the device.

wiiznokes avatar Mar 16 '25 14:03 wiiznokes

I had the same idea, and try to experiment a bit on this branch https://github.com/wiiznokes/AndroidMic/tree/auto-reconnect.

But it was very buggy, and made the code more complex, so i decided to not submit a pr. I think it was due to adb not recognized the device.

Yeah, adb is quite stupid in that regards imo.

btw, I quite solved my problem "for now" using scrcpy, and windows 11 volume mixer which allowed me to set output device for scrpy separately " to the virtual audio loopback cable", with just something like this: scrcpy --no-video --no-window --audio-source=mic which btw support external mic. I'm on working on AutoHotKey script to "watch" whenever new device appears in adb devices list to execute for it.

Its a bit hacky solution, just until we get these issues in AndroidMic sorted out 🤞 Keep up the amazing work guys ❤

drajabr avatar Mar 16 '25 15:03 drajabr