Unable to open files > 5000000 bytes
Brought to you by:
zc2
Hard-coded limit in FileCommander.java prevents opening files larger than 5 000 000 bytes, which causes problems for most PDFs and many audio files. For reading from network shares these files have to be copied to the local filesystem before opening with another file manager, which then requires housekeeping to delete them after use.
if( item.size > 5000000 )
...
FileCommander.this.showError( getString( R.string.too_big_file, _fn ) );
Suggest that the file-size check be made into a toggle-parameter so users can over-ride it when necessary.
Ok, but if you want to override the limit why you can't just copy the file to a local folder then open it instead?
Why should the user need to go through the trouble to do a one-off look at a file? Other Android file managers I've used have no problem with this, and it can be quite convenient. Example: You keep a large media collection on a remote system and want to be able to access files on the fly.
Besides, 5M bytes is not particularly large by today's standards. We've moved beyond the 1990s. ;-)
The new version 1.54.1b2 now has a text edit preference (in the Advanced section) which allows the user to enter the file size threshold.