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. getApplicationContext returns null in test case (unless you sleep first)

I have a simple androidTestCase class that has this test:

@MediumTest
public void testFoo() {
          assertNotNull(this.mContext.getApplicationContext());
}

this fails unless I sleep first, then it passes. Whats the deal?


--~--~---------~--~----~------------~-------~--~----~

2. Update UK G1 not showing paid apps

I've been playing with a UK G1 which has received the 1.1 firmware 
update (TC9), but it would seem that it can't access paid for apps.

I'd appreciate someone else verifying this on another update UK G1, but 
when I switched the view to show paid apps only all the categories just 
have a message saying;

"No matching content in Android Market".

If someone could check this I'd appreciate it because at the moment I'm 
not sure if it is something wrong with the G1 I was using (signal 
strength, etc.), or does the UK TC9 update not bring paid-apps to UK users?

Al.

-- 

* Written an Android App? - List it at http://andappstore.com/ *

======
Funky Android Limited is registered in England & Wales with the 
company number  6741909. The registered head office is Kemp House, 
152-160 City Road, London,  EC1V 2NX, UK. 

The views expressed in this email are those of the author and not 
necessarily those of Funky Android Limited, it's associates, or it's 
subsidiaries.


--~--~---------~--~----~------------~-------~--~----~

3. Finance for Android - A Google Dev eloper鈥檚 Note

4. Spaces in strings.xml strings

5. How to create a view with a background that wraps up all the content of the view?

6. Where can I find a app for my gps test?

7. video viewing problem