Create link on desktop - file not found

Support for Android version of Total Commander

Moderators: white, Hacker, petermad, Stefan2

Post Reply
Cvulturbo
Junior Member
Junior Member
Posts: 30
Joined: 2013-02-09, 14:25 UTC
Location: eu ru

Create link on desktop - file not found

Post by *Cvulturbo »

Hi. Some apps can not access files created by "Create link on desktop", if they located on the sdcard (CyanogenMod Editor, su binary, and others).

This is because TC defines sdcard as /storage/emulated/0, but there is no "0" in "emulated".

Is there possibility to safely redefine sdcard to /mnt/shell/emulated/0 instead?

My Android v 5.1 (same for 4.4). Thanks..
Last edited by Cvulturbo on 2016-03-10, 13:57 UTC, edited 1 time in total.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48083
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

TC doesn't use "/storage/emulated/0" directly, it uses an Android function to get the location. Maybe Cyanogenmod is returning the wrong directory?

Here is what I use:
Environment.getExternalStorageDirectory().getAbsolutePath()) +
"Android/data/com.ghisler.android.TotalCommander"
Author of Total Commander
https://www.ghisler.com
Cvulturbo
Junior Member
Junior Member
Posts: 30
Joined: 2013-02-09, 14:25 UTC
Location: eu ru

Post by *Cvulturbo »

I think you are right. I checked EXTERNAL_STORAGE environment variable and it is "/storage/emulated/legacy". this path is correct for all apps.

Thank you for support. I'll ask Cyanogen for this thing.
Post Reply