ViewRecorder icon indicating copy to clipboard operation
ViewRecorder copied to clipboard

Example app save file to wrong directory

Open I-hate-2FA opened this issue 1 year ago • 0 comments

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");

I-hate-2FA avatar Nov 02 '24 17:11 I-hate-2FA