Android Question let user save a download video & let me Open specified folder

invocker

Active Member
I use Intent it work on emulator but not on real device

B4X:
Dim i As Intent 

        i.Initialize(i.ACTION_VIEW, "file://" &  File.DirRootExternal&"/myFolder/" )

        i.SetType( "resource/folder" )

        StartActivity(i)

I check this lib But link is died
PublicFile _Periklis Koutsogiannis
 

DonManfred

Expert
Licensed User
Longtime User
file://-Uris are not allowed anylonger on higher Android.
You´ll not have access to the folder File.DirRootExternal on Higher androids too.

Do you plan to upload the app to playstore? If so then you have to use targetsdk 30 and also you have to match the requirements.

Check especially Runtimepermissions, FileProvider


Check Contentresolver to get any file the user have to select.
 
Upvote 0

invocker

Active Member
Thank's mr DonManfred for replay I download video and save it with no problem Just I need To Open The specefic folder that contain a video

 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…