Send to file://url - what does it mean?
Moderators: Hacker, petermad, Stefan2, white
- ghisler(Author)
- Site Admin
- Posts: 50390
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: Send to file://url - what does it mean?
There are two ways to pass files to other apps:
1. As a reference to the local file system - this uses the file:// url, e.g. file:///storage/emulated/0/file.txt
2. As data provided by the sending app via a content provider. This uses the content:// URL, e.g. content://providername/path/file.txt
Some older apps only accept file URLs, some newer apps only content URLs, so I give the user the option to choose.
1. As a reference to the local file system - this uses the file:// url, e.g. file:///storage/emulated/0/file.txt
2. As data provided by the sending app via a content provider. This uses the content:// URL, e.g. content://providername/path/file.txt
Some older apps only accept file URLs, some newer apps only content URLs, so I give the user the option to choose.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com