how to display images of particular folder

by rakesh » Thu, 16 Dec 2010 12:55:51 GMT


Sponsored Links
 hi all,

i want to pick image from a folder on sdcard for that i want to
display images of that folder only how can i achieve that , i am
using

               Intent i = new Intent(Intent.ACTION_PICK,
 
android.provider.MediaStore.Images.Media.EXTERNAL_CONTENT_URI);
                intent.putExtra( MediaStore.EXTRA_MEDIA_ALBUM,
outputFileUri );
                intent.setType("image/*");
                startActivityForResult(i, SELECT_PICTURE);

but this shows all folders on sd card..,

awaiting for reply
thanks in advance

-- 



Other Threads

1. How to create a DBAdapter object in class extends BaseExpandableListAdapter?

Hello there, I want to populate ExpandableListView from database. But
I can't create the DBAdapter object in class extends
BaseExpandableListAdapter, because I don't know what context must be
passed to DBAdapter constructor. I use DBAdapter db = new
DBAdapter(AutoContacts.this); but it doesn't work (AutoContacts is
main class extends Activity).
And here is DBAdapter constructor:
public DBAdapter(Context ctx) {
        this.context = ctx;
        DBHelper = new DatabaseHelper(context);
}

-- 

2. android sdk emulator question: how can I replace framework-res.apk?

I made some changes to the framework-res.apk.  However, I don't know
if it is possible to push it to the emulator without having to rebuild
the entire system image.  Can someone help me here?

Thanks!
Jeff

-- 

3. Android User Build.

4. How to do JUnit Testing for Android Phone.

5. Has anyone get App Inventor accounts?

6. Accessing attributes of child views

7. Regarding Intents