sdcard2 not writable on Tablet

Support for Android version of Total Commander

Moderators: sheep, Hacker, Stefan2, white

User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 39988
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: sdcard2 not writable on Tablet

Post by *ghisler(Author) »

This is currently not supported, but should be doable in principle. It will be hard to implement because I don't currently have any pre 4.4 devices with SD Card slot. :(
Author of Total Commander
http://www.ghisler.com
User avatar
DrShark
Power Member
Power Member
Posts: 1625
Joined: 2006-11-03, 22:26 UTC
Location: Kyiv, 68/262

Re: sdcard2 not writable on Tablet

Post by *DrShark »

DrShark wrote:
2019-03-19, 11:46 UTC
On TC4A 3.0 beta 3 creation of new text file (also UTF-8) works fine on my Android 4.3.1 device, thanks for this fix!
ghisler(Author) wrote:
2019-03-20, 08:44 UTC
Great, thanks for letting me know! Indeed I'm calling the special sd-card function I use when copying files (but don't write to the file) when the function via File API fails.
I just found that new file creation also works on external SD Card of Android 4.3.1 device even if its path starts with /extsd/*, while other write operations, like save file in TC Editor/Copy/Move only work if its path starts as /storage/extsd/* (that's how it looks in Home folder). I think it's a sign that it's possible to do all the write operations for it if its path starts with /extsd/*.
(archive creation still doesn't work on external SD no matter how its path starts).
Android 4.3.1 no root, kernel 08.09.2016; Win7 Home Premium SP1 rus 32 bit
TC #149847 Personal licence

Cuz we're all in this together, We're here to make it right
User avatar
DrShark
Power Member
Power Member
Posts: 1625
Joined: 2006-11-03, 22:26 UTC
Location: Kyiv, 68/262

Re: sdcard2 not writable on Tablet

Post by *DrShark »

In addition, the "Resume" functions, which appears in Overwrite dialog when e.g. copying/downloading a file from WebDAV plugin, doesn't work if to copy some file from plugin to external SD of Android 4.3.1 device, even if extsd path is /storage/extsd/, where most of TC's write operations work fine.
So if copying from plugin to /storage/extsd/ goes fine, the file appears in /storage/extsd/.
If Resume is required, on try to use it, immediately error happens:

Code: Select all

---------------------------
Cannot copy or move file!
---------------------------
///WebDAV/AndroidDeviceName/dir/file.ext
---------------------------
Cancel   OK   
---------------------------
Android 4.3.1 no root, kernel 08.09.2016; Win7 Home Premium SP1 rus 32 bit
TC #149847 Personal licence

Cuz we're all in this together, We're here to make it right
Post Reply