I am making an Android application, which is something like a black box for cars, which records the process of moving a car.
But now I am faced with the problem of how I am going to integrate an accelerometer capable of detecting slight movement (possibly> 1Gs) when an accident occurs, this can stop the video recording and save it until the archive file, thus without losing the file as a result accident. Does anyone know how to accomplish the above task to track any form of vibration?
I'm new to android / java, can anyone help me out? Thanks in advance...
This is part of the video section, but now, how am I going to turn on the accelerometer for Auto Archive purposes?
source
share