8
0
mirror of https://gitee.com/shuto/customCamera.git synced 2026-05-21 00:00:01 +08:00

Ajout des options JS pour :

+ Activer / desactiver le switch de camera.
 + Choisir une camera par défaut.
This commit is contained in:
Christophe BOUCAUT
2015-02-09 10:28:16 +01:00
parent 04286312f7
commit 91349dc4ed
3 changed files with 25 additions and 4 deletions
+3
View File
@@ -87,6 +87,9 @@ public class CameraLauncher extends CordovaPlugin {
intent.putExtra("defaultFlash", args.getInt(8));
intent.putExtra("switchFlash", args.getBoolean(9));
intent.putExtra("defaultCamera", args.getInt(10));
intent.putExtra("switchCamera", args.getBoolean(11));
cordova.startActivityForResult((CordovaPlugin) this, intent,
CameraLauncher.REQUEST_CODE);