ViewRecorder
ViewRecorder copied to clipboard
Example app save file to wrong directory
in startrecord method, cache directory in ASD is created
https://github.com/z4hyoung/ViewRecorder/blob/0d87f061500a36327c56ca67051a335a81b6b970/app/src/main/java/com/z4hyoung/recorder/demo/ViewRecorderDemoActivity.java#L159
but the video is saved to /data/data
https://github.com/z4hyoung/ViewRecorder/blob/0d87f061500a36327c56ca67051a335a81b6b970/app/src/main/java/com/z4hyoung/recorder/demo/ViewRecorderDemoActivity.java#L177
makes it impossible to check the resulted video file
it should be changed to
mViewRecorder.setOutputFile(getExternalCacheDir() + "/" + System.currentTimeMillis() + ".mp4");