Leonidius20 / RecordingStudio

Audio recorder app for Android
GNU General Public License v3.0
35 stars 2 forks source link

Feature request: Add a custom intents for record / pause / stop actions #5

Open pvagner opened 1 week ago

pvagner commented 1 week ago

Hello, Let me explain my use case in slightly more details with some background included. I am using my android devices with a screen reader. My aim is to be able to quickly start or stop the audio recording no matter which app is in the foreground. Handling button presses is not straight forward on android. Thus adding ability to assign custom button handlers or touch gestures to the recorder app would be an overkill I guess. However screen reading apps are running their AccessibilityService all the time, are able to handle input events including button presses and usually have means to manage custom gestures. Some 3rd party screen reading apps even allow adding custom intent actions mapped to their gestures. Thus the only thing that is missing in my ideal setup is free and open source audio recording app that can handle simple intents to perform record / pause / stop actions. If you think my screen reader user use case is not that attractive as there are very few screen reader users who may benefit from this, let me remind that there are other automation apps that might be able to take advantage of this e.g. keymapper comes to my mind even with no screen reader involved. Please consider this for the future.

Leonidius20 commented 1 week ago

thank you for the sugesstion. I will need a bit more time to research and implement this

pvagner commented 1 week ago

Huge thanks for your positive comment. It's great you haven't dismissed this as won't fix. It's great that we will have modern, simple and powerfull opensource audio recording app that leverages system's capabilities as much as possible. I am looking forward to the future development. Please take your time.

Greetings

Peter

pvagner commented 5 days ago

Hello, I have been reminded by one of my friends about possible enhancements to this feature request.

On most of the android devices there is a way to launch a camera app by pressing power button two times in a quick succession. On some brands such as samsung and on some 3rd party roms such as lineage os, there is a way to reconfigure this feature to launch a different app. And now here comes the magic. Only intents exported to launchers can be used with this feature. So essentially I'd propose multiple entry points to the app where two of them would act the same as record / pause button and the other one as Record / Stop button.

This way blind people can replace launching camera app with well designed recording app that will either start or pause recording signalling the action that has just happened with slight vibration pattern / haptic feetback.

And of course power users will be able to launch these shortcuts through their favorite automation apps if they desire.

I believe this is now well thought. Please let me know if you need to expand on some of the details.

Thanks again for listening

Greetings

Peter