android surfaceview is no longer visible after back from other activity

Posted by user308748 on Stack Overflow See other posts from Stack Overflow or by user308748
Published on 2010-04-04T15:17:49Z Indexed on 2010/04/04 15:23 UTC
Read the original article Hit count: 558

Filed under:
|
|

i have a question in developing some android program...

i use surfaceview for camera preview. it works fine, but has one problem when i start other activity (by clicking something) and then back from that activity. after that, surfaceview is no longer visible. (but onclicklistener is working)

but when i occur surfacecreated/destoryed by visible/invisible surfaceview in single activity, it works very good.

plz give me any help.

© Stack Overflow or respective owner

Related posts about android

Related posts about surfaceview