Here is the files tree of my phone:
I've learnt that storage on Android OS is usually broken down into:
I'm looking at the files tree and trying to figure out which is which :). I know that applications by default are installed into /data/data
folder, so I assume that /data/
folder counts as internal storage. There is also /storage
folder which contains sdcard0
and sdcard1
. I've got only one sdcard on my phone - sdcard1
. So maybe sdcard0
is phone storage? Could it be that everything, which is outside /storage
is considered internal storage?
I've learnt that storage on Android OS is usually broken down into:
From the Android SDK's standpoint, those are internal storage, external storage, and removable storage, respectively.
I know that applications by default are installed into /data/data folder, so I assume that /data/ folder counts as internal storage.
Your app's portion of internal storage will be on the /data/
partition. Exactly where depends upon the account that is running your app (Android 4.2+ supports multiple accounts per device). The primary device account will have your app's portion of internal storage be at /data/data/your.application.id.here/
.
There is also /storage folder which contains sdcard0 and sdcard1. I've got only one sdcard on my phone - sdcard1. So maybe sdcard0 is phone storage?
By and large, that is up to the device manufacturer. Plus, each account gets its own location for external storage. And, to top it off, the answer varies depending on what you are using to examine the storage itself.
In DDMS' File Explorer, external storage for the primary device account will be at /mnt/shell/emulated/0/
.