[guardian-dev] Sharing encrypted content with other apps

Michael Rogers michael at briarproject.org
Wed Jan 29 11:08:03 EST 2014


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

On 29/01/14 00:03, Mark Murphy wrote:
> Create a ContentProvider that implements openFile(), using 
> ParcelFileDescriptor and createPipe() to stream your content from
> heap space, based upon your SQLCipher query. So long as the other
> party needs a forward-only stream (i.e., no rewinding), a
> content:// Uri pointing at your provider should work fine. Note
> that media playback, in particular, tends to want rewinding, as I
> think was discussed on this list last year.

Thanks Mark! This is exactly what I was looking for. I'd be interested
to hear if you make any progress on rewinding, as it were.

Cheers,
Michael

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iQEcBAEBCAAGBQJS6SdjAAoJEBEET9GfxSfMcc0IAI2dK/r+oWjHy96m9Tv1RT+U
INcZmyEM8Z7ZVLDhXX4Kh7R+kdK6a+KJXaGLCyITYpTyMJ0vNySZWs7yAeLdGsjK
ERVEKMU70i2wUNXh7cE2JaY1gAi8wqX2Sb/gqSdmhyO59yLrqXjOj9l9T5SgpHAk
81+WrbJWIFIq5gFJXhxlDv0M+xbRyySlNNY5DryEht367sdx81UcRXFBYV9M5jEP
DMUI9m4NJaDwEzkLRHyViDBHeL+Jez6jaGQkV4elHZziKexnfB0HL2FPNmpK7ByY
k2/vcUhNzzZWaHYPZbsbHw8PHSxuvse4nQdH1xYFcEjlEVjajPrWlUSM0mShG5Q=
=V0DG
-----END PGP SIGNATURE-----


More information about the Guardian-dev mailing list