App Inventor. Вариант работы с камерой

Некоторые особенности использования камеры в приложениях, разработанных в AppInventor.

При использовании стандартного объекта «Камера» в AI — просто открывается приложение Камера и процессом надо управлять обычным способом. Интересно получить доступ к управлению камерой непосредственно из разрабатываемого приложения! Например, включать/выключать запись видео по звонку или СМС.

К сожалению, в AI нет такой возможности! Требуется привлечение сторонних программ/расширений. В интернете нашел диалог на эту тему и нестандартное решение одного из программистов. Привожу фрагмент чата.

… to record a video.

I used the native component camcorder, but there is an unwanted event:“camcorder1.RecordVideo”, simply call the systemapp of my device. This is not what i need. I’d like that the app start to record a video by itself, without showing me the videoapp record.
The idea is: if a checkbox is checked, when Button_start.click, record a video. Wher Button_stop.click, stop recording and save it to google drive. In the middle, i need to see my app screen, let me to tap the buttons described before.

Looking for a solution, i found this link: https://puravidaapps.com/camera.php 22, but it seems to be dedicated to taking pictures and not to recording a video.

Общий ответ:
штатными средствами — никак.
Варианты решения:
——————
1. платный

you might be interested in the MediaCamera Extension by Atom_Developer (12.50 USD) to record video in Custom Layout taken from the extensions directory https://puravidaapps.com/extensions.php
———————-
2. бесплатный, но с установкой стороннего приложения Quick Video Recorder

I found a solution, but you need something more then MITAppInventor.

I use the app QuickVideoRecorder (you can download it from your store, I use android as OS) and the «Activity Starter» element from MittAppInventor.

Just install the app, then you have to set the Starter. For my needs, when i push a button on the screen, the Starter call the application and i start to record my video. Videos are saved in a folder (you can choose the saving path in the QuickVideoRecoder settings).

Here you can see my setup, but you can find some guides on youtube to how to set the activity starter.
———————-

Ссылка на Quick Video Recorder (там много версий)
https://background-video-recorder.ru.uptodown.com/android/versions

=======================
Отдельно — про создание фото: https://puravidaapps.com/camera.php
работает даже на старых ОС


Первоисточник: https://community.appinventor.mit.edu/t/recording-video-without-calling-the-system-app/1600