salvataggio files nella memoria del tablet

103 views
Skip to first unread message

Giovanni Borello

unread,
Jun 19, 2023, 8:31:42 AM6/19/23
to DroidScript
Buon giorno a tutti.
mi chiamo giovanni, mi sono appena iscritto al forum ed ho bisogno del vostro
cortese aiuto.
ho appena installato droidscript sul Tablet samsung "GALAXY TAB A7"
Il problema che ho riscontrato è il seguente:
i file js che creo pur funzionando perfettamente non vegono salvati nella memoria interna del Tablet
N.B. droidscript lo sto usando da un paio di anni sullo smartphone Galaxy S8 e tutti i file vengono salvati nella cartella droidscript che ho creato nella memoria dello smartphone
senza problemi.
Cordiali saluti
giovanni

Steve Garman

unread,
Jun 21, 2023, 2:41:42 PM6/21/23
to DroidScript
Has anyone got a description (that will translate well to Italian) of using scoped storage after previously developing in non-scoped
 ?

I tried writing something in English but Google Translate produced Italian from it that is completely incomprehensible 

Alan Hendry

unread,
Jun 22, 2023, 5:35:08 PM6/22/23
to DroidScript
Hi,
There are differences between running under DS (SPK) and as a built APK/AAB
and different versions of Android
In my tests these work
app.GetPrivateFolder("foldername"))+"/filename.ext" // user cannot see files
app.GetSpecialFolder("foldername")+"/filename.ext") // user can see files, 
foldername should match the type of file 
"Pictures" for images, "Movies" for videos, "Music" for sound, "Downloads" for others
This is only for Internal, not an SD card
there are other posts about that (CheckPermission, GetPermission), 
Regards. ah

Dave

unread,
Jun 23, 2023, 5:31:25 AM6/23/23
to DroidScript
Your files can be found here - Android/data/com.smartphoneremote.androidscriptfree/files/DroidScript

Android now forces us to use 'Scoped Storage'

You might need to download a file manager that can see the Android/data storage aread (not all of them can)

Reply all
Reply to author
Forward
0 new messages