Just so that you know:
I was looking for a way, on Android 11, to store outside of the sandbox an UID that wouldn't change when reinstalling my App.
No matter what, I could not write or read a text file in the Document/Dowload/or else folder.
I could just find out if the file existed.
Then, I gave a try with Folders.
So much for the sandbox: I can create/delete and read name of folders in the Document folder (to understand...of Android).
Without any special permission, now I can save my UID string as the name of a created folder, and be sure it want change when deleting the App.
Practically an ID of the device.
Haven't tried yet with Android >13 but it sound promising.
Any comment on this?
Trevix
I was looking for a way, on Android 11, to store outside of the sandbox an UID that wouldn't change when reinstalling my App.
No matter what, I could not write or read a text file in the Document/Dowload/or else folder.
I could just find out if the file existed.
Then, I gave a try with Folders.
So much for the sandbox: I can create/delete and read name of folders in the Document folder (to understand...of Android).
Without any special permission, now I can save my UID string as the name of a created folder, and be sure it want change when deleting the App.
Practically an ID of the device.
Haven't tried yet with Android >13 but it sound promising.
Any comment on this?
Trevix
Statistics: Posted by trevix — Sun Aug 18, 2024 6:11 pm