Make a Gallery Intent of a Specific Folder

Posted by Tyler on Stack Overflow See other posts from Stack Overflow or by Tyler
Published on 2010-05-08T20:29:12Z Indexed on 2010/05/08 20:38 UTC
Read the original article Hit count: 324

Filed under:
|

Hello -

It's me again.. I am not trying to initiate a gallery intent, but I only want it to grab photos in a specific gallery.. From a different post, I received this code:

Intent intent = new Intent();  
intent.setType("file:///sdcard/Pictures/*");  
intent.setAction(Intent.ACTION_GET_CONTENT);  
startActivityForResult(intent,1);  

But it's not working.. Is this possible?

© Stack Overflow or respective owner

Related posts about android

Related posts about intent