Android Question Application initialization file

Sergey_New

Well-Known Member
Licensed User
Longtime User
When I first launch the application I create a file
B4X:
File.WriteMap(File.DirInternal, ProgName & ".ini", options)
On a device with Android below 14, this file could be deleted when clearing the cache and application data. Now it doesn't work. How to delete this file?
 

Sergey_New

Well-Known Member
Licensed User
Longtime User
Do you get any Error?
No. I check after clearing the application data and deleting it
B4X:
  If File.Exists(File.DirInternal, ProgName & ".ini")Then
    ReadIni
  Else
    File.WriteMap(File.DirInternal, ProgName & ".ini", options)
    ReadIni
  End If
The file continues to exist.
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…