Question about surfaceChanged and Camera

All your problems with Audio, Video and Images.

Question about surfaceChanged and Camera

Postby matth1as » Mon Oct 18, 2010 9:53 pm

Hi,

i have a question:

I have SurfaceView on top of my camera.

Here I have 3 callback-functions:

surfaceCreated, surfaceChanged and surfaceDestroyed.

My question is, why do I set the cameraParameters in surfaceChanged and not in the surfaceCreated ?!
What kind of advantage do I get by doing the hole initialisation in surfaceChanged and not in surfaceCreated ?!

Thanks
matth1as
Freshman
Freshman
 
Posts: 8
Joined: Mon Oct 11, 2010 7:45 pm

Top

Return to Multimedia Problems

Who is online

Users browsing this forum: Yahoo [Bot] and 12 guests