2012/7/17 String <[email protected]>

> On Tuesday, July 17, 2012 6:59:08 PM UTC+2, Dianne Hackborn wrote:
>>
>> You can put your data in your own content provider.
>
>
> I was doing that some time ago, but then I stopped because this imagery is
> already cached on SD, so I figured it was more direct to just pass through
> a file:// URI. I'll look into reverting it; thanks for the reminder.
>
>>
>>
Can't you use a content provider that implements openFile() and uses
ParcelFileDescriptor to return a reference to the same file(s) you have on
the external storage?

This, too, would avoid the unnecessary copying of bitmap data.

IIRC, content:// URIs are supported by ImageView since 2.2.

-- K

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to