Hi,

I am creating an application where I have 2 Surface Views (1 each in
top and bottom half of the screen) along with a button. One of the
Surface will be displaying a camera preview.

The purpose of the action is to swap the preview between each frame.

The problem I am facing is only one SurfaceView's surfaceCreated()
callback is being called. So when I try to set the other SurfaceView
for the camera preview, I get error as it is still not yet created.

My question is when will a surface be actually created? And how can I
accomplish this UI without using Intents?

Regards,
iblues
--~--~---------~--~----~------------~-------~--~----~
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