camera preview via adroid application

view story

http://stackoverflow.com – In order to preview the camera, I have wrote the below code segments. But, still I could not get any preview. Can you help me to solve the problem ? ( I have not seen yet ) I have configured my application with the permission ; <uses-permission android:name="android.permission.CAMERA" /> <uses-feature android:name="android.hardware.camera" /> I have created the surface place <SurfaceView android:id="@+id/cameraView" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_alignParentLeft="true" android:layout_alignPar (HowTos)