How to Save User Settings in QML/JS for Ubuntu Touch


I'm working on a small game and i'd like to know how can i write/read a user settings file in ubuntu touch?

Best Answer

You have a couple of options, you can use a LocalStorage to create a local sqlite database to keep your settings in. Or you can use the (still very alpha-stage) U1DB component, which will still use a local sqlite database, but also allows you to sync your settings database between the user's different machines/devices.

Related Question