[SailfishDevel] QGeoSatelliteInfoSource in Sailfish
Marcel
marcel at aliquis.de
Sun Jan 12 16:17:11 UTC 2014
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 component for SatelliteInfoSource? I try to
access it in C++ as I could not find any in the Qt documentation.
Greetings,
Marcel
Am Sonntag, 12. Januar 2014 schrieb christopher.lamb at thurweb.ch:
> 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
> Location.
>
> If you have example of working QML PositionSource code I would love to
> see it, as I get errors when I call the start() method on a real Jolla
> - this is the subject of another thread which I will update in the
> next few minutes
>
> Grüsse
>
> Chris
>
> p.s. I think during Christmas I wrote a throwaway demo for
> SatelliteInfoSource on Qt5, I will dig that out again and give it a
> whorl on my Jolla.
>
>
>
>
> Zitat von Marcel <marcel at aliquis.de>:
>
> > 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 in C++ QGeoPositionInfoSource) is working without
> > problems on my real device (besides the accuracies are the same as stated
in
> > my first mail), so I can access the hardware, but there seems to be
something
> > missing for the SatelliteInfoSource.
> >
> > Greetings,
> > Marcel
> >
> > Am Sonntag, 12. Januar 2014 schrieb christopher.lamb at thurweb.ch:
> >> 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 target you are using.
> >>
> >> If your target is the Emulator, then I don't think you will be able to
> >> get SatelliteInfoSource working. Evidently the Emulator has no real
> >> GPS hardware, and as far as I know there is not (yet) a working
> >> simulator plugin that would provide SatelliteInfoSource.
> >>
> >> You should find a thread on this topic in this mailing-list from
> >> around Christmas time.
> >>
> >> Grüsse
> >>
> >> Chris
> >>
> >>
> >> Zitat von Marcel <marcel at aliquis.de>:
> >>
> >> > 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/qtlocation/commit/e09d297894a8b4ff9b06317169b5a9eb97aa7162
> >> >
> >> > Is this missing in the Sailfish-Qt-packages? Is the satellite interface
> >> > missing in the Sailfish-Geoclue? Is it another problem? Can I access
the
> >> > satellite information in another way?
> >> >
> >> > Another small partly related problem I found then using the GPS is the
> >> > following: If you use QGeoPositionInfoSource the VerticalAccuracy and
the
> >> > HorizontalAccuracy are always the same, is this normal behaviour?
> >> >
> >> > Greetings,
> >> > Marcel
> >> > _______________________________________________
> >> > SailfishOS.org Devel mailing list
> >> >
> >>
> >>
> >>
> > _______________________________________________
> > SailfishOS.org Devel mailing list
>
>
>
More information about the Devel
mailing list