Re: [SailfishDevel] Getting simple XML to show on the emulator

2015-05-12 Thread helicalgear .
Hi, Is your first question "How you should do to display the data which are get from the XML" ? I think you should add "delegate" property and some codes to do it. import QtQuick 2.0 import Sailfish.Silica 1.0 import QtQuick.XmlListModel 2.0 Page{ id: root XmlListModel{ i

Re: [SailfishDevel] Getting simple XML to show on the emulator

2015-05-12 Thread richard grooff
In the SilicaListView add: delegate: Text { text: body} And the text will be shown   From: Andrey Kozhevnikov To: devel@lists.sailfishos.org Sent: Tuesday, May 12, 2015 9:59 PM Subject: Re: [SailfishDevel] Getting simple XML to show on the emulator Using XML is not simplest for QML

Re: [SailfishDevel] Getting simple XML to show on the emulator

2015-05-12 Thread Jani Nuutinen
Hi Andrey and thanks for the quick reply! Certainly I might then look into using JSON. It remains to be seen if I'll be returning later on with a similar question but that time hand in hand with JSON :) Best regards On Tue, May 12, 2015 at 10:59 PM, Andrey Kozhevnikov wrote: > Using XML is

Re: [SailfishDevel] Getting simple XML to show on the emulator

2015-05-12 Thread Andrey Kozhevnikov
Using XML is not simplest for QML. Native data format for QML/JavaScript is JSON. 13.05.2015 00:58, Jani Nuutinen пишет: I'm trying early on to familiarize myself with passing data to the phone from the Internet and just for starters I chose to use a simple XML-file to see if I could make some

[SailfishDevel] Getting simple XML to show on the emulator

2015-05-12 Thread Jani Nuutinen
I'm trying early on to familiarize myself with passing data to the phone from the Internet and just for starters I chose to use a simple XML-file to see if I could make something out myself. I do not know if using XML from Internet source is the simplest or the smartest method, but trying to follow

Re: [SailfishDevel] QML Camera viewfinder resolution

2015-05-12 Thread Kalle Vahlman
2015-05-12 18:22 GMT+03:00 Andrey Kozhevnikov : > Hello! > > When i'm trying to set camera viewfinder resolution with > QCameraViewfinderSettingsControl::Resolution to screen size (to make it > fullscreen) i'm getting "CameraBin error: "Internal data flow error.". What > is the right way to change

[SailfishDevel] QML Camera viewfinder resolution

2015-05-12 Thread Andrey Kozhevnikov
Hello! When i'm trying to set camera viewfinder resolution with QCameraViewfinderSettingsControl::Resolution to screen size (to make it fullscreen) i'm getting "CameraBin error: "Internal data flow error.". What is the right way to change viewfinder resolution? Best regards, Andrey _