On 2/23/2020 8:36 PM, Arlen Holder wrote:
>> How is the default "open with" or "open as" file type set in Android 9?
Android appears similar to Windows in that it uses file extension to
determine filetype, unlike Linux-like OSes that use a signature or
MIME-type.
To verify this, use a file manager to rename a file to a different
extension. If the extension you use is unknown (ex: .tmp or make up one
of your own), you will be prompted to search for an appropriate app.
AFAIK, apps declare which filetypes they handle in the manifest and that
info is added to your launcher's database when the app is installed.
Depending on the launcher, the first app installed may become the
default for the filetype, or the launcher will not set any default and
will prompt you each time you try to open the filetype ("once" or
"default").
You can clear a program that is set as a default for a filetype (or an
action) through the Settings applet; there is a "Set as default" section
near the bottom of each application.
There are also utilities that will allow you to manipulate the defaults
outside of Settings. The one that I have installed is called "Default
App Manager", which was sufficient for the purpose that I needed, but
there are probably better ones out there.
Regards,
-David