Dash cameras are the most objective eyewitnesses on the road. The more drivers use dash cameras, the safer our trips and daily commutes are. Dash Cam Pro - Record Voyage Video was born with the idea of making dash camera accessible and available to anyone with a smartphone to make driving safer and responsible. It is a project by community for community.
There is a number of dash camera applications out there, but all of them take up entire screen that most drivers need for navigation, Uber or other applications that provide helpful on-screen information during the commute. The idea behind Dash Cam Pro - Record Voyage Video is to create a minimally-intrusive on-screen widget, that will leave the major part of the screen to any other application the driver chooses to use.
The way application works is the following:
1. User starts the app
2. Permissions are checked
3. Navigation app is started in background
4. Videos of specified length start creating in the background
This service continuously records video in pieces of specified length in the background, using the rear (primary) camera, and saves them in dedicated application directory. Once the directory size reaches specified quota, the videos get rotated (oldest one gets deleted to create space for a new one).
When a new recording starts, we save the current and previous recording filenames in the database. We need this so that when users select "Save recording" we will mark the videos as "starred", so that they are not deleted during rotation.