Re: [SailfishDevel] QGeoSatelliteInfoSource in Sailfish
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: onSatsinViewUpdated: " << QString::number(newInView, 'g', 2); for (int i = 0; i < newInView; i++ ) { qDebug() << "satsInView: id: " << list[i].satelliteIdentifier() << ", system: " << list[i].satelliteSystem() << ", strength: " + list[i].signalStrength(); } _satsInView = newInView; emit satellitesInViewChanged(newInView); } } The for loop is new, and gives the following output. [D] SatInfoSource::onSatsInViewUpdated:59 - satInfoSource.cpp: onSatsinViewUpdated: "23" [D] SatInfoSource::onSatsInViewUpdated:61 - satsInView: id: 1 , system: 0 , strength: [D] SatInfoSource::onSatsInViewUpdated:61 - satsInView: id: 3 , system: 0 , strength: [D] SatInfoSource::onSatsInViewUpdated:61 - satsInView: id: 6 , system: 0 , strength: [D] SatInfoSource::onSatsInViewUpdated:61 - satsInView: id: 11 , system: 0 , strength: [D] SatInfoSource::onSatsInViewUpdated:61 - satsInView: id: 14 , system: 0 , strength: [D] SatInfoSource::onSatsInViewUpdated:61 - satsInView: id: 17 , system: 0 , strength: [D] SatInfoSource::onSatsInViewUpdated:61 - satsInView: id: 19 , system: 0 , strength: [D] SatInfoSource::onSatsInViewUpdated:61 - satsInView: id: 20 , system: 0 , strength: [D] SatInfoSource::onSatsInViewUpdated:61 - satsInView: id: 22 , system: 0 , strength: [D] SatInfoSource::onSatsInViewUpdated:61 - satsInView: id: 27 , system: 0 , strength: [D] SatInfoSource::onSatsInViewUpdated:61 - satsInView: id: 28 , system: 0 , strength: [D] SatInfoSource::onSatsInViewUpdated:61 - satsInView: id: 32 , system: 0 , strength: [D] SatInfoSource::onSatsInViewUpdated:61 - satsInView: id: 74 , system: 0 , strength: [D] SatInfoSource::onSatsInViewUpdated:61 - satsInView: id: 66 , system: 0 , strength: [D] SatInfoSource::onSatsInViewUpdated:61 - satsInView: id: 82 , system: 0 , strength: [D] SatInfoSource::onSatsInViewUpdated:61 - satsInView: id: 73 , system: 0 , strength: [D] SatInfoSource::onSatsInViewUpdated:61 - satsInView: id: 80 , system: 0 , strength: [D] SatInfoSource::onSatsInViewUpdated:61 - satsInView: id: 65 , system: 0 , strength: [D] SatInfoSource::onSatsInViewUpdated:61 - satsInView: id: 88 , system: 0 , strength: [D] SatInfoSource::onSatsInViewUpdated:61 - satsInView: id: 87 , system: 0 , strength: [D] SatInfoSource::onSatsInViewUpdated:61 - satsInView: id: 81 , system: 0 , strength: [D] SatInfoSource::onSatsInViewUpdated:61 - satsInView: id: 67 , system: 0 , strength: [D] SatInfoSource::onSatsInViewUpdated:61 - satsInView: id: 72 , system: 0 , strength: Interestingly neither system nor strength give expected output. Sometimes I get garbled output like: [D] SatInfoSource::onSatsInViewUpdated:59 - satInfoSource.cpp: onSatsinViewUpdated: "21" [D] SatInfoSource::onSatsInViewUpdated:61 - satsInView: id: 1 , system: 0 [D] SatInfoSource::onSatsInViewUpdated:61 - satsInView: id: 3 , system: 0 Updates requested, but no satellite info source available [D] SatInfoSource::onSatsInViewUpdated:61 - satsInView: id: 6 , system: 0 ates requested, but no satellite info source available [D] SatInfoSource::onSatsInViewUpdated:61 - satsInView: id: 11 , system: 0 Stop Updates requested, but no satellite info source available [D] SatInfoSource::onSatsInViewUpdated:61 - satsInView: id: 14 , system: 0 Updates requested, but no satellite info source available [D] SatInfoSource::onSatsInViewUpdated:61 - satsInView: id: 19 , system: 0 [D] SatInfoSource::onSatsInViewUpdated:61 - satsInView: id: 22 , system: 0 requested, but no satellite info source available [D] SatInfoSource::onSatsInViewUpdated:61 - satsInView: id: 27 , system: 0 ates requested, but no satellite info source available [D] SatInfoSource::onSatsInViewUpdated:61 - satsInView: id: 28 , system: 0 Stop Updates requested, but no satellite info source available Grüsse Chris Zitat von christopher.l...@thurweb.ch: 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 evidence that new newer devices (Jolla and Galaxy) show roughly double the number of older GPS only devices (N9, Garmin). Cheers Chris Zitat von "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
Re: [SailfishDevel] Carsten Munk FOSSDEM talk
I would expect it to show up here: http://video.fosdem.org/2014/ once they edited and transcoded everything (if it was recorded ofc) On Fri, Jan 31, 2014 at 12:23 AM, Rigoberto Calleja < rigober...@alumni.cmu.edu> wrote: > Hi, > > Is Carsten's Munk talk at FOSSDEM going to be streamed or recorded? > > Thanks! > > ___ > SailfishOS.org Devel mailing list > -- Silviu VULCAN www.silviuvulcan.ro Animals are such agreeable friends, they ask no questions, they pass no criticism. ___ SailfishOS.org Devel mailing list
Re: [SailfishDevel] QGeoSatelliteInfoSource in Sailfish
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 evidence that new newer devices (Jolla and Galaxy) show roughly double the number of older GPS only devices (N9, Garmin). Cheers Chris Zitat von "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 to from the Nokia N9 and classic GPS devices. Comparing various devices I get the following readings: Sats in use / Sats in View / Device / Technology 6 / 9 / Nokia N9 / GPS only 5 / 20 / Jolla / GPS and Glonass 15 / 21 / Samusung Galaxy Note 3 / GPS and Glonass 9 / Garmin GPSmap 60CSx / GPS only So the Sats in View figure of the Jolla is plausible. Interestingly the Jolla's Sats In Use figure - at least in the tests on my terrace this morning - is consistently lower than that displayed by the other devices. I show 15 for the Galaxy above, but have seen readings of 18 and 19. What are the satellite identification numbers for these satellites. Satellites 65 to 88 are GLONASS. Others are GPS. Does this match your hypothesis? Cheers, -- Aaron McCarthy ___ SailfishOS.org Devel mailing list ___ SailfishOS.org Devel mailing list
Re: [SailfishDevel] QGeoSatelliteInfoSource in Sailfish
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 to from the Nokia N9 and > classic GPS devices. > > Comparing various devices I get the following readings: > > Sats in use / Sats in View / Device / Technology > > 6 / 9 / Nokia N9 / GPS only > > 5 / 20 / Jolla / GPS and Glonass > > 15 / 21 / Samusung Galaxy Note 3 / GPS and Glonass > > 9 / Garmin GPSmap 60CSx / GPS only > > So the Sats in View figure of the Jolla is plausible. > > Interestingly the Jolla's Sats In Use figure - at least in the tests > on my terrace this morning - is consistently lower than that displayed > by the other devices. I show 15 for the Galaxy above, but have seen > readings of 18 and 19. What are the satellite identification numbers for these satellites. Satellites 65 to 88 are GLONASS. Others are GPS. Does this match your hypothesis? Cheers, -- Aaron McCarthy ___ SailfishOS.org Devel mailing list
Re: [SailfishDevel] How to access the viewfinder of the QCamera?
Den 25. jan. 2014 21:22, skrev Marcel: Or if I use C++ implementing an own QAbstractVideoSurface as viewfinder for a QCamera object (which would be my prefered way as I want to precess the image data) I get the following error: [W] CameraBinSession::processBusMessage:912 - CameraBin error: "No common caps" After some digging in the gstreamer debug log it seems that the camera source is just supporting the data format video/x-android-buffer and there is no equivalent QVideoFrame::PixelFormat for this. Have you tried making gstreamer use "droidcamsrc" instead of "camerabin2"? ___ SailfishOS.org Devel mailing list
Re: [SailfishDevel] QtContacts and Calendar access doesn't work after update.
Matthias I connect via ssh as user nemo by calling the following from a terminal on my development workstation: ssh -p 22 -i ~/.ssh/jolla_rsa nemo@192.168.2.17 See the link below for more details how to connect: http://flyingsheeponsailfish.blogspot.ch/2014/01/connecting-to-jolla-with-rsa-key-file.html Once connected as user nemo, I change to user root by: devel-su The password is the one shown on the Jolla under Settings / Developer Mode / Developer Tools. Once connected as root execute the following commands: cd /usr/share/mapplauncherd cp privileges privileges.old echo /usr/bin/landed26_QT5,p >> privileges replace landed26_QT5 with the name of your app. The "p" permission is for "people" Grüsse Chris Zitat von "Matthias Barmeier" : Could you please give me a link hon how to connect to the phone with permissions that will allow me to edit this file. Thanks. Am 01.02.2014 13:02, schrieb Bernd Wachter: Andrey Kozhevnikov writes: same here for QtContacts: contactsdatabase.cpp:1028 static QSqlDatabase ContactsDatabase::open(const QString&): "Unable to create contacts database directory: /home/nemo/.local/share/system//privileged/Contacts/qtcontacts-sqlite Add your application to /usr/share/mapplauncherd/privileges (this will be overwritten on system updates, and only suitable for use on your phone, not for harbour) ___ SailfishOS.org Devel mailing list ___ SailfishOS.org Devel mailing list ___ SailfishOS.org Devel mailing list
Re: [SailfishDevel] QtContacts and Calendar access doesn't work after update.
Could you please give me a link hon how to connect to the phone with permissions that will allow me to edit this file. Thanks. Am 01.02.2014 13:02, schrieb Bernd Wachter: Andrey Kozhevnikov writes: same here for QtContacts: contactsdatabase.cpp:1028 static QSqlDatabase ContactsDatabase::open(const QString&): "Unable to create contacts database directory: /home/nemo/.local/share/system//privileged/Contacts/qtcontacts-sqlite Add your application to /usr/share/mapplauncherd/privileges (this will be overwritten on system updates, and only suitable for use on your phone, not for harbour) ___ SailfishOS.org Devel mailing list ___ SailfishOS.org Devel mailing list
Re: [SailfishDevel] How to access the viewfinder of the QCamera?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Hi, I would also be really interested in how to do this, since I see the same error. So did anyone succeed in using the camera with a viewfinder in QML? Or is this just not supported at the moment? Any comments from Jolla on this? Regards Stefan Brand Am 25.01.2014 21:22, schrieb Marcel: Hi, how can I access the viewfinder of the camera in Qt on SailfishOS? If I try it in QML like this: Camera { id: qmlCamera } VideoOutput { source: camera focus: visible } Or if I use C++ implementing an own QAbstractVideoSurface as viewfinder for a QCamera object (which would be my prefered way as I want to precess the image data) I get the following error: [W] CameraBinSession::processBusMessage:912 - CameraBin error: "No common caps" After some digging in the gstreamer debug log it seems that the camera source is just supporting the data format video/x-android-buffer and there is no equivalent QVideoFrame::PixelFormat for this. Is there really no possibility to access the viewfinder in Qt? Then how is the camera app doing that? Greets, Marcel ___ SailfishOS.org Devel mailing list -BEGIN PGP SIGNATURE- Version: OpenPGP.js v.1.20131017 Comment: http://openpgpjs.org wkYEAREIABAFAlLuptUJEEaIfXQX7obRAABSPwCggiulaqRQ3pUIWb1KNGGZ DZ/xbBUAn143muIsrc0lYCFsoGRgvoQX/3so =IV7g -END PGP SIGNATURE- ___ SailfishOS.org Devel mailing list
Re: [SailfishDevel] dbus-sessionbus connection fails
Hi You should run your daemon form user systemd unit. https://wiki.archlinux.org/index.php/Systemd/User On 1 February 2014 21:53, Kimmo Lindholm wrote: > Hi, > > I'm using QtDBus in my daemon (systemd service), and I can register my own > service on systemBus, and also can connect to systembus signals. > When starting executable from command line it runs ok and connects also to > the sessionbus signals successfully. > but when it is started via systemctl start I can't connect to sessionbus > signals. > > It throws following error: "Using X11 for dbus-daemon autolaunch was > disabled at compile time, set your DBUS_SESSION_BUS_ADDRESS instead" > > this is printed from code below: > > if (!QDBusConnection::sessionBus().isConnected()) > { > writeToLog(qPrintable(QDBusConnection > ::sessionBus().lastError().message())); > exit(EXIT_FAILURE); > } > > I figured out that DBUS_SESSION_BUS_ADDRESS is an environment variable > which obviously is not visible in this context. > > is there a way to pass this to the systemd service?? > > regards, > Kimmo > > > ___ > SailfishOS.org Devel mailing list > ___ SailfishOS.org Devel mailing list
Re: [SailfishDevel] Charts to app
Hi, You could try PyOtherSide QML plugin to get access to matplotlib (2d plotting library for Python). Pyotherside's github repository contains an example using matplotlib(and numpy). Python 3 and PyOtherSide QML plugin should be now available on the device but, however, these are not installed by default. -Mikko You could try pyotherside 02.02.2014 13:39, Jukka Heikkilä kirjoitti: Hi, I'm seeking way to show data in charts (e.g. Bar Chart or Line Chart) to my program. Is there any library which Jolla Harbour will accept? I found the Qt Commercial Charts, but I assume that they won't accept it, or do you have any other thoughts? I have seen some implementations with Canvas, so you have to take care all drawing by your self. Thanks for your help! - Jukka @Juukks ___ SailfishOS.org Devel mailing list ___ SailfishOS.org Devel mailing list
[SailfishDevel] SDK update
Hi. I have Mer VM and emulator version 2013.10.18-0 installed on Windows, will VM disk image will be overwriten during update to 2013.12.10-1 and i loose everything installed in VM? ___ SailfishOS.org Devel mailing list
[SailfishDevel] Charts to app
Hi, I'm seeking way to show data in charts (e.g. Bar Chart or Line Chart) to my program. Is there any library which Jolla Harbour will accept? I found the Qt Commercial Charts, but I assume that they won't accept it, or do you have any other thoughts? I have seen some implementations with Canvas, so you have to take care all drawing by your self. Thanks for your help! - Jukka @Juukks ___ SailfishOS.org Devel mailing list