Need Help with CameraX video recording app

40 views
Skip to first unread message

Samriddha Bajpai

unread,
Feb 1, 2023, 1:18:04 AM2/1/23
to Android CameraX Discussion Group
My requirement is that i have to built a video recording app in which user will save his 30 seconds of video which will be sent to the another server. 

>> How can i store that 30 second recorded video in SQLite database as i cannot store it in gallery as it is confidential.

Any help in this topic is highly appreciated

Leo Huang

unread,
Feb 3, 2023, 3:59:57 AM2/3/23
to Android CameraX Discussion Group, samriddh...@gmail.com
Hi,
Saving videos to a database doesn't seem like a good idea since there are some constraints. See the discussion here.

Looks like you just don't want others to see or access your saved videos. So probably you can just save the video in the App-specific storage by FileOutputOptions.
  • App-specific storage: Store files that are meant for your app's use only, either in dedicated directories within an internal storage volume or different dedicated directories within external storage. Use the directories within internal storage to save sensitive information that other apps shouldn't access.
samriddh...@gmail.com 在 2023年2月1日 星期三下午2:18:04 [UTC+8] 的信中寫道:
Reply all
Reply to author
Forward
0 new messages