public class GGCamera
extends java.lang.Object
 <uses-permission android:name="android.permission.CAMERA" />
 <uses-feature android:name="android.hardware.camera" />
 <uses-feature android:name="android.hardware.camera.autofocus" />
 | Modifier and Type | Method and Description | 
|---|---|
android.hardware.Camera | 
getCamera()
Returns the camera reference. 
 | 
android.hardware.Camera.Parameters | 
getParameters()  | 
java.lang.String | 
getProperties()
Returns important camera properties as string information. 
 | 
static GGCamera | 
open(android.app.Activity activity)
Creates a GGCamera instance to access the hardware photo camera. 
 | 
void | 
release()
Releases camera resources for other applications. 
 | 
android.graphics.Bitmap | 
takeSnapshot()
Focuses the camera, takes a snapshot and returns the captured image. 
 | 
public static GGCamera open(android.app.Activity activity)
public android.graphics.Bitmap takeSnapshot()
public android.hardware.Camera getCamera()
public void release()
public android.hardware.Camera.Parameters getParameters()
public java.lang.String getProperties()