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 [email protected] _______________________________________________ List info: https://lists.mayfirst.org/mailman/listinfo/guardian-dev To unsubscribe, email: [email protected]
