Discussion Board

Results 1 to 10 of 10
  1. #1
    Registered User Diph's Avatar
    Join Date
    Jun 2009
    Posts
    9
    It seems that Nokia Qt SDK is still not up to date for Maemo (mobility libraries in phone differs from libraries in SDK). I have compiled GPS application using current SDK, new version of MADDE and scratchbox and when I try to run the application it crashes randomly. Before Maemo PR 1.2 the application worked fine.
    Now when it's working I'm unable to get any coarse accuracy location information (network positioning etc.), but when the phone is able to get information from satellites it's working. Mobility libraries in phone are from device's built-in repositories (not from extras-devel). Do you have any idea what might be wrong? Any help appreciated.

  2. #2
    Nokia Developer Moderator divanov's Avatar
    Join Date
    Oct 2009
    Posts
    4,326
    Quote Originally Posted by Diph View Post
    It seems that Nokia Qt SDK is still not up to date for Maemo (mobility libraries in phone differs from libraries in SDK).
    Yes, there are no Qt Mobility libraries on the phone.

    Quote Originally Posted by Diph View Post
    I have compiled GPS application using current SDK, new version of MADDE and scratchbox and when I try to run the application it crashes randomly.
    Where is the source code of that application?

    Quote Originally Posted by Diph View Post
    Before Maemo PR 1.2 the application worked fine.
    This basically means nothing.

    Quote Originally Posted by Diph View Post
    Now when it's working I'm unable to get any coarse accuracy location information (network positioning etc.), but when the phone is able to get information from satellites it's working. Mobility libraries in phone are from device's built-in repositories (not from extras-devel).
    What is exact version of the libraries. Qt Mobility was erased from extras-devel.

    Quote Originally Posted by Diph View Post
    Do you have any idea what might be wrong?
    Whatever could be wrong.

  3. #3
    Registered User Diph's Avatar
    Join Date
    Jun 2009
    Posts
    9
    Quote Originally Posted by divanov View Post
    Yes, there are no Qt Mobility libraries on the phone.
    I've installed them from the repositories (not from extras-devel). E: From Nokia Applications repository.

    Quote Originally Posted by divanov View Post
    Where is the source code of that application?
    For example lightmaps example. Before PR 1.2 the I was able to get position information using non-satellite position methods. Now just position info with empty latitude and longitude.

    Quote Originally Posted by divanov View Post
    What is exact version of the libraries. Qt Mobility was erased from extras-devel.
    libqtm-location 1:1.0.0-maemo1+0m5

  4. #4
    Registered User Diph's Avatar
    Join Date
    Jun 2009
    Posts
    9
    Here is a backtrace when calling QGeoPositionInfoSource::startUpdates():

    Code:
    0x40b661dc in location_gpsd_control_start () from /usr/lib/liblocation.so.0
    0x40b661dc <location_gpsd_control_start+44>:	ldr	r3, [r3]
    (gdb) bt
    #0  0x40b661dc in location_gpsd_control_start () from /usr/lib/liblocation.so.0
    #1  0x4003813c in QtMobility::LiblocationWrapper::start() ()
       from /usr/lib/libQtLocation.so.1
    #2  0x4003ad1c in QtMobility::QGeoPositionInfoSourceMaemo::startLocationDaemon() () from /usr/lib/libQtLocation.so.1
    #3  0x4003aed4 in QtMobility::QGeoPositionInfoSourceMaemo::startUpdates() ()
       from /usr/lib/libQtLocation.so.1
    This doesn't happen every time...

  5. #5
    Nokia Developer Moderator divanov's Avatar
    Join Date
    Oct 2009
    Posts
    4,326
    I do not observe any problems so far. I've compiled lightmap from 1.0.0 Qt Mobility branch
    http://qt.gitorious.org/qt-mobility/...-tarball/1.0.0

  6. #6
    Registered User Diph's Avatar
    Join Date
    Jun 2009
    Posts
    9
    Quote Originally Posted by divanov View Post
    I do not observe any problems so far. I've compiled lightmap from 1.0.0 Qt Mobility branch
    http://qt.gitorious.org/qt-mobility/...-tarball/1.0.0
    You have mobility libraries from the Nokia Applications repository in the phone? Which libraries you use in building?

  7. #7
    Nokia Developer Moderator divanov's Avatar
    Join Date
    Oct 2009
    Posts
    4,326
    Quote Originally Posted by Diph View Post
    You have mobility libraries from the Nokia Applications repository in the phone? Which libraries you use in building?
    The same libraries as on the phone 1:1.0.0-maemo1+0m5.

  8. #8
    Registered User xalioth's Avatar
    Join Date
    Oct 2009
    Posts
    2
    I have the same problem for my app. Basically using PR 1.2 QtLocation library on the phone ends up with very slow location detection, even though "coarse" position is available after only a couple of seconds (I know that by clicking on the OS antenna icon in the status bar).. It seems to me that indeed only the satellite positions are reported.
    Thanks,
    Fabien

  9. #9
    Registered User Diph's Avatar
    Join Date
    Jun 2009
    Posts
    9
    I tried Mobility Beta libraries (compiled from sources) and non-satellite positioning method is working as expected. I even tried libaries compiled from Mobility projects master branch and non-satellite positioning method is not working.

  10. #10

Similar Threads

  1. Qt Creator code completion not working with Qt Mobility for Symbian
    By ceefour in forum [Archived] Qt Mobility Project
    Replies: 4
    Last Post: 2011-09-10, 05:02
  2. Privacy functions in Location Based Browsing in i-mode
    By k41s in forum Geolocation and Navigation
    Replies: 1
    Last Post: 2009-09-04, 11:43
  3. Mobile location?
    By SanjayKhuntia in forum Mobile Java Tools & SDKs
    Replies: 1
    Last Post: 2008-07-24, 19:39
  4. No rule to male target
    By arayappan_it in forum Carbide.c++ IDE and plug-ins (Closed)
    Replies: 4
    Last Post: 2008-02-28, 10:49
  5. Replies: 2
    Last Post: 2007-08-09, 14:22

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved