0

I tried to open a gallery of images taken with google glass but can't seem to figure ut how to do it. I want to make an application which can open a gallery and do something with my chosen picture. How can I take an access to a gallery?

Kenster
  • 23,465
  • 21
  • 80
  • 106
Miss_sunshine
  • 107
  • 2
  • 12

1 Answers1

0
File mediaStorageDir = new File(Environment.getExternalStoragePublicDirectory(
                     Environment.DIRECTORY_PICTURES), "MyCameraApp"); 

This line of code helps you in accessing the gallery where images are stored for applications to share.

G3M
  • 1,023
  • 8
  • 19