Hi, All

I'm now trying to implement my own content provider. My original data was
stored on network or local/remote file systems, so I want to provide data
via input stream. I know that client may call ContentResolver.getnputStream
to retrieve the input stream to access data. But I don't know how to
implement content provider in this situation, I searched the Internet but
all the tutorials for content provider are talks about how to expose data
that stored on local database.

Could anyone please help me on this or give me some code snippets to show
how to expose data that stored on file systems using a content provider?

Also could anyone please tell me what happened when client
call ContentResolver.getnputStream? I want to know how to return an input
stream to my client.

Thank you

Alex

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

Reply via email to