It is not working at my end. I tried to upload the file and also referred the block diagrams given in the discussion. I am getting Write error still. And APK was downloaded. It is not storing the mp4 file. I can see only logFile and it updates time to time.
Please look into the problem. I assume, it is with clock.Timer, it has logeader and then write external storage permission. Same way, the mp4 should have something simliar in clock.timer?
The issue is probably because of: Activity appinventor.ai_liveautomationexperts.ScreenRecorder.Screen1 has leaked ServiceConnection com.sunny.ScreenRecorder.ScreenRecorder$1@b835f57 that was originally bound here 08-22 05:05:16.633 26832 26832 E ActivityThread: android.app.ServiceConnectionLeaked: Activity appinventor.ai_liveautomationexperts.ScreenRecorder.Screen1 has leaked ServiceConnection com.sunny.ScreenRecorder.ScreenRecorder$1@b835f57 that was originally bound here