Re: [SailfishDevel] Measuring distance with GPS

2014-07-07 Thread Martin Kolman
7.7.2014 20:13, Timur Kristóf: Hi, I'd like to ask a simple question: what is the simplest way to make a Sailfish app that measures the distance the user has walked. Preferably using QML only, but I'm not afraid of writing QML code either. Just use the QtPositioning QML interface[0], it should

Re: [SailfishDevel] Qt 5.2 in devel

2014-07-07 Thread Robin Burchell
Den 07.07.14 20:12 skrev "Timur Kristóf" : >Why just 5.2? Why not go straight to 5.3? Gunnar already answered this, but I¹ll repeat it somewhat: We¹ve put a reasonable amount of work into stabilizing 5.2, and are fairly confident that it¹s of acceptable quality by now. Pushing any change into that

Re: [SailfishDevel] Notifications API

2014-07-07 Thread Thomas Amler
Thank you very much! :-) Am 07.07.2014 21:28, schrieb Piotr Tworek: This might not be the best solution, but for YTPlayer I've basically added nemo-qml-plugin-notifications as a git submodule. To compile the code I've created qmake pri file that I include in my main .pro file (See: https://githu

Re: [SailfishDevel] Measuring distance with GPS

2014-07-07 Thread Krisztian Olah
Hi Niels and Kristof, You can just link QtPositioning, if you are using C++ you can use QGeoCoordinate::distanceTo(const QGeoCoordinate &), there is an equivalent for QML, check out: http://qt-project.org/doc/qt-5/qml-coordinate.html#distanceto It's probably gonna be faster than whatever you ca

Re: [SailfishDevel] XMLHttpRequest

2014-07-07 Thread Piotr Tworek
Hi, It's probably not a good idea to ignore https verification errors in your app. Still, if you insist on doing it you could probably subclass QQmlNetworkAccessManagerFactory and override it's create method. This should allow you to create a custom QNetworkAccessManager to be used by QML engine.

Re: [SailfishDevel] Notifications API

2014-07-07 Thread Piotr Tworek
This might not be the best solution, but for YTPlayer I've basically added nemo-qml-plugin-notifications as a git submodule. To compile the code I've created qmake pri file that I include in my main .pro file (See: https://github.com/tworaz/sailfish-ytplayer/blob/master/third_party/notifications.pr

Re: [SailfishDevel] Measuring distance with GPS

2014-07-07 Thread Niels Christian Ørgaard
Hi Timur, I was literally googling something similar earlier today (contemplating a quick health-app), and came across this: http://qt-project.org/forums/viewthread/19189 You should be able to just compare current and previous location, and calculate distance between these; if you do this at regu

[SailfishDevel] Measuring distance with GPS

2014-07-07 Thread Timur Kristóf
Hi, I'd like to ask a simple question: what is the simplest way to make a Sailfish app that measures the distance the user has walked. Preferably using QML only, but I'm not afraid of writing QML code either. Thanks, Timur ___ SailfishOS.org Devel maili

Re: [SailfishDevel] Qt 5.2 in devel

2014-07-07 Thread Timur Kristóf
Why just 5.2? Why not go straight to 5.3? On Wed, Jun 18, 2014 at 5:10 AM, Robin Burchell wrote: > Hello intrepid developers, > > Qt 5.2 rebuilds have (finally, thank god) finished in devel. I’ve > updated a single device (via version —dup) so far without too many ill > effects (see below), a

Re: [SailfishDevel] Voice Call Monitoring with QAudioInput

2014-07-07 Thread Dmitriy Purgin
So I rewrote the audio capture code with libpulse only and found out that the phone really switches its output port of sink.primary from output_speaker to output_earpiece during the voice call. The source.primary's input-voice_call port is actually a built-in mic. The "sink.primary.monitor" capture

Re: [SailfishDevel] XMLHttpRequest

2014-07-07 Thread Tone Kastlunger
The most obvious question : do you REALLY want to do it? Best, tk On Mon, Jul 7, 2014 at 1:06 PM, Mikael Hermansson wrote: > Hi! > > I have searched for this question on Qt/QML but can't find any answer so > far: > > Anyone knows if its possible to turn of ssl verification on https requests >

Re: [SailfishDevel] emulator crashes

2014-07-07 Thread Dmitriy Purgin
Hi, have you tried updating VirtualBox to the latest version? what hardware and software configuration do you have at home where it works? Back when the first version of SDK was out I tried it on my Core 2 Duo without Virtualization Technology at all, and it worked under Linux (both build machine

[SailfishDevel] XMLHttpRequest

2014-07-07 Thread Mikael Hermansson
Hi! I have searched for this question on Qt/QML but can't find any answer so far: Anyone knows if its possible to turn of ssl verification on https requests when using XMLHttpRequest object in QML? -- "Put mankind back on earth" ___ SailfishOS.or

[SailfishDevel] emulator crashes

2014-07-07 Thread Iosif Hamlatzis
The emulator crashes on boot in my work's PC (no problem at home). I've checked the known issues and read there is an issue if the PC's virtualization is disabled. I downloaded Intel's utility to check the supported CPU technologies and I can see that the virtualization technology is enabled, I ev

Re: [SailfishDevel] Notifications API

2014-07-07 Thread Andrey Kozhevnikov
grab sources, compile and deploy with your app. 07.07.2014 13:24, Thomas Amler пишет: Thanks for the clarification. :-) Can you give me a hint, how this could be done? Am 05.07.2014 23:06, schrieb Piotr Tworek: It's not forbidden however to ship your own copy of nemo-qml-plugin-notifications

Re: [SailfishDevel] Notifications API

2014-07-07 Thread Thomas Amler
Thanks for the clarification. :-) Can you give me a hint, how this could be done? Am 05.07.2014 23:06, schrieb Piotr Tworek: It's not forbidden however to ship your own copy of nemo-qml-plugin-notifications as part of your app :) Be aware, that nemomobile notifications API ist not allowed in