How Save and load any file from Internal storage

Welcome to our brand new Clickteam Community Hub! We hope you will enjoy using the new features, which we will be further expanding in the coming months.

A few features including Passport are unavailable initially whilst we monitor stability of the new platform, we hope to bring these online very soon. Small issues will crop up following the import from our old system, including some message formatting, translation accuracy and other things.

Thank you for your patience whilst we've worked on this and we look forward to more exciting community developments soon!

Clickteam.
  • pradeep your question is too general, please let us know what type of files you want to save, and then a better explanation can be given.

    Text files, can be loaded and saved by edit object and using datastorage() +"/"+"filename.ext"

    I use DataStorageDirectory$( "Android object" ) + "/" + "ABC.text" for save ABC.text. But when clear all data this file remove. I want this file not remove when app unstall or reinstall or clear all data. Also file serch in Internal storage.

    Edited 2 times, last by pradeep (November 18, 2022 at 5:09 PM).

  • There is no correct way to have a file in a permanent area, note that it is why scope area was created, which is deleted also when uninstalling the application owner.

    Maybe in the cloud? Or external if your application use storage manager and approved by Google

    Regards,


    Fernando Vivolo

    ... new things are coming ...

  • e.g. Telegram create folder in internal storage and store all file in this folder. When telegram unstall, file and folder inside are not remove. like this I want store fie in iternal folder.

    Google Stopped this bud. I use to have a Folder in Internal Storage called VBE for all of our apps storage files created by the user.

    I.E. VBE/Mastersuite/Recordings/
    VBE/TheGateway/Recordings/
    VBE/SpiritBox/Recordings/

    Google changed this to public Scoped Storage, which is horrible as SAMSUNG Devices lock the user from these files. So, if a User wanted to import a file using the Default Folder Browser, they can't.

    The latest is Dumb, but it also has it perks.

    Say a User Downloads your app. Uses it to make Files of some sort. Then wants a refund from google after they are done.
    Well, they will get their Refund and The App and all files are removed from the Public Scoped storage area.

    I still prefer the old way of saving, but who am I to say anything.

    Edited once, last by VBEinc (November 20, 2022 at 8:35 AM).

  • e.g. Telegram create folder in internal storage and store all file in this folder. When telegram unstall, file and folder inside are not remove. like this I want store fie in iternal folder.

    Not sure, my guess is that they use some native library for this, but some changes are ongoing here since android 13 add some changes too.

    Please login to see this link.

    Please login to see this link.

    Regards,


    Fernando Vivolo

    ... new things are coming ...

    Edited once, last by Fernando (November 20, 2022 at 2:04 PM).

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!