I would like to introduce these three basic terms:
Absolute path │ relative path │ full path
1. This path is an → absolute path:
/storage/emulated/0/Android/data/packageName/files/2. This path is a → relative path:
/Android/data/packageName/filesSome 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 recommend these terms to distinguish the paths, for example:
- relative path:
/Download- absolute path:
/storage/emulated/0/Download- full path:
file:///storage/emulated/0/Download
I’ll add this also to my guide → Some basics on Android storage.