10-11-2012 08:25 AM
can somebody tell me how to show a list of images that are downloaded from a webserver.
first thing i did download jsonfile from server ( contains all the urls to the images )
after that i downloaded all the images.. and now i don't know how to display them in a list or something to the user.
all the images can be found in the sandbox (data/images/filename1.gif, data/images/filename2.gif, and so on..)
10-11-2012 03:57 PM
I put all images into
QDir::home().currentPath() + "/app/native/assets/images/vehicle.jpg"
Then you can get image in qml imageSource: "images/vehicle.jpg"
I have put into data folder before, but can not show on QML
10-11-2012 08:27 PM
give it a try! just register the qml and after that instantiate the class in the qml, remember to get a default Image to show while waiting.