实现画板退出自动显示在便签内

ChiYanZhen_branch
CYZ 2 years ago
parent d4c71a903e
commit 3f133c6e7d

@ -131,7 +131,7 @@ public class DrawActivity extends Activity {
out.flush();
out.close();
//保存绘图文件路径
paintPath = "/sdcard/notes/" + str;
paintPath = "/storage/sdcard/DCIM/Camera/" + str;
} catch (FileNotFoundException e) {

@ -258,7 +258,7 @@ public class NoteEditActivity extends Activity implements OnClickListener,
if (requestCode == 0 && resultCode == 1) {
//对数据进行处理
DrawPath = data.getStringExtra("path");
Log.i(TAG, "onActivityResult: 11111111111111111111111");
insertImg(DrawPath);
}
if (requestCode == 1) {//callGallery()方法是以请求码为1来开启活动的此处为响应活动结束
try {

Loading…
Cancel
Save