0

并感谢您的帮助。

我在我的模拟器上推送了一些 Jpg,我从 Media Provider 工具运行 SDCard Scan,所以推送的图片在图库中正确显示。

我有一个查询“MediaStore.Images.Thumbnails”的活动

光标正常工作,并找到缩略图的路径。

但是当我运行应用程序时,Logcat 向我显示他实际上无法打开路径中的文件:

02-14 13:45:08.015: E/BitmapFactory(931): Unable to decode stream:    java.io.FileNotFoundException: /mnt/sdcard/DCIM/.thumbnails/1360429937982.jpg: open failed:    ENOENT (No such file or directory)
02-14 13:45:08.046: E/BitmapFactory(931): Unable to decode stream: java.io.FileNotFoundException: /mnt/sdcard/DCIM/.thumbnails/1360503332805.jpg: open failed: ENOENT (No such file or directory)
02-14 13:45:08.076: E/BitmapFactory(931): Unable to decode stream: java.io.FileNotFoundException: /mnt/sdcard/DCIM/.thumbnails/1360525871295.jpg: open failed:   ENOENT (No such file or directory)
02-14 13:45:08.095: E/BitmapFactory(931): Unable to decode stream: java.io.FileNotFoundException: /mnt/sdcard/DCIM/.thumbnails/1360525870839.jpg: open failed: ENOENT (No such file or directory)
02-14 13:45:08.135: E/BitmapFactory(931): Unable to decode stream: java.io.FileNotFoundException: /mnt/sdcard/DCIM/.thumbnails/1360525870385.jpg: open failed: ENOENT (No such file or directory)

非常感谢您的帮助非常感谢

4

1 回答 1

0

好的,问题解决了,当我重新启动模拟器时,我要求“擦除用户数据”;而不是再次从媒体提供程序工具运行 DCard Scan,目前一切正常。

不管怎么说,还是要谢谢你!!!

于 2013-02-14T14:32:49.423 回答