I'm using this line in my app:
kvs.Initialize(File.DirInternal,"values_store")
It works well but only if the file exist already. But I realized if the first time user start the app android comes with invalid double errors;"" as there is no values file yet created. My question is will it be possible to populate the data in the app.apk so the very first time the application is open it will have all the numeric variables and strings populated, avoiding the error in the first place? Is anything to do with File.DirAssets,... than what I am using File.DirInternal... alternative?
Many thanks
Yves
kvs.Initialize(File.DirInternal,"values_store")
It works well but only if the file exist already. But I realized if the first time user start the app android comes with invalid double errors;"" as there is no values file yet created. My question is will it be possible to populate the data in the app.apk so the very first time the application is open it will have all the numeric variables and strings populated, avoiding the error in the first place? Is anything to do with File.DirAssets,... than what I am using File.DirInternal... alternative?
Many thanks
Yves