Quantcast
Channel: Qt DevNet forums: Qt Quick 1283365070**
Viewing all articles
Browse latest Browse all 4972

Beste way to store downloaded XmlModel in LocalStorage with qml

$
0
0
Hey there, I am building an Android app. The app should display different text and image contents from the web. Caught via XmlListModel. I want to cache these data to give the user the possibility to check the content while beeing offline also. What is the best way to do this? I found the LocalStorage option which gives me the possibility to access a database via JS, but i am not sure how to ave a model with this plugin. Do i have to delegate through my model and then safe it item by item into the db? And how do i save images? I am getting the feeling that best way to do the task would be to catch the data in c++ put it in the database and then from qml simply view it. What do you think?

Viewing all articles
Browse latest Browse all 4972

Trending Articles