Re: [android-developers] CameraSurfaceView and how surfaceCreated() gets called - Can someone please help me?

2009-11-19 Thread Mark Murphy
android-newbie wrote: > 1. How does surfaceCreated get called? From SDK, it is called > immediately after the surface is first created, but I still don't > know > who creates this surface? Android does, as part of setting up the SurfaceView after your onCreate() method returns. > 2. Why do we

[android-developers] CameraSurfaceView and how surfaceCreated() gets called - Can someone please help me?

2009-11-19 Thread android-newbie
I have some questions regarding code below for camera preview applicaiton. Can someone please help me out? 1. How does surfaceCreated get called? From SDK, it is called immediately after the surface is first created, but I still don't know who creates this surface? 2. Why do we need to set i