Hi hope someone can help me with this Please
I am try to use Save INI to write APP Version to textfile when I run the app for first time
so when I upgrade from Market and APP Version number and Version number in the file is not the same I copy new Database
but when I run the app from Basic4android to my Mobile
FirstTime don't work it upgrade the text file each time I run the app from basic4android to my Mobile
Regards
Sigster
I am try to use Save INI to write APP Version to textfile when I run the app for first time
so when I upgrade from Market and APP Version number and Version number in the file is not the same I copy new Database
but when I run the app from Basic4android to my Mobile
FirstTime don't work it upgrade the text file each time I run the app from basic4android to my Mobile
B4X:
File.MakeDir(File.DirRootExternal,"islenskapp")
Dim Writer As TextWriter
Writer.Initialize(File.OpenOutput(File.DirDefaultExternal,"islenskapp.txt",True))
If FirstTime Then
SaveINI ' write Verion of the app to text file when I run the app for FirstTime
End If
LoadINI ' to check if version on the app are new and copy database and write new version number to textfile
Regards
Sigster