|
|
@ -436,7 +436,7 @@ public class MicroPhotoService extends Service {
|
|
|
|
File rawFile = new File(path);
|
|
|
|
File rawFile = new File(path);
|
|
|
|
|
|
|
|
|
|
|
|
String pathsStr = String.join("\t", paths);
|
|
|
|
String pathsStr = String.join("\t", paths);
|
|
|
|
mService.burstCaptureFinished(mService.mNativeHandle, result, numberOfCaptures, pathsStr, videoId);
|
|
|
|
mService.burstCaptureFinished(mService.mNativeHandle, result, numberOfCaptures, pathsStr, frontCamera, orientation, videoId);
|
|
|
|
for (String p : paths) {
|
|
|
|
for (String p : paths) {
|
|
|
|
try {
|
|
|
|
try {
|
|
|
|
File f = new File(p);
|
|
|
|
File f = new File(p);
|
|
|
@ -1324,7 +1324,7 @@ cellSignalStrengthGsm.getDbm();
|
|
|
|
protected native boolean uninit(long handler);
|
|
|
|
protected native boolean uninit(long handler);
|
|
|
|
protected native void recordingFinished(long handler, boolean photoOrVideo, boolean result, String path, long videoId);
|
|
|
|
protected native void recordingFinished(long handler, boolean photoOrVideo, boolean result, String path, long videoId);
|
|
|
|
protected native void captureFinished(long handler, boolean photoOrVideo, boolean result, Bitmap bm, long videoId);
|
|
|
|
protected native void captureFinished(long handler, boolean photoOrVideo, boolean result, Bitmap bm, long videoId);
|
|
|
|
protected native void burstCaptureFinished(long handler, boolean result, int numberOfCaptures, String pathsJoinedByTab, long photoId);
|
|
|
|
protected native void burstCaptureFinished(long handler, boolean result, int numberOfCaptures, String pathsJoinedByTab, boolean frontCamera, int rotation, long photoId);
|
|
|
|
public static native long takePhoto(int channel, int preset, boolean photoOrVideo, String configFilePath, String path);
|
|
|
|
public static native long takePhoto(int channel, int preset, boolean photoOrVideo, String configFilePath, String path);
|
|
|
|
public static native void releaseDeviceHandle(long deviceHandle);
|
|
|
|
public static native void releaseDeviceHandle(long deviceHandle);
|
|
|
|
public static native boolean sendExternalPhoto(long deviceHandle, String path);
|
|
|
|
public static native boolean sendExternalPhoto(long deviceHandle, String path);
|
|
|
|