java - Android 魅族系统相册适配
伊谢尔伦
伊谢尔伦 2017-04-17 17:37:03
0
2
325

在调用系统相册是的时候,在其他型号的时候上,可以完美运行,在魅族上可以进入相册,在点击完成后,就会出现等待不回传问题,现象表现为,一直回会出现一个圈再转,等待没有结果,求帮忙 部分代码如下

 Intent intent = new Intent(Intent.ACTION_GET_CONTENT, null);  
 intent.setType("image/*");  
 intent.putExtra("crop", "true");  
 intent.putExtra("aspectX", 1);  
 intent.putExtra("aspectY", 1);  
 intent.putExtra("outputX", 80);  
 intent.putExtra("outputY", 80);  
 intent.putExtra("return-data", true);  
 return intent;  
伊谢尔伦
伊谢尔伦

小伙看你根骨奇佳,潜力无限,来学PHP伐。

reply all(2)
洪涛

Intent galleryIntent = new Intent(Intent.ACTION_PICK,android.provider.MediaStore.Images.Media.EXTERNAL_CONTENT_URI);
Try to use this Aciton to see

迷茫

Do you want to call the system’s cropping tool?

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template