Android Question Config File

Good morning I need a configuration file to be installed together when installing my application on Android. In testing, I'm not getting the file to be installed together, any tips on how to do this?
 

emexes

Expert
Licensed User
Add the config file to your Files tab, and it should be installed together when you install or update your application.

Although I do remember some strangeness when updating in debug mode, so if you find that the config file on the phone is not updated, try uninstalling the app and running/installing it again.
 
Upvote 0

RichardN

Well-Known Member
Licensed User
Longtime User
@Tomas Binn...

Your installed file will be available in the project File.DirAssets folder but it is important to remember that this folder is read-only. If your config file is to be updated with app setting values you need to copy it from File.DirAssets to File.DirInternal folder where it can be modified (xui.DefaultFolder is the same folder)

If you are using an SQLite database, even just to read from, this cannot be in the Assets folder as it requires a 'Journal' file to be created alongside it to operate correctly.
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…