Open Ninko85 opened 8 years ago
Do you have a root? If not then it is not possible due to android restriction. You need root and apply as root the SD card fix like this: http://forum.xda-developers.com/note-3-tmobile/themes-apps/lollipop-external-sd-card-write-fix-fob6-t3051562
Hi, Then maybe you should refer to the following:
"Richer access to secondary shared storage devices
In KitKat we introduced APIs that let apps read/write file in app-specific directories on secondary storage devices, such as SD cards.
We heard loud and clear that developers wanted richer access beyond these directories, so in Lollipop we added the new ACTION_OPEN_DOCUMENT_TREE intent. Apps can launch this intent to pick and return a directory from any supported DocumentProvider, including any of the shared storage supported by the device. Apps can then create, update, and delete files and directories anywhere under the picked tree without any additional user interaction. Just like the other document intents, apps can persist this access across reboots.
This gives apps broad, powerful access to manage files while still involving the user in the initial selection process. Users may choose to give your app access to a narrow directory like “My Vacation Photos,” or they could pick the top-level of an entire SD card; the choice is theirs."
Hi, I can't create a database where I want on my SD card. Is it not compatible with Lollipop? Thanks