登 录
先从SDcard上获得图片路径chosenPicFile,再发送Intent:
Intent intent = new Intent(Intent.ACTION_VIEW); intent.setDataAndType(Uri.parse("file://"+chosenPicFile), "image/*"); // intent.setData(Uri.parse("file://"+chosenPicFile)); // intent.setType("image/*");
ps:分别setData和setType会失败。
抱歉!评论已关闭.