Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Open the Nokia Maps application with QML or a Qt Widget application

    QML and Qt Quick
    2
    7
    2744
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • P
      pascal95abc last edited by

      Hello,

      I want to open the Nokia Maps application with defined coordinates for the center location.
      No "Maps"-object should be used, I want the actual application to open with coordinates like in the POIs menu and then "show on map" does.

      Thank you

      Qt 4.7.3
      Symbian OS v9.4 / Symbian^1, S60 5th Edition
      on N97

      1 Reply Last reply Reply Quote 0
      • G
        GentooXativa last edited by

        Try using
        @ Qt.openUrlExternally("geo:61.446943,23.86449")@

        That open the current device map on that location.

        Jose Vicente Giner Sanchez - Senior Mobile Developer

        www.gigigo.com

        C/ Dr. Zamenhof 36bis, 1ºA 28027 Madrid
        T: +34 917431436

        1 Reply Last reply Reply Quote 0
        • P
          pascal95abc last edited by

          Thanks, this is great.
          Now, I want this with my Qt Widget Based Mobile Application, i.e. C++ too, integrating it in a on_pushButton_clicked() event for example. How to do so?


          I gonna try...:
          QDesktopServices::openUrl()

          Qt 4.7.3
          Symbian OS v9.4 / Symbian^1, S60 5th Edition
          on N97

          1 Reply Last reply Reply Quote 0
          • P
            pascal95abc last edited by

            error: no matching function for call to 'QDesktopServices::openUrl(const char [23])'

            Qt 4.7.3
            Symbian OS v9.4 / Symbian^1, S60 5th Edition
            on N97

            1 Reply Last reply Reply Quote 0
            • P
              pascal95abc last edited by

              Now trying... QDeclarativeEngine

              Qt 4.7.3
              Symbian OS v9.4 / Symbian^1, S60 5th Edition
              on N97

              1 Reply Last reply Reply Quote 0
              • P
                pascal95abc last edited by

                Now trying... QDeclarativeEngine

                The result is:
                undefined reference to `QDeclarativeEngine::QDeclarativeEngine(QObject*)'

                unable to edit replys, (I already cleared cache and cookies) error message:
                Error 503 Service Unavailable

                Service Unavailable
                Guru Meditation:

                XID: 111677548

                Varnish cache server

                Qt 4.7.3
                Symbian OS v9.4 / Symbian^1, S60 5th Edition
                on N97

                1 Reply Last reply Reply Quote 0
                • P
                  pascal95abc last edited by

                  QDesktopServices::openUrl(QUrl("geo:61.446943,23.86449")) did not work, the browser opened, that was fine, but then the intern error message with a red warning sign popped up: "web site not found"

                  I refer to
                  http://www.developer.nokia.com/Community/Wiki/How_to_launch_other_applications_in_Qt

                  This shall be moved to Mobile and EMbeded

                  Edit:
                  To make this complete, I should link to "this thread":http://qt-project.org/forums/viewthread/15826 I found right now and it is very disappointing.

                  Qt 4.7.3
                  Symbian OS v9.4 / Symbian^1, S60 5th Edition
                  on N97

                  1 Reply Last reply Reply Quote 0
                  • First post
                    Last post