S ST500 Active Member Licensed User Longtime User Aug 5, 2018 #1 Hello, I created a CSV-File (it includess some data), that should be extracted during the installation of the app. How can I make it, the CSV-File is a part of the APK-File? Thanks a lot.
Hello, I created a CSV-File (it includess some data), that should be extracted during the installation of the app. How can I make it, the CSV-File is a part of the APK-File? Thanks a lot.
R ronell Well-Known Member Licensed User Longtime User Aug 5, 2018 #2 put the csv file in assets then copy it to a file directory at the start of activity B4X: If File.Exists(File.DirDefaultExternal, "file.csv") Then Else File.Copy(File.DirAssets,"file.csv",File.DirDefaultExternal,"file.csv" End If Upvote 0
put the csv file in assets then copy it to a file directory at the start of activity B4X: If File.Exists(File.DirDefaultExternal, "file.csv") Then Else File.Copy(File.DirAssets,"file.csv",File.DirDefaultExternal,"file.csv" End If
S ST500 Active Member Licensed User Longtime User Aug 6, 2018 #3 perfect, thanks a lot ronell. Upvote 0