-1

how i can open a specific folder in gallery. ex :name of folder is my folder. when user click Button it directly open my folder inside default gallery. how can i do this?

Intent intent=new Intent(Intent.ACTION_VIEW);
Uri uri=Uri.fromFile(new File(Environment.getExternalStorageDirectory().toString()+"/video"));
intent.setType("video/mp4");
startActivityForResult(Intent.createChooser(openGallary, "Select Video"), 0);
Bug
  • 212
  • 2
  • 12

1 Answers1

0

This answer was given twice already. Please use Google first next time. The link that abbas.aniefa gave was my second hit on Google when searching "ACTION_VIEW specific gallery". The answer is also given here.

Community
  • 1
  • 1
MarchingHome
  • 1,184
  • 9
  • 15