在Android开发中,可以轻松调用一个Intent完成从相册中截图的工作:
Intent intent = new Intent(Intent.ACTION_GET_CONTENT, null);intent.setType("image/*");intent.putExtra("crop", "true");
附加选项如下:
在Android开发中,可以轻松调用一个Intent完成从相册中截图的工作:
Intent intent = new Intent(Intent.ACTION_GET_CONTENT, null);intent.setType("image/*");intent.putExtra("crop", "true");
附加选项如下: