Lines Matching refs:Camera
1 page.title=Controlling the Camera
17 <li><a href="#TaskOpenCamera">Open the Camera Object</a></li>
18 <li><a href="#camera-preview">Create the Camera Preview</a></li>
19 <li><a href="#TaskSettings">Modify Camera Settings</a></li>
23 <li><a href="#TaskReleaseCamera">Stop the Preview and Release the Camera</a></li>
29 a Camera App</a></li>
42 <h2 id="TaskOpenCamera">Open the Camera Object</h2>
44 <p>Getting an instance of the {@link android.hardware.Camera} object is the first step in the
45 process of directly controlling the camera. As Android's own Camera application does, the
46 recommended way to access the camera is to open {@link android.hardware.Camera} on a separate thread
53 <p>Calling {@link android.hardware.Camera#open Camera.open()} throws an
63 mCamera = Camera.open(id);
66 Log.e(getString(R.string.app_name), "failed to open Camera");
83 legacy API and call {@link android.hardware.Camera#open open()} without an
87 <h2 id="camera-preview">Create the Camera Preview</h2>
122 <p>The preview class must be passed to the {@link android.hardware.Camera} object before the live
131 android.hardware.Camera#startPreview Camera.startPreview()} is called by the
137 public void setCamera(Camera camera) {
163 <h2 id="TaskSettings">Modify Camera Settings</h2>
165 <p>Camera settings change the way that the camera takes pictures, from the zoom
167 see the source code of the Camera application for many more.</p>
173 Camera.Parameters parameters = mCamera.getParameters();
190 android.hardware.Camera#setDisplayOrientation setCameraDisplayOrientation()} method lets you change
197 <p>Use the {@link android.hardware.Camera#takePicture Camera.takePicture()}
199 android.hardware.Camera.PictureCallback} and {@link
200 android.hardware.Camera.ShutterCallback} objects and pass them into {@link
201 android.hardware.Camera#takePicture Camera.takePicture()}.</p>
204 android.hardware.Camera.PreviewCallback} that implements {@link
205 android.hardware.Camera.PreviewCallback#onPreviewFrame onPreviewFrame()}. For
207 delayed action to call {@link android.hardware.Camera#takePicture
235 <h2 id="TaskReleaseCamera">Stop the Preview and Release the Camera</h2>
238 particular, you must release the {@link android.hardware.Camera} object, or you risk crashing other