[04:11] any way to call a javascript variable inside qml? [15:13] hey. anyone knows if it possible yet to open the messages app with a pre filled SMS content and number. So that the user just needs to press "Send" [16:17] Elleo: http://www.omgubuntu.co.uk/2013/11/unofficial-spotify-client-arrives-ubuntu-touch [16:20] mzanetti, i would guess the url-dispatcher is supposed to do that [16:33] ogra_: tried that... doesn't dispatch anything but http[s]:// so far [16:33] well, i guess then waiting is in order :) [16:33] yep [16:35] popey: cool, fame at last ;) [17:07] Is there a library or documentation for parsing Json in qml? [17:08] I have experience with XML in QML. quite easy actually...but I have no experience with Json [17:08] Qml's XML ListModel has extensive documentation [17:08] anythingn similar for JSON? [17:15] nik90: maybe this helps you: http://bazaar.launchpad.net/~mzanetti/+junk/qmljsonparser/files [17:16] mzanetti: would it be possible to stick to javacript? [17:17] nik90: use the JSON module? [17:17] tsimpson: you still can't fetch something from a server [17:18] what do you mean? [17:18] tsimpson, mzanetti: I just need something to receive data from rottentomatoes which replies in JSON format [17:18] can't you just fetch data, then parse it? [17:19] tsimpson: yeah I am fine with that [17:19] tsimpson: just not sure how to parse it [17:19] JSON.parse(data) [17:19] nik90: JSON.parse() [17:19] where can I find documentation on this? [17:19] let me know how you fetch it tho [17:19] it's part of ECMAScript [17:21] mzanetti: can I fetch it using XMlHttpRequest? [17:21] and then parse using Json.parse() [17:22] I don't think so. but I've never really used XMLHttpRequest [17:22] I don't see why not [17:22] just pass the responseText to JSON.parse [17:23] tsimpson: I think I tried that once and the poroblem is that it has all sort of xml stuff in it which would make the parsing fail [17:23] but you might be able to extract the json only from it somehow [17:25] responseText shouldn't contain XML unless the response from the server is XML [17:28] I got to go...But I will take a look at your json class, JSON.parse() and then come back later with more questions if necessary [17:28] thnx [17:28] just a thought [17:29] this guy at https://github.com/xqwzts/my-movies/blob/master/JSONListModel/jsonpath.js [17:29] uses a external JSON parser [17:29] he obtains the data using xmlhttprequest [17:49] nik90: this seems to work http://paste.ubuntu.com/6354270/ [18:18] hmm.. anyone already successfully packaged a click package that ships its own .so files? [18:19] I tried with a wrapper script that exports LD_LIBRARY_PATH before calling the binary. it crashes with "Cannot create application instance" which is the same error as when the --desktop_file_hint arg is missing [18:20] outch... that's it... forgot to pass it through the wrapper script [18:21] stupid me [19:15] when using this code Qt.openUrlExternally("http://www.songsterr.com/a/wa/bestMatchForQueryString?s=" + Js.song + "&a=" + Js.band);10; the url puts null in my two variable positions [19:16] do I need to setup javascript on startup? === billyd is now known as ca18det [19:23] or is that something that cannot be done? am I reading correctly that to declare a variable in qml, so you have to do it in C or JS? [21:39] qt creator (ubuntu sdk edition) has a serious problem when mtp devices (android phone/tablet) are connected, it starts popping dialog and try to connect to those devices (failing repetitively) [21:40] is this a known bug? [21:42] randomcpp: as a temporary work around you can disable its automatic attempts to connect to devices in the settings [21:42] Elleo, that would be nice, I'll try to find that option [21:48] Anyone know what this error is in Qt Creator? [21:48] Could not determine application identifier. HUD will not work properly. [21:48] Provide your application identifier in $APP_ID environment variable. [21:50] Elleo, where's that option? [21:54] sethj: dont worry about that error [21:55] sethj: you are getting that error since the HUD version on the phone is not yet available for the desktop [21:55] sethj: rest assured when you run your app on the phone it should work without any issues [21:55] nik90, ah.. Thanks :) [21:55] btw, what HUD version does the phone have? [21:56] sethj: not sure [21:56] randomcpp: I'm afraid I don't have the SDK installed on this machine, so I can't look it up; I just remember noticing it after coming across the same problem [21:56] nik90, OK [21:59] good night everyone