Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Nov 2010

    Symbian can't obtain user's position

    Hello, Forum!

    I have the Symbian/MeeGo project which uses qt-mobility to obtain user's location. The problem is that the following code works fine on Meego (Nokia N9) and doesn't work at all on Symbian (tested on C6-01 and N8). It looks like the GPS adapter starts fine but it can't receive any position info. So we can see the "Satellite" icon near system clock but no coordinates are receiving. I've tested in a different conditions (inside/outside building, different weather conditions) and the result is always the same.

    What can be the reason of this behaviour?

    My code:

    CONFIG += mobility
    MOBILITY += location
    symbian:TARGET.CAPABILITY += NetworkServices Location
    #include <QGeoPositionInfoSource>
    #include <QGeoPositionInfo>
    #include <QDebug>
       QGeoPositionInfoSource* mManager;
    private slots:
       void newPos(QGeoPositionInfo);
     mManager = QGeoPositionInfoSource::createDefaultSource(this);
     connect(mManager, SIGNAL(positionUpdated(QGeoPositionInfo)),
                this, SLOT(newPosition(QGeoPositionInfo)));
    void QmlContext::newPosition(QGeoPositionInfo pos){
        qDebug() << pos;

  2. #2
    Nokia Developer Champion
    Join Date
    Jan 2008
    Moscow, Russia

    Re: Symbian can't obtain user's position

    I guess you must start listening for position updates.
    Getting the location in Qt

Similar Threads

  1. How to obtain the Virtual Keyboard height in Symbian^3/Anna/Belle?
    By hajjar in forum Symbian User Interface
    Replies: 1
    Last Post: 2012-04-05, 05:58
  2. How to obtain program capabilities in Symbian pre v9
    By sashaslonmailer in forum Symbian Signed Support, Application Packaging and Distribution and Security
    Replies: 2
    Last Post: 2008-02-26, 08:59
  3. Replies: 1
    Last Post: 2002-12-06, 05:18
  4. getting user's number
    By Nokia_Archive in forum Browsing and Mark-ups
    Replies: 1
    Last Post: 2002-05-15, 18:41

Posting Permissions

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