Writing to external SDCard in Lollipop without OPEN_DOCUMENT_TREE

I read about how applications can ask the user to select a folder to write data with the new ACTION_OPEN_DOCUMENT_TREE intent in Lollipop. I understood it.

My question is: Is this the only way to get an external memory (SD-Card) write for the application by allowing the user to select the directory with the OPEN_DOCUMENT_TREE dialog or are there other ways with the new Lollipop?

I mean I would like to write directly to external storage without asking the user. Or can you just ask for permission to write to an external SD card? (Not all users are familiar with folders, etc.)

Any hints?

+3
uri android-5.0-lollipop android-sdcard


source to share


No one has answered this question yet

See similar questions:

58
Writing a file to an external drive in Android

or similar:

96
How to use the new SD card access API introduced for Android 5.0 (Lollipop)?
64
Universal way to record to external SD card on Android
23
How do I access all SD cards using the new Lollipop API?
eleven
Android - Internal storage and external storage when the app is installed on SD card
five
Android 4.4: is WRITE_EXTERNAL_STORAGE permission allowed for primary external storage / mnt / sdcard?
3
Android 4.4 Kitkat and second external storage
2
How to read SQLite database from external storage using Lollipop
1
How to create app directory (Android KITKAT 4.4+) in SECONDARY EXTERNAL STORAGE (ext-sdcard)?
1
Android 5: error when deleting file in SD card using DocumentFile
1
How do I create a new file on an Android Lollipop extra SD card?



All Articles
Loading...
X
Show
Funny
Dev
Pics