简体   繁体   中英

Is is possible to update Qml Android application by changing qml file remotely

I am wondering if it is possible to update qml android application remotely by changing qml file. To do this :

Qml should be read from the filesystem of the device dynamically instead embedding into the apk.

Is it possible?

Yes it is possible, you will only embed a small loader, possibly including an updater into the APK, which can load a QML file from the device filesystem.

On startup you can check for a new version, if available download and save it and only then load the QML file.

Note that for any non-trivial application you will most likely need to define external files as an external module so you can have your custom external types resolve properly.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM