Re: [SailfishDevel] QGeoSatelliteInfoSource in Sailfish

2014-02-02 Thread christopher . lamb
Hi Aaron Adding that information proved easier than I had expected: it just took a few minutes during breakfast! void SatInfoSource::onSatsInViewUpdated(const QList &list) { int newInView = list.count(); if (newInView != _satsInView) { qDebug() << "satInfoSource.cpp: onSat

Re: [SailfishDevel] QGeoSatelliteInfoSource in Sailfish

2014-02-02 Thread christopher . lamb
Aaron I will have to write some more code to spit out the sat ids to the debug console. At the moment my SatInfoSource declarative plugin is ultra-simple, it just exposes the numbers of Sats InView and InUse, nothing more. At the moment my hypothesis is based on the circumstantial evidenc

Re: [SailfishDevel] QGeoSatelliteInfoSource in Sailfish

2014-02-02 Thread Aaron McCarthy
Hi, On Sat, 1 Feb 2014 10:37:59 christopher.l...@thurweb.ch wrote: > A slight correction to my previous post > > I think that the high number of Sats in View shown on the Jolla means > that it is showing both GPS and Glonass Satellites, and thus gives a > figure almost double of that I was used t

Re: [SailfishDevel] QGeoSatelliteInfoSource in Sailfish

2014-02-01 Thread christopher . lamb
Hi all A slight correction to my previous post I think that the high number of Sats in View shown on the Jolla means that it is showing both GPS and Glonass Satellites, and thus gives a figure almost double of that I was used to from the Nokia N9 and classic GPS devices. Comparing variou

Re: [SailfishDevel] QGeoSatelliteInfoSource in Sailfish

2014-01-31 Thread christopher . lamb
Hi Marcel I can confirm that I am getting QGeoSatelliteInfoSource info too. SatsInUse is changing, before levelling out at 4, which is plausible as I am sitting inside. But SatsInView jumps straight to 17 and stays at 17. This figure seems less plausible to me. It maybe down to a bug in my

Re: [SailfishDevel] QGeoSatelliteInfoSource in Sailfish

2014-01-31 Thread Marcel
Hi, just a small note if everyone else is waiting for this: QGeoSatelliteInfoSource is working since Sailfish 1.0.3.8 The only problem here is what the system (GPS/GLONASS) is not set, it is QGeoSatelliteInfo::Undefined. But this shouldn't be a real problem to nearly all apps. Greetings, Marc

Re: [SailfishDevel] QGeoSatelliteInfoSource in Sailfish

2014-01-13 Thread christopher . lamb
Hi Aaron Zitat von "Aaron McCarthy" : Hi, Just a missing BuildRequires in the rpm spec file for Qt Location. Sometimes it is the simplest things ... Chris ___ SailfishOS.org Devel mailing list

Re: [SailfishDevel] QGeoSatelliteInfoSource in Sailfish

2014-01-12 Thread Aaron McCarthy
Hi, On Mon, 13 Jan 2014 08:01:43 christopher.l...@thurweb.ch wrote: > Zitat von "Aaron McCarthy" : > > Hi, > > > > Unfortunately, due to a build configuration issue, the satellite interface > > is not available in the current released version. The issue has already > > been fixed and will be rele

Re: [SailfishDevel] QGeoSatelliteInfoSource in Sailfish

2014-01-12 Thread christopher . lamb
Hi Aaron Zitat von "Aaron McCarthy" : Hi, Unfortunately, due to a build configuration issue, the satellite interface is not available in the current released version. The issue has already been fixed and will be released with a future update. Thanks for the confirmation that this is not yet

Re: [SailfishDevel] QGeoSatelliteInfoSource in Sailfish

2014-01-12 Thread Aaron McCarthy
Hi, On Sun, 12 Jan 2014 15:15:13 Marcel wrote: > I'm trying to get satellite information using QGeoSatelliteInfoSource, but I > cannot create a default source. Is it not implemented in Sailfish? I know > that Sailfish is using Geoclue, and there is a commit in Qt for supporting > the Geoclue Satel

Re: [SailfishDevel] QGeoSatelliteInfoSource in Sailfish

2014-01-12 Thread christopher . lamb
Hi Marcel Thanks for posting your code. In the meantime I have dug out and posted the SatInfoSource demo I played around with at Christmas - at the time on the Emulator (my Jolla only arrived on the 30th Dec). https://github.com/sailfishapps/ThrowawayDemos/tree/master/Kaputt/SatInfoSourceD

Re: [SailfishDevel] QGeoSatelliteInfoSource in Sailfish

2014-01-12 Thread Marcel
Hi Chris, I've pushed my existing code to github for you, but be warned, it is chaotic, and my first "real" qt project. There is a lot to do... https://github.com/balta3/sailfish-gpsinfo The QML position source is working here, and you can see the compass access, too. Is there any existing QML

Re: [SailfishDevel] QGeoSatelliteInfoSource in Sailfish

2014-01-12 Thread christopher . lamb
Hi Marcel. The fast response is pure self interest - I am fighting with GPS code myself right now! Are you using SatelliteinfoSource from C++ or QML? on Harmattan I wrote my own C++ plugin to expose SatsInuse and SatsInView to QML as this was not available in QML for Qt Mobility 1.2 Loca

Re: [SailfishDevel] QGeoSatelliteInfoSource in Sailfish

2014-01-12 Thread Marcel
Hi Chris, Thanks for the quick response on a sunday... I've already seen that there is no GPS in the Emulator, but since Friday I have my own Jolla device :) As first project I'm trying to create a simple app showing the GPS infos similiar to "GPS Info Qt" on Symbian. QML PositionSource (and i

Re: [SailfishDevel] QGeoSatelliteInfoSource in Sailfish

2014-01-12 Thread christopher . lamb
Hoi Marcel Good to see a fellow Sailfish GPS hacker at work. I am fighting with PositionSource (in QML), but have not got as far as SatelliteInfoSource on a real device - but I hope to soon, as the app I am porting has a C++ plugin to expose SatelliteInfoSource to QML. You don't state what

[SailfishDevel] QGeoSatelliteInfoSource in Sailfish

2014-01-12 Thread Marcel
Hi, I'm trying to get satellite information using QGeoSatelliteInfoSource, but I cannot create a default source. Is it not implemented in Sailfish? I know that Sailfish is using Geoclue, and there is a commit in Qt for supporting the Geoclue Satellite interface: https://qt.gitorious.org/qt/qtl