> b) files: The ContentProvider's openFile() method returns a
> ParcelFileDescriptor, which can only be created from a Socket or a
> File.  I have neither, I have an InputStream.  So it seems there's no
> way to return the image and style data from a ContentProvider anyway.

i had *exactly* the same problem. and, yes, i used content provider
that returned  ParcelFileDescriptor based on local socket. another
thread (or service) was reading my data and served client's requests
by using ServerSocket. a bit complicated but no needs to unpack any
data in tmp locations.
--~--~---------~--~----~------------~-------~--~----~
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