|
@ -104,8 +104,8 @@ public class MobileCamera extends Plugin {
|
104
|
104
|
public void getPhoto(JSONArray param) throws Exception {
|
105
|
105
|
this.func = Function.getPhoto;
|
106
|
106
|
int type = param.getInt(0);
|
107
|
|
minFileSize = param.optInt(1);
|
108
|
|
minWidth = param.optInt(2);
|
|
107
|
minFileSize = param.optInt(1, 400 * 1024);
|
|
108
|
minWidth = param.optInt(2, 400 * 1024);
|
109
|
109
|
|
110
|
110
|
String appName = IpuAppInfo.getAppPath();
|
111
|
111
|
String photoName = appName + "-" + format.format(new Date()) + ".jpg";// 生成照片名称
|