Hi,
I'm writing a ContentProvider that will provide content that is not
stored in a file or database.

I understand hat I have to overwrite openAssetFile() method.

My problem is that I don't know how to create AssetFileDescriptor from
data in memory (byte array or stream).

Can anybody please point me to the right direction?

I was digging in Android source where they use MemoryFile but I can't
obtain ParcelFileDescriptor from MemoryFile :(.

Any help greatly appreciated.

Thanks.
-- 
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