Data directories are private to their respective applications, and Home and your application are two separate apps. The widget preference activity can display the image since it belongs to the same application.
As for workaround - not sure, but perhaps you could make it work with a ContentProvider. -- Kostya Vasilyev -- http://kmansoft.wordpress.com 19.08.2010 0:58 пользователь "Adam Becker" <ajbec...@gmail.com> написал: I'm having almost the exact same problem - I've tried external and internal - it works fine on some phones, but I get the "resolveUri failed on bad bitmap" on other phones. Does anyone have any suggestions on this? Christian, have you found a solution yet? Thanks, Adam On Aug 3, 1:20 am, Christian <christian.wuerschin...@googlemail.com> wrote: > Hello everybody, > > I'm programming an appwidget that downloads an image from a website > and dis... > picture on the ! internal ! (not external / not sd-card) memory. TheresolveUri failed on bad bitmap > download works fine and in my preferences activity of the appwidget > the downloaded image gets di... > The error occurs is: INFO/System.out(151):resolveUri failed on badbitmapuri: /data/data/com.mywidget/files/temp.jpg > > But the preference activity can display the image with exactly this > URI! > > So where is the p... -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en