Android Studio – How to add video to Media Store database?
I have saved a video in getExternalFilesDir(Environment.DIRECTORY_DOWNLOADS) path in the android private directory. I want to show the video file in the gallery. I have tried MediascannerConnection.scanFile but it did not work. Is there any altermative?