[Q] ParcelFileDescriptor CreatePipe 64KB limit?

rtindru

Member
Jun 1, 2012
25
1
0
Bangalore
I have an app that uses the ContentProvider class.
In the openFile method, I need to be able to decode a file & return it.

The problem is If I use the createPipe method, I am able to write only 64KB into it.
After that I am unable to write data into the Pipe. Also note that I cannot read until the data is fully decoded & written into the pipe.
http://pastebin.com/h1VhMY26
Is there a size limit on these pipes? Is there a workaround?
Thanks & Regards
rtindru
 
Last edited: