can't display video in VideoView until I restart the app on android 12

general discussion forum gives members an opportunity to discuss proposed policy ideas prior to submitting as a formal
Post Reply
admin
Site Admin
Posts: 50
Joined: Sun Aug 08, 2021 7:49 am

can't display video in VideoView until I restart the app on android 12

Post by admin »

i am making an app that records a video and then displays this video on another activity.

the problem is that this video cannot be played right away, I would have to record the video, and then restart the android app for it to show. otherwise, it shows me a message that says: "can't play this video".

Moreover, the thing that i really don't understand is that I tried it on an older phone of android version 11 and it works perfectly, but for some reason on the new phone it doesn't

I have made some research and I think it has something to do with the storage permissions but i am not sure since i tried fixing it with no luck.

what can I do to fix this?
Post Reply