[guardian-dev] InputStreams across Services
abel at guardianproject.info
Wed Dec 4 13:36:05 EST 2013
We're collaborating with Dominik on an OpenPGP Crypto Provider API, which is a generic PGP
AIDL interface that a provider app will implement in a remote background service.
Our question is: how should we pass InputStreams across the service interface?
See the short example outlined here , and the "Open Questions" section below it.
Our main questions have to to with the "ParcelFileDescriptor". I assumed it was some sort
of magic Input/OuputStream wrapper for fds, byte, etc. But I don't think that's the case.
Also, importantly, I'm not sure we can pass ParcelFileDescriptor in a service method.
I saw your ContentProvider/Pipe example, but how would you use that across an AIDL Service?
Thanks for your time!
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 630 bytes
Desc: OpenPGP digital signature
More information about the Guardian-dev