System directories
| Method | Result |
|---|---|
| Environment.getDataDirectory() | /data |
| Environment.getDownloadCacheDirectory() | /cache |
| Environment.getRootDirectory() | /system |
External storage directories
| <?php | |
| // ------------------------------------------------------------------------------------- | |
| // Add your JSON in the $input to generate Swagger-PHP annotation | |
| // Inspired by: https://github.com/Roger13/SwagDefGen | |
| // HOWTO: | |
| // php -S localhost:8888 -t . | |
| // http://localhost:8888/swagit.php | |
| // ------------------------------------------------------------------------------------- |
System directories
| Method | Result |
|---|---|
| Environment.getDataDirectory() | /data |
| Environment.getDownloadCacheDirectory() | /cache |
| Environment.getRootDirectory() | /system |
External storage directories