[guardian-dev] Hi, i' new
Nathan of Guardian
nathan at guardianproject.info
Mon Nov 21 09:21:45 EST 2016
On Mon, Nov 21, 2016, at 05:30 AM, Mark Murphy wrote:
> On Mon, Nov 21, 2016, at 08:23, Nathan of Guardian wrote:
> > We could write the backup zip to the internal app storage, and then mark
> > it as world readable.
>
> I do not believe that is an option on Android 7.0+. MODE_WORLD_READABLE
> is no longer supported IIRC.
Ah, thanks for that. I suppose that makes sense, though I wonder if a
shell command of "chmod a+r foo.txt" would work. Obviously, not a long
term legit approach...
>
> > This path could then be shared via an intent to
> > the app of choice by the user
>
> Note that you could accomplish this using FileProvider and keeping the
> file read-only.
Yes, that is how we should do it.
--
Nathan of Guardian
nathan at guardianproject.info
More information about the guardian-dev
mailing list