Comments (4)
It is possible that this could be due to a flaw in the mechanism used to distinguish between binary and ascii text files. Like many binary files, there are ascii elements, in particular, the header used to define the file type.
from amazefilemanager.
Uh huh... Futils.java lines 528 or 532.
Actually, it would be nice to be able to disable all the built-in file handlers altogether, since there are a lot of applications capable of opening all of the types that the built-in handlers are able to open. While it is nice to have a fallback, these handlers are somewhat simplistic. Sometimes it is nice to hand the file over to applications that are devoted to that specific function.
For example, you don't want gedit or windows notepad to take over all text file handling on a desktop, rather something more powerful, like vi, emacs, notepad++, etc. Same on Android.
I would really like the option to NOT USE the integrated file handlers. Instead of loading activities to handle these files internally, handle everything as "openunknown". Create intent filters for the internal handlers, and let the system choose whether to let the file manager handle them, or some other application.
from amazefilemanager.
Icons.java defines a whole bunch of non-plaintext files as "text", presumably for the purpose of selecting an icon to display. Futils.java queries Icons.java and is mislead into believing that those types should be loaded as plaintext. Icons.java:179-189 are the offending lines causing this problem. Registering intent filters with the system would avoid this entire problem by passing mimetype and uri to the system to deal with, instead of making bad assumptions.
from amazefilemanager.
Temporary hack fix; move what is currently on line 178 of Icons.java down to line 189. This would redefine all those word processor document as.... word processor documents.
from amazefilemanager.
Related Issues (20)
- Documents and Recent files do not show the file just created HOT 3
- SSH/SFTP connection shows "No File" HOT 1
- Add storage from Android content provider HOT 3
- Missing source code for version 3.9 available from Google Play HOT 1
- Crash reported by A HOT 1
- Please add provision to import / export settings HOT 1
- Crash reported by srebre HOT 1
- Crash reported by VishnuSanalT HOT 1
- Crash reported by مهدی HOT 1
- Crash reported by None HOT 1
- Crash reported by None HOT 1
- Crash reported by Sil3ntArt HOT 1
- Crash reported by None HOT 1
- Remove pull-to-refresh gesture to reduce battery consumption
- Bugs with saving files HOT 1
- Unable to delete directories under Android/data
- Crash reported by federicomoretto HOT 1
- A problem occurred evaluating project ':app'. HOT 3
- Show deep search results in `SearchView` HOT 3
- Missing glob support in basic and indexed search and sort by relevance HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from amazefilemanager.