Android Anyone working on Marshmallow API 23 external storage permissions?
#1
Hi,

question from subject, anyone already working on that? As of now, Kodi can see external storage and can read from it (if Android is properly configured on fw level) but to be able to write it must meet API23 specifications and request user if he/she want to grant access to it.

I managed to issue permission request but for some reason it stays in background. I'm doing it in Splash activity.

Anyway, if someone working on it, let me know, two or cpl devs working separately on same thing Smile
Reply
#2
Hi Stane,

I started on it but didn't get that far currently.
Check the spmc github for stuff related to Document.

Fact is, we probably need to be sure how to attack the thing.
Not sure just getting permission, then proceed as usual is the way to go. I was rather envisioning having the Document interface as a vfs, but there are some bugging limitations...

[EDIT] Here is the main commit: https://github.com/koying/SPMC/commit/dc...9e73b1c4bb
Reply
#3
I'll see. I think going with permission should work (works eg on Total Commander). But that solution requires android support library for which I'm not sure Kodi team is fine with (prebuilt jar by Google)?
Reply

Logout Mark Read Team Forum Stats Members Help
Anyone working on Marshmallow API 23 external storage permissions?0