Hi,

I have a folder on sd-card in which I keep photos edited in my
application. Im trying to force deafult android image viewer to see
all pictured in that folder. Unfortunately I am able to see only one
picture. The "next" and "previous" arrows are disabled.

The code i use to see only one picture:

Uri target = Uri.fromFile(new File
(Environment.getExternalStorageDirectory() + "/head/head.jpg"));
Intent intent = new Intent(Intent.ACTION_VIEW, target);
intent.putExtra(Intent.EXTRA_STREAM,target);
intent.setDataAndType(target, "image/jpeg");
startActivity(intent);

how to activate the browsing option? how to call the intent so that
every picture in that folder would be visible?

regards
Lukas Mosdorf

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to