Alibi icon indicating copy to clipboard operation
Alibi copied to clipboard

[Feature Request] record when only when phone is charging

Open notkudu opened this issue 1 year ago • 2 comments

hey, It will be nice if the app start recording when they phone is pugged in and pause when it's unpluged (cuz I leave the phone in the car and the phone only charge when the car is on, so this will help save battery)

and also an auto save, instead of having to manully save :)

notkudu avatar Mar 02 '24 17:03 notkudu

This is related to #15.

However, many people have requested this feature now, I may should add some builtin light auto controls. I don't want to rebuild something like Tasker from scratch, but some basic controls could be helpful. I don't know if this is 100% possible because of Android's security. I think Alibi is not capable to start video recordings in the background, will need to look this up. (just me thinking out loud now)

and also an auto save, instead of having to manully save :)

This is actually the hard part. This is also why automatic controls are not so easy. If you use Alibi with default settings, recordings will be saved to the internal storage. When you want to save them, Alibi needs to know where to save the file, and also needs the appropriate permission. This is done by showing the file saver dialog. This way the user can decide where the recording will be saved and Alibi is automatically granted the permission to do so.

However, you can use a custom batches location. For example your DCIM folder or a custom one. This way, the batches are saved in those folders. We could add more auto-save features though when the user do not uses the internal storage...

Myzel394 avatar Mar 04 '24 17:03 Myzel394

There's an android app called automate that can take photos and video conditionally without user input. You just need a background process/service always running that the user invokes at least once after the phone's boot up in order to achieve it.

GeorgeBroughton avatar Jun 20 '24 12:06 GeorgeBroughton