FileTools : Some tools to work with files

  • There is no path /storage/sdcard/.
  • On which devices / Android versions does this path not work: /storage/emulated/0/? (*)
    I do not know any.

(*) The “/storage/emulated/” folder does not really exist. It’s what might be called a “symbolic link”, or, in simpler terms, a reference to where the real data is stored.

See also here:

Micromax Q336 running on Android 4.4
Instead of that /storage/sdcard0 works for me.

I typed that in misconception.I actually wanted to type /sdcard

1 Like

This path does not exist either: /sdcard/.

/storage/sdcard0/ points to /storage/emulated/0/ and therefore the latter should actually work on all Android versions and devices.

I am not sure but I have seen that path as external storage in virtual box.

If it is true then I can now remove relative file path system from my extensions.
Thank you @bodymindpower

2 Likes

this can be done in a perfect world, but this world is not perfect… :upside_down_face:
Taifun

1 Like

The whole world has been talking about standards for many years. So why can’t this be standardized in such a simple case? You don’t need a perfect world for that.

I really don’t know how many (actually unnecessary) questions (to the correct paths) I have already answered in the AI2 and Kodular forum.

1 Like

ChangeLog Version8

Bug Fixes

Changes

  • Some internal changes and fixed spelling and grammar mistakes
3 Likes

component_method

good evening is this component deprecated?
I don’t know if the image looks good, it refers to the .ext

Hi @e_sorrentino72
Which block are you using?

2 Likes

.extention

You mean file extension method.
If yes then that is removed as it was very simple and less used block.
Similar can be done using blocks.

1 Like

Hi @vknow360,
File moved event works well in your extension version 3 but doesn’t work in your last version.
Am I did something wrong?

Let me check it.

2 Likes

Which block are you using?
MoveFile or MoveFileAsync?

1 Like

This one. :slight_smile:

Sorry…it no longer triggers FileMoved event :sweat_smile:

1 Like

Oh, That’s sad :sweat_smile:.

Do you have any solution to know when a file is moved, or maybe can you please provide me with your old extension?

1 Like

Ya you can.
These blocks can help you:
image

2 Likes

I’ll try it… thank you so much for your support.

1 Like

In kilobits?