Extension: Explorer Files, Directories with Copy, Move, Delete, MakeDir


#1

Esta extensión es una mejora de la que puse en:

Pero debido a que he modificado mucho código lo publico en un post distinto.

  • This extension is gratis.

  • Now App Inventor code for Explorer is very simple, only 2 blocks.

  • When is a directory, last chart is a “slash”. (Example: /mnt/sdcard/mydirectory/)

  • First element of ListView is Up Directory (…)

  • Second element of ListView is Actual Directory (.)

  • Features:

  • Explorer of files and directories.

  • Remove File or Directory.

  • Rename or Move File or Directory.

  • Copy File or Directory.

  • Make Directory.

p280i_Extension_Explorador_v2.aia (12.5 KB)

com.KIO4_Explorer.aix (10.7 KB)


How to save the image taken with camera with a specified name?
How can I pick a folder and get the location?
File manager app
Expiration time for application
#2

Another excellent extension. Good job!


#3

superb


#4

New version, fix some fail.

com.KIO4_Explorer.aix (10.7 KB)


Loading csv file without an another app explorer
#5
  • New version 27 oct 2017.

  • Check if exists file/directory, create file/directory, text to file, show file content, copy, move, remove, get information.

  • Juan Antonio Villalpando

p282B_archivos_carpetas.aia (14.6 KB)

p280i_Extension_Explorador_v2.aia (14.1 KB)

com.KIO4_Explorer.aix (12.5 KB)


Create Folder Extension
PedrozaThumbnail Extension
#6

Example for use of that extension.

Expiration time for application:

https://community.thunkable.com/t/expiration-time-for-application/9775

  • En español:

http://kio4.com/appinventor/282_extensiones_explorador_opera.htm

Regards.


#7

haz hecho muy buentos trabajos juan antonio, algunas cosas las aprendi en los tutoriales de tu web KIO4, esta extension tiene alguna restriccion de uso juan antonio? quiero usarla en un mini proyecto.
gracias y saludos desde mexico.


#8

Hi @BukanoR, this extension is gratis and free, you can use it in your proyects.

If you want, you can colaborate:

https://www.paypal.me/JAVillalpando/7

Hola @BukanoR, esta extensión es gratis, la puedes utilizar libremente en tus proyectos, si quieres colaborar lo puedes hacer en la dirección que indico.

Ahora estoy un poco alejado de las extensiones porque estoy liado con un proyecto de Arduino, proyecto que te aconsejo:

http://kio4.com/arduino/49BL_teclado_I2C_LCD_humedad_IR_RF_Reloj_lluvia_I2C_INT_Ard_LDRPWM_Bluetooth.htm


#9

Entiendo tu interés por nuevos temas, una última pregunta, no veo el bloque “rename” para renombrar archivos o carpetas! Si me hechas un cable.

disculpa la molestia, ya encontre el metodo o truco para renombrar jeje vaya que no me lo esperaba.


#10

Hi
May I please know how to rename files using the method that you found?

Thank you.


#11

To rename file or directory use Move.

Move
source= /mnt/sdcard/myfile.txt
dest= /mnt/sdcard/myfile2.txt


#12

Hi Juan,

Thanks for your fast reply : )

I’ve tried it but it works only for internal storage and does not work for external sd cards.

I’ve tried to copy or move a file to an external sd card but got errors - open failed: EACCES (Permission denied).

Only thing that works for external sd card is to see if a file exists on it.


#13

It doesn’t work with external sdcard


#14

Okay, Thank you.


#15

see the notes below the Copy method here https://puravidaapps.com/file.php
Taifun


#16

Hi Taifun…Thanks for the interesting info.


#17

Can you say how to use Copy Directory feature? Because I can’t copy my folders with this extension.


#18

To copy dir, recursive parameter is required.

cp r sourcedir destidir

but try

cp /mnt/sdcard/midirectory/* /mnt/sdcard/other/

or use Terminal extension:


#19

Ok, thanks. Can I copy a folder with spaces?

cp -r /mnt/sdcard/My Documents /mnt/sdcard/Music/

This command is working for directories don’t contain spaces. But I can’t copy folder like this.


#20

cp -r “/mnt/sdcard/My Documents” “/mnt/sdcard/Music/”

cp -r ‘/mnt/sdcard/My Documents’ ‘/mnt/sdcard/Music/’