有时我想 regrys声音从我的Android手机，非常快速，无需触摸屏幕。 （示例：在街道上录制有趣的情况，有趣的声音等）
Sometimes I would like to record sound from my Android phone, very quickly, without having to touch the screen. (Example: record funny situations in the street, funny sounds, etc. )
Can we launch sound recording "with hands in the pocket"? (i.e. without using the screen)
More generally, is it possible to launch an app with hands in the pocket, by pressing one of the buttons during 3 or 4 seconds for example?
The only hardware buttons that can be used by apps (to launch other apps or start a recording) are the xe2x80x9ccameraxe2x80x9d button on the device and the xe2x80x9cmediaxe2x80x9d button(s) on the headset. Youxe2x80x99ll need a sound recording app that support it, or use an automation app like Automate with its Media button and Audio record blocks.
Four years later I found a solution with MacroDroid!
I start recording and stop recording by just pressing 4 times on the Power button (with hands still in my pocket!)
Trigger: Power Button Toggle (4 times)
Local variable: rec
If rec = False Record Microphone (Until Cancelled) Vibrate (short buzz) Set Variable rec = True Else Record Microphone (Cancel Recording) Vibrate (long buzz) Set Variable rec = False End If