Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

How is the default "open with" or "open as" file type set in Android 9?

211 views
Skip to first unread message

Arlen Holder

unread,
Feb 23, 2020, 11:04:07 PM2/23/20
to
How can I set Android Pie to "Open as..." or "Open with..." any given file
name extension (e.g., test.tc) with a given application (e.g., EDS Lite)?

*How is the default "open with" file type set for *tc files in Android 9?*

For example, I have TrueCrypt files created & maintained on Windows which I
wish to "Open with..." EDS Lite when "test.tc" is copied to Android.
o <https://f-droid.org/en/packages/com.sovworks.edslite/>
o <https://play.google.com/store/apps/details?id=com.sovworks.edslite>
o <https://sovworks.com/eds/>

Currently, when I tap on the "test.tc" file in the Android file explorers,
the available choices do _not_ include "EDS Lite".

All I want is to set the "Open with" or "Open as" in Android for *.tc files
to open with (or open as) "EDS Lite" files, by default, even though EDS
Lite doesn't show up as a choice when I currently tap on "test.tc" files.

How is the default "open with" or "open as" file type set in Android 9?

Arlen Holder

unread,
Feb 23, 2020, 11:36:54 PM2/23/20
to
On Mon, 24 Feb 2020 04:04:07 -0000 (UTC), Arlen Holder wrote:

> How is the default "open with" or "open as" file type set in Android 9?

I'm not sure, but it seems a formal "mime type" is what Android may use:
<https://www.freeformatter.com/mime-types-list.html>

I couldn't find any mime-type reporting programs on F-Droid:
<https://search.f-droid.org/?q=mime+type>

We could create our own mime-type reporting tool if we really wanted to:
<https://www.edumobile.org/android/get-file-extension-and-mime-type-in-android-development/>

But I found two existing mime-type reporting programs on Google Play:
o Ampare MIME Type Checker, by Ampare Engine [no ads, GSF independent]
<https://play.google.com/store/apps/details?id=com.juthawong.android.mimechecker>
o aA MIME type detection, by VISION CRAFT [contains ads, GSF dependent]
<https://play.google.com/store/apps/details?id=jp.visioncraft.filelist>

While the "aA" mime detector was obnoxious, so I instantly deleted it,
neither one reported _anything_ set as the mime type for *.tc files.

So the question remains, for an unrooted Android Pie device, how do we set
any given file (e.g., "test.tc") to open in any desired app (such as "EDS
Lite") in any given file explorer application (e.g., "File Manager") when
we simply tap on the file in Android 9?

David Oseas

unread,
Feb 24, 2020, 12:37:51 PM2/24/20
to
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

Arlen Holder

unread,
Feb 24, 2020, 8:07:01 PM2/24/20
to
David wrote:
<https://groups.google.com/d/msg/comp.mobile.android/r_DHiVD_KcY/bwzspf9vCgAJ>

>> How is the default "open with" or "open as" file type set in Android 9?

Thanks David for that pointer to a "Default App Manager" to set default
file associations on Android.

There seems to be multiple applications of that name:
o Default App Manager, by Tintage
<https://play.google.com/store/apps/details?id=com.tintage.android.defaultappmanager>
o Default App Manager, by Webserveis
<https://play.google.com/store/apps/details?id=app.defaultappmanager.pro>
o <https://play.google.com/store/search?q=Default%20App%20Manager&c=apps>

These freeware apps of similar names & intent seem to all contain ads:
o <https://play.google.com/store/apps/details?id=com.tintage.android.defaultappmanager>
o https://play.google.com/store/apps/details?id=dogfooderz.com.defaultappsettingshortcut>
o https://play.google.com/store/apps/details?id=mhsoft2000.DefaultAppChange>
o https://play.google.com/store/apps/details?id=com.lb.app_manager>
o https://play.google.com/store/apps/details?id=com.Rainbow.launchbydefault>
o https://play.google.com/store/apps/details?id=com.pandaz.app.reset>

F-Droid seems to have come up blank on ad free freeware for this intent:
o <https://search.f-droid.org/?q=default+app+manager>

This is the only ad-free free app I could find on Google Play via Aurora:
o <https://play.google.com/store/apps/details?id=com.aboutmycode.betteropenwith>

So that's the first app I'll test out to see if it sets the file intent.
o Thanks for the idea of using a default app manager to set file intent.
--
Usenet enables purposefully helpful adults around the world to share ideas!

Arlen Holder

unread,
Feb 25, 2020, 10:07:12 AM2/25/20
to
On Tue, 25 Feb 2020 01:07:01 -0000 (UTC), Arlen Holder wrote:

> This is the only ad-free free app I could find on Google Play via Aurora:
> o <https://play.google.com/store/apps/details?id=com.aboutmycode.betteropenwith>
>
> So that's the first app I'll test out to see if it sets the file intent.
> o Thanks for the idea of using a default app manager to set file intent.

Unfortunately, that free ad-free gsf-free "BetterOpenWith" default-setting
app by Guirgu Dakajusgvuku doesn't seem to have an option to set the
default app for Encrypted Files (e.g., *.tc), anywhere I can find.

It does have options to set the following though, but not Encrypted Files:
o Audio Files
o Audio Stream
o Browser
o Calendar
o Camera
o Dialer
o Ebook (epub)
o Email
o Geo Location
o Html Files
o Images
o Microsoft Excel
o Microsoft PowerPoint
o Microsoft Word
o PDF Files
o Text Files
o Torrent
o Video Files
o Video Stream
o XML Files
o Zip Files

For each type of file above, you can set the app to launch, or hide any of
the other apps that might pop up otherwise as the launch suggestion.

What we need is something like this "BetterOpenWith" app, that allows us to
_add_ a new type of file (which exists in real life but not on Android):
o Encrypted Files
Where we can then set the default app to open those encrypted files.

Unfortunately...
o The question remains how to set a test.tc file to open up in EDS Lite.

Arlen Holder

unread,
Feb 25, 2020, 10:09:50 AM2/25/20
to
On Tue, 25 Feb 2020 15:07:12 -0000 (UTC), Arlen Holder wrote:

> Guirgu Dakajusgvuku

Giorgi Dalakishvili (darn autocorrect!)

David Oseas

unread,
Feb 25, 2020, 12:23:07 PM2/25/20
to
On 2/24/2020 5:07 PM, Arlen Holder wrote:

> There seems to be multiple applications of that name:
> o Default App Manager, by Tintage
> <https://play.google.com/store/apps/details?id=com.tintage.android.defaultappmanager>
> o Default App Manager, by Webserveis
> <https://play.google.com/store/apps/details?id=app.defaultappmanager.pro>
> o <https://play.google.com/store/search?q=Default%20App%20Manager&c=apps>

Just took a look at the one that I have installed; it is "Default App
Manager 2.4" by Appiator and seems to have disappeared from the Play Store.

Upon closer examination, it is similar to the "BetterOpenWith" app that
you mention in your follow-up: providing a curated list of filetypes &
does not seem to allow you to define new ones. I'm hoping that you'll
be able to find one that does.

Good luck in your search!

-David

Arlen Holder

unread,
Feb 25, 2020, 8:01:49 PM2/25/20
to
I'm not sure why David Oseas' excellent helpful posts don't show up on my
news server, but I see his posts on Google Groups for this newsgroup:
o <http://tinyurl.com/comp-mobile-android>

Here is a pointer to David Oseas' helpful on-topic technical post:
o How is the default "open with" or "open as" file type set in Android 9?
<https://groups.google.com/d/msg/comp.mobile.android/r_DHiVD_KcY/d-5MVMa9CgAJ>

Here's a cut and paste of that post today:

By David Oseas

Arlen Holder

unread,
Feb 25, 2020, 8:09:58 PM2/25/20
to
On Wed, 26 Feb 2020 01:01:48 -0000 (UTC), Arlen Holder wrote:

> Upon closer examination, it is similar to the "BetterOpenWith" app that
> you mention in your follow-up: providing a curated list of filetypes &
> does not seem to allow you to define new ones. I'm hoping that you'll
> be able to find one that does.

UPDATE:

I tried every default types setting app I could find with those keywords,
and the only one I found worth keeping was the one I already mentioned
which is ad free, gsf free, and free.
o Better Open With, by Giorgi Dalakishvili
<https://play.google.com/store/apps/details?id=com.aboutmycode.betteropenwith>

What I did NOT find was a way to CREATE a new type in Android 9, such as:
o *.tc ===> Encryption File ===> Opens with... "EDS Lite"

If anyone on this Android ng knows how to set any given file type (such as
TrueCrypt files) to open in any given program (such as EDS Lite), please
let us all know!
--
Adults working together to solve problems is what Usenet is all about.
0 new messages