… or “Howto remap long home button press to any Activity”
I wanted a quick way to scan QR Codes. com.abast.homebot can register as assistant app and can map a long home button press to any activity. It’s a Kotlin App and comes in at 2MB but the gained utility is great.
The excellent BinaryEye or lean (700kb) Barcode-Scanner offer a direct Activity for the camera capture.
In OS Settings, Search assistant had to be set for long-pressing the Home button. That should trigger Homebot and the user choice, but HomeBot keeps stopping on 0.19-q on LG G5 h850. Anybody can confirm else?
Binaryeye has another property for quickly scanning without Homebot: it includes the Scan code as Shortcut. Frankly I was unaware of Androids Quick Settings being User editable: