SimpleMobileTools / Simple-Camera

Quick photo and video camera with a flash, customizable aspect ratio.
https://www.simplemobiletools.com
GNU General Public License v3.0
764 stars 283 forks source link

Feature request: begin recording video when an intent is recieved #424

Closed sudomain closed 1 year ago

sudomain commented 1 year ago

Hello,

I'm looking for a camera app that can begin recording video when it receives an intent. My use case would be to begin recording via intent either remotely using Termux and SSH or on a schedule using Termux and cron. Termux has the activity manager tool, am, which is what I would use to send the intent.

tibbi commented 1 year ago

what intent is it? How to reproduce it?

sudomain commented 1 year ago

Sorry I think there's some misunderstanding. I am requesting a feature for your app: I want an API/Action to have the app open and begin recording video. Any app that can send broadcasts would be able to trigger this, though I would personally trigger it using the activity manager, am, tool from Termux. Maybe something similar to:

am broadcast -a com.simplemobiletools.camera.ACTION_BEGIN_RECORDING_VIDEO?

tibbi commented 1 year ago

right, we dont really plan adding such custom intents