diff options
author | Pin Ting <pinting@google.com> | 2012-03-03 00:13:32 +0800 |
---|---|---|
committer | Pin Ting <pinting@google.com> | 2012-03-06 16:34:21 +0800 |
commit | 6f5b5ee3212c194cd20750af7adb90f938bc8fcd (patch) | |
tree | b3cb399c11ff1df868248c7a8b9e45df1099743a /docs/html/guide/topics/media | |
parent | e606cb460272cd99bac05b4477a5e489827b368b (diff) | |
download | frameworks_base-6f5b5ee3212c194cd20750af7adb90f938bc8fcd.zip frameworks_base-6f5b5ee3212c194cd20750af7adb90f938bc8fcd.tar.gz frameworks_base-6f5b5ee3212c194cd20750af7adb90f938bc8fcd.tar.bz2 |
Fix document.
Change-Id: I661b259c8438f9290d57fae29a828cf4495ce335
Diffstat (limited to 'docs/html/guide/topics/media')
-rw-r--r-- | docs/html/guide/topics/media/camera.jd | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/html/guide/topics/media/camera.jd b/docs/html/guide/topics/media/camera.jd index 4e928b3..d15668c 100644 --- a/docs/html/guide/topics/media/camera.jd +++ b/docs/html/guide/topics/media/camera.jd @@ -442,7 +442,7 @@ use or does not exist will cause your application to be shut down by the system. the first, back-facing camera on a device with more than one camera.</p> <h3 id="check-camera-features">Checking camera features</h3> -<p>Once you obtain access to a camera, you can get further information about its capabilties using +<p>Once you obtain access to a camera, you can get further information about its capabilities using the {@link android.hardware.Camera#getParameters() Camera.getParameters()} method and checking the returned {@link android.hardware.Camera.Parameters} object for supported capabilities. When using API Level 9 or higher, use the {@link android.hardware.Camera#getCameraInfo(int, @@ -677,8 +677,8 @@ button {@link android.view.View.OnClickListener}.</p> <pre> // Add a listener to the Capture button Button captureButton = (Button) findViewById(id.button_capture); - captureButton.setOnClickListener( - new View.OnClickListener() { +captureButton.setOnClickListener( + new View.OnClickListener() { @Override public void onClick(View v) { // get an image from the camera |