cameraCapturePicture
Data de postagem: 06/06/2012 23:31:55
cameraCapturePicture(
String targetPath,
Boolean useAutoFocus[optional, default true])
Take a picture and save it to the specified path.
Returns:
A map of Booleans autoFocus and takePicture where True indicates success.
Exemplo
<? require_once("Android.php"); try { $droid = new Android(); $droid->cameraCapturePicture("/sdcard/DCIM/ScriptPic.jpg"); } catch(Exception $e) { $droid->vibrate(); $droid->notify('Exception',$e->getMessage()); die("script exited with an exception"); } ?>