Android assets

Android assets are read-only arbitrary files bundled in their raw form into your package.Necessitas project provides seamless integration with android assets, meaning that you can access any asset files as you access any ordinary files.

Sqlite file seems to need write access, so they will not work as assets file .

Access assets

QmlApplicationViewer*m_qmlAppViewer;#ifdef Q_OS_ANDROIDQFilefile("assets:/qml/foo/main.qml");// to open a file just use its path and add *assets:/* prefixm_qmlAppViewer->setSource(QUrl("assets:/qml/foo/main.qml"));#endif// do whatever you want with file