I save 3 files to File.DirInternal. When i uninstall the app and reinstall it with B4A, 2 of those files are deleted and 1 of them is still present. Why is it behaving this way?
SpeedLimiter.txt is the one not deleted
SpeedLimiter.txt is the one not deleted
B4X:
Sub Service_Create
StateManager.LoadStateTrip
StateManager.LoadStateMaintenance
StateManager.LoadStateSpeedLimiter
End Sub
B4X:
Sub LoadStateTrip
Try
If File.Exists(File.DirInternal, "Trip.txt") = True Then
Log("FILE Exist Trip.txt")
B4X:
Sub LoadStateMaintenance
Try
If File.Exists(File.DirInternal, "Maintenance.txt") = True Then
Log("File Exist Maintenance.txt")
B4X:
Sub LoadStateSpeedLimiter
Try
If File.Exists(File.DirInternal, "SpeedLimiter.txt") Then
Log("File Exist SpeedLimitier.txt")
Last edited: