×

Discussion Board

Results 1 to 9 of 9
  1. #1
    Registered User
    Join Date
    Jun 2010
    Location
    Nantes, France
    Posts
    37

    Continuous location updates not working

    Hello,

    My application is using QtMobility on a Nokia N97 Mini. But although I have start updates and set an interval, the signal positionUpdated() is never emitted, even when there is a good signal, only the timeout signal is emitted a few seconds later. I can see the satellite icon on top of the phone appearing for a few seconds, disappearing and then reappearing. I don't have any errors on the debug log in QtCreator. It is still able to retrieve the lastKnownPosition but not to get an update.

    qDebug()<<source->supportedPositioningMethods(); returns me -1


    I am compiling with Nokia SDK 1.0 final and running Qt 1.0 RC on the phone (to avoid issues with Location compatibility on Symbian)

    Any ideas ? Thanks
    Last edited by Guilo19; 2010-07-08 at 09:19.

  2. #2
    Super Contributor
    Join Date
    Oct 2008
    Location
    INDIA
    Posts
    2,326

    Re: Continuous locartion updates not working

    Hi, Guilo

    Ya, location API is included in NOKIA Qt SDK.
    Download smart installer for the Symbian device.
    For more information about the location API see this page : http://doc.qt.nokia.com/qtmobility-1...-overview.html

    Best regards,
    RaHuL

  3. #3
    Registered User
    Join Date
    Jun 2010
    Location
    Nantes, France
    Posts
    37

    Re: Continuous locartion updates not working

    Yes, I have followed this example but yet it doesn't update on my N97. Am I missing anything in he parameters of the phone for example ? Or do I need to choose a satellite for my source ? Because everything works fine in the Simulator...

    EDIT : I have tried Lightmaps demo from QtMobility examples. And it stays on "waiting for gps fix" forever. So it seems unable to get an update neither. Is it because of this problem http://labs.trolltech.com/blogs/2010...-nokia-qt-sdk/ ?

    * Location API
    – Due to a packaging bug the shipped version of the Location library is incompatible with Symbian devices.
    What incompatible means ? not launching at all ?

    Is it possible to download Nokia SDK beta somewhere ?

    Thanks
    Last edited by Guilo19; 2010-07-07 at 13:28.

  4. #4
    Super Contributor
    Join Date
    Oct 2008
    Location
    INDIA
    Posts
    2,326

    Re: Continuous locartion updates not working

    Hi, Guilo

    it's true due to a packaging bug the shipped version of the Location library is incompatible with Symbian devices.

    For other version of Nokia Qt beta version you can see this below download page from Qt.

    http://qt.nokia.com/downloads/

    Best regards,
    Rahul

  5. #5
    Registered User
    Join Date
    Jun 2010
    Location
    Nantes, France
    Posts
    37

    Re: Continuous locartion updates not working

    Thanks but there is only the latest version on that page and I haven't found the beta in the archives.

  6. #6
    Registered User
    Join Date
    Jun 2010
    Location
    Nantes, France
    Posts
    37

    Re: Continuous locartion updates not working

    In fact maybe it is not Qt related but phone related. I have tried this outside, with all positioning methods enabled :

    - Ovi Maps - My Position : works instant
    - Location application - GPS Data - Position : No connection
    - Lightmaps from QtMobility project : Never finds a satellite fix
    - My own application : source never updates

    Is there something special to enable gps on this phone ?

    Thanks

  7. #7
    Nokia Developer Expert
    Join Date
    Dec 2009
    Posts
    81

    Re: Continuous locartion updates not working

    Does Location application - GPS Data - Position give you the option to view the satellite signal strengths as you're connecting? The 5800 XpressMusic does that and I find it pretty helpful for working out what's happening if getting a fix takes a while.

  8. #8
    Super Contributor
    Join Date
    Oct 2009
    Posts
    4,326

    Re: Continuous locartion updates not working

    Quote Originally Posted by dalaing View Post
    Does Location application - GPS Data - Position give you the option to view the satellite signal strengths as you're connecting? The 5800 XpressMusic does that and I find it pretty helpful for working out what's happening if getting a fix takes a while.
    You can get this information using QGeoSatelliteInfo class.

  9. #9
    Nokia Developer Expert
    Join Date
    Dec 2009
    Posts
    81

    Re: Continuous locartion updates not working

    On Symbian QGeoSatelliteInfoSource only starts returning information after you've gotten a satellite fix, whereas Location - GPS Data - Position (at least on the 5800 XpressMusic) gives satellite strength information before the fix is acquired.

    That's why I use the Location app to work out what's going on while I'm trying to get a fix.

    The team working on the Symbian backend has changed since I last mentioned the problem with QGeoSatelliteInfoSource, so it's probably time for me to bring it up again. Good thing I read this thread

Similar Threads

  1. continuous bluetotoh disconvery
    By honest_success in forum Mobile Java Networking & Messaging & Security
    Replies: 1
    Last Post: 2009-11-27, 05:17
  2. Continuous Tx in WLAN
    By beyhan.kochali in forum General Development Questions
    Replies: 0
    Last Post: 2009-11-15, 21:02
  3. continuous display
    By vgsymbian in forum Symbian
    Replies: 1
    Last Post: 2007-06-29, 11:54
  4. Continuous Backlight
    By cwfvanoordt in forum Mobile Java General
    Replies: 7
    Last Post: 2004-07-10, 00:48
  5. Continuous alerts from N30
    By vhkauppi in forum Nokia M2M
    Replies: 1
    Last Post: 2003-03-04, 10:46

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×