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:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user