简体   繁体   English

android加载图片来自picasa相册或来自Google+照片的gallary为空

[英]android Load Image From gallary from a picasa album or from the Google+ Photos getting null

I want to load image from gallary into code android.When i select an image from a picassa album or google+ photo, it retuns null. 我想将图片从gallary加载到代码android.当我从picassa相册或google + photo中选择一个图像时,它返回null。 I tried to get data by uri.getPath(), and it returns "/picasa/item/5667820546730991250 "; 我试图通过uri.getPath()获取数据,然后返回“/ picasa / item / 5667820546730991250”;

How to get the image? 如何获得图像?

The images in picasa album is cloud . picasa相册中的图片是 you cant get the image uri from it. 你不能从它获得图像uri。 The path could only be got from the images in the device 路径只能从设备中的图像中获取

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM