not able to draw image on canvas of surface view in Android
Posted
by
Fayaz Ali
on Stack Overflow
See other posts from Stack Overflow
or by Fayaz Ali
Published on 2013-11-01T17:49:02Z
Indexed on
2013/11/04
9:54 UTC
Read the original article
Hit count: 198
I am drawing an image using drawbitmap method on a canvas of surface view which is an overlay surface on my camera preview.The image drawn is a portion of captured image to guide the user to capture next image with a proper overlap.Now when I am launching the activity as the application start activity i.e it is my first activity,it works fine and draws the image.But when I launch the same activity from some other activity,the surface view is not show anything. Is there any difference between launching an activity from another activity and from the application launch.
Anyone help here please!
© Stack Overflow or respective owner