Android object:
Android Object - Expressions
Get data storage directory
Temp directory
External storage directory
But how Save and load any file from Internal storage?
Plz help
Android object:
Android Object - Expressions
Get data storage directory
Temp directory
External storage directory
But how Save and load any file from Internal storage?
Plz help
@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"
Regards,
Fernando Vivolo
... new things are coming ...
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.
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.
https://developer.android.com/about/...ior-changes-13
https://blog.esper.io/android-desser...osed-73891524/
Regards,
Fernando Vivolo
... new things are coming ...