I'm a bit lost here with your question. It sounds like any of the following 
possibilities:


   1. You want to display a picture from the SD card using the Gallery app 
   (or any installed image viewer)
   2. You want to implement a picture slideshow
   3. You want to overlay a picture on top of a camera preview surface (the 
   camera video "live stream" so to say)

For solving 1:

> Intent intent = new Intent(Intent.ACTION_VIEW);
> intent.setDataAndType(Uri.fromFile(thePictureFile), "image/jpeg");  
> startActivity(intent);
>
 
For solving 2:

You could use the Gallery widget and provide it with a SpinnerAdapter that 
creates ImageViews.

For solving 3:

Create a full screen activity with a SurfaceView which will be the "canvas" 
for the camera preview. Put another view that displays your picture(s) on 
top of that. If you're playing with the Camera component for the first 
time, you should read the 
documentation<http://developer.android.com/reference/android/hardware/Camera.html>.
 
The first time I was playing around with it I made a tiny mistake that 
crashed my device so hard that some data was corrupted and it wouldn't 
reboot properly anymore, so I had to do a factory reset.

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

Reply via email to