The fromSocket() method of ParcelFileDescriptor seems like a potential
way to do a network image fetch from within the openFile() method of a
ContentProvider.  I got part way into this and found that although
from within the ContentProvider I observe that my Socket.getInputStream
() is not null, in the client of the ContentProvider getContentResolver
().openInputStream(my_uri) is null.

Am I going about this the wrong way by using a Socket?  I would much
rather use the higher-level HTTPConnection, but I can't figure out how
to turn that into a ParcelFileDescriptor.

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