9
0
mirror of https://gitee.com/shuto/customCamera.git synced 2026-05-02 00:07:24 +08:00

Correction sur le redimensionnement de l'image.

Mise en place d'une classe pour le transfert des images trop grosse entre activitée.
This commit is contained in:
Christophe BOUCAUT
2014-12-11 12:22:14 +01:00
parent 252a795274
commit aaca25e395
4 changed files with 36 additions and 27 deletions
+1 -6
View File
@@ -16,9 +16,7 @@ import java.io.InputStreamReader;
import java.io.IOException;
import android.content.Intent;
import android.os.Bundle;
import android.util.Base64;
import android.util.Log;
public class CameraLauncher extends CordovaPlugin {
@@ -49,10 +47,7 @@ public class CameraLauncher extends CordovaPlugin {
return false;
}
Bundle imgBackground = new Bundle();
imgBackground.putByteArray("imgBackgroundBase64", imgBackgroundBase64);
intent.putExtras(imgBackground);
TransferBigData.setImgBackgroundBase64(imgBackgroundBase64);
cordova.startActivityForResult((CordovaPlugin) this, intent, CameraLauncher.REQUEST_CODE);