0
My application records videos in Pictures/Mycamera folder. There is some way to open, the default Android gallery, only in this folder?
I used this code and it didn’t work.
Intent intent = new Intent(Intent.ACTION_GET_CONTENT);
Uri uri = Uri.parse(Environment.getExternalStorageDirectory().getPath()
+ "/Pictures/MyCameraApp/");
intent.setDataAndType(uri, "mp4/*");
startActivity(intent);
Hello @Tiago-Amaral, all right? I want to access the folder where my app records, the videos made by the camera. Which is in Pictures/Myappcamera. In case I wanted to open an Internet, so the user could select the video understood? When I put the "/", it shows all videos, from the other folder. What I want it to show only from my specific folder.
Good afternoon, it didn’t work =/. My app records video in a folder called Pictures/Mycameraapp, and if I put, Intent.setDataAndType(Uri, "/"). It appears the videos, but of all app. I would like to appear only from my app, there is possibility to do this?
– Rayanne
@Rayanne your question was not clear, and where would the use of the internet be? Did it imply that you want to access via internet the videos saved in a folder of your app? Or the default Android folder for videos? If you can rephrase your question and exclaim it is better to guide.
– Tiago Amaral