Post Reply 
Running Emu71 on Android
09-15-2018, 08:37 PM (This post was last modified: 09-15-2018 08:42 PM by ijabbott.)
Post: #20
RE: Running Emu71 on Android
(09-15-2018 12:19 PM)ijabbott Wrote:  It might not be able to open arbitrary files if it is registered with Android to only open certain file types (MIME types). I don't know if Android merely uses the file name extension to determine the file type like Microsoft WIndows, or if it fingerprints the actual file contents like GNU/Linux based desktop environments typically do.

Actually, the GNU/Linux (actually, the freedesktop.org) situation is different to what I mentioned above. The determination of file type (MIME type) for "opening" a file from a file manager can depend on the files contents, but is probably more commonly determined by the file name extension, like on Windows. It all depends on rules in the "shared MIME database" (shared-mime-info-spec). Once the MIME type is determined, other rule sets in .desktop determine the default program to open the file with.

(09-15-2018 01:07 PM)grsbanks Wrote:  
(09-15-2018 01:01 PM)ijabbott Wrote:  the "middleware" environment is totally different to a typical GNU/Linux desktop.

I never said it wasn't Smile Note that I mentioned "running on Linux", not "GNU/Linux" Smile

This said, I do agree that 'file', the utility that looks at a file's signature in order to ascertain its MIME type, is part of GNU, not of the Linux kernel.

Well hopefully that's cleared up a bit, although I still have no idea how Android determines the file type, which was probably the point of this little diversion. Sorry about that. Carry on!

— Ian Abbott
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Running Emu71 on Android - Didier Lachieze - 09-11-2018, 11:01 PM
RE: Running Emu71 on Android - pier4r - 09-12-2018, 04:13 PM
RE: Running Emu71 on Android - Jlouis - 09-12-2018, 09:17 PM
RE: Running Emu71 on Android - brickviking - 09-13-2018, 10:16 AM
RE: Running Emu71 on Android - rprosperi - 09-13-2018, 11:28 PM
RE: Running Emu71 on Android - ijabbott - 09-15-2018, 12:19 PM
RE: Running Emu71 on Android - grsbanks - 09-15-2018, 12:30 PM
RE: Running Emu71 on Android - ijabbott - 09-15-2018, 01:01 PM
RE: Running Emu71 on Android - grsbanks - 09-15-2018, 01:07 PM
RE: Running Emu71 on Android - ijabbott - 09-15-2018 08:37 PM
RE: Running Emu71 on Android - rprosperi - 09-13-2018, 12:35 AM
RE: Running Emu71 on Android - KF6GPE - 09-14-2018, 02:39 AM



User(s) browsing this thread: 1 Guest(s)