Skip to content
Permalink
Fetching contributors…
Cannot retrieve contributors at this time
9 lines (5 sloc) 744 Bytes

write_extenal_storage

This service asks user for permissions to write Android "external storage".

"External storage" includes normal files, which can be accessed in Castle Game Engine and Pascal through the standard file API (like TFileStream from Classes unit or URLSaveStream from CastleDownload unit). In case of Castle Game Engine, files can be accessed using the URLs with file protocol (like file:///storage/emulated/0/my_file.txt) or an explicit Unix file path (like /storage/emulated/0/my_file.txt).

These are e.g. files in your internal memory and SD cards.

Note: Writing permission also implicitly includes reading permission. So if you use this service, you no longer need service "read_external_storage".

You can’t perform that action at this time.