×

Discussion Board

Results 1 to 4 of 4
  1. #1
    Registered User
    Join Date
    Feb 2011
    Posts
    5

    How to turn OFF GPS in meego applications

    I'm using Qt/QML to create a location based meego app. My app has failed QA bcoz GPS is still on even after i call the positionSource.stop() method.

  2. #2
    Nokia Developer Champion
    Join Date
    Jul 2011
    Posts
    13

    Re: How to turn OFF GPS in meego applications

    Do you use GPS from QML or C++ ? If the first than see this, you have to set "active: false" in Component.onDestruction for example.

    If you are using C++, than you have to: positionSource->stopUpdates() and QObject::disconnect() to stop updating GPS position.

  3. #3
    Registered User
    Join Date
    Feb 2011
    Posts
    5

    Re: How to turn OFF GPS in meego applications

    I'm using GPS from QML. I have a button which when clicked i set positionsource "active:false" but the app fails QA ostensibly bcoz GPS is still on.

  4. #4
    Nokia Developer Champion
    Join Date
    Jul 2011
    Posts
    13

    Re: How to turn OFF GPS in meego applications

    So you have to contact them, I had a similar problem and I contacted them with a mail.

Similar Threads

  1. turn on flashlight in qt / qml in meego
    By jibiao in forum Nokia N9
    Replies: 3
    Last Post: 2011-11-24, 09:36
  2. Replies: 2
    Last Post: 2010-10-22, 23:35
  3. N900 and turn by turn directions
    By jsbigs in forum General Development Questions
    Replies: 2
    Last Post: 2009-10-07, 16:07
  4. Replies: 0
    Last Post: 2008-10-18, 12:58
  5. Replies: 0
    Last Post: 2006-02-08, 19:40

Posting Permissions

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