Open xandro0777 opened 3 months ago
I was thinking about this, but just yesterday I got the idea of adding plugins instead (see my comment https://github.com/Myzel394/Alibi/issues/15#issuecomment-2002611208) - this would allow more granular control as the plugin can also react to audio events for example. What do you think about that?
I have never done that but imagine that exporting the activities so that Easer etc can call them would be many times easier than plugins? If so it looks like a good strategy to do the low hanging fruits first.
- export(save) to file(s)
- stop recording
- delete internal recordings
Unfortunately,. it's pretty hard / impossible to record in background due to Android's security. As far as I know you cannot start recording from the background due to privacy reasons. Maybe there's some exception for those automation apps though, I'll take a look.
However, the other activities are fairly easy to implement, I'll work on that! :)
I think those automation apps can invoke any activity, be it foreground or background?
Thinking about
Since all scripted solutions should be able to call several activities consecutively it might be best to keep those activities as simple as possible, eg not combining export and stop.
This should help people deal with a wide array of situations like start recording at boot or when leaving home or entering car and many more.