Reading Files from Internal Storage

1. This path is an → absolute path:

/storage/emulated/0/Android/data/packageName/files/

2. and this path is a → relative path:

/Android/data/packageName/files

Some components need a relative and others an absolute path.

3. And on top of that, some components or Android versions require a → full path:

file:///storage/emulated/0/Android/data/packageName/files/

I would recommend these 3 terms to distinguish the paths:

  • relative path (e.g.): /Download
  • absolute path: /storage/emulated/0/Download
  • full path: file:///storage/emulated/0/Download
3 Likes