Skip to content

Instantly share code, notes, and snippets.

@granoeste
granoeste / EachDirectoryPath.md
Last active May 31, 2024 10:47
[Android] How to get the each directory path.

System directories

Method Result
Environment.getDataDirectory() /data
Environment.getDownloadCacheDirectory() /cache
Environment.getRootDirectory() /system

External storage directories