Qt Forum

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

    Call for Presentations - Qt World Summit

    Location QML Plugin

    QML and Qt Quick
    2
    7
    3126
    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.
    • H
      huluyige last edited by

      Hi everyone,

      Im working on an application for symbian, and now i would like to get location of the cell phone and show it in google map.

      My question is : which API i can use? is QML capable to do all this? if yes, are there any examples?

      ps: i found out that i can use QT Mobility , but i also found out there are plugins for QML (location, map etc).

      Thanks advance for your advices

      1 Reply Last reply Reply Quote 0
      • H
        huluyige last edited by

        noone knows about it ?

        1 Reply Last reply Reply Quote 0
        • Alicemirror
          Alicemirror last edited by

          Mmh, the question of the title of this post is about the location of the plugin. About this, if it can help you, I give you a link to another post where some other users clearly discussed and explained to me the question. I had the problem using applications for desktop. The link is "here":http://developer.qt.nokia.com/forums/viewthread/4440/

          About the other question, Qt mobility and Qt api containt the needed class to solve your problem. So, is a class or a feature is supported by Qt, it is exposed and work on all the environments supported: maemom, Symbian, Desktops

          Enrico Miglino (aka Alicemirror)
          Balearic Dynamics
          Islas Baleares, Ibiza (Spain)
          www.balearicdynamics.com

          1 Reply Last reply Reply Quote 0
          • Alicemirror
            Alicemirror last edited by

            For the api you should use, I searched to be sure, these are the Location API in Qt Mobility. You can find them in your Qt Creator documentation: search under Help => Index => "location" or go to the following link (Qt mobiliti location api documentation): "http://developer.qt.nokia.com/forums/viewthread/1068":http://developer.qt.nokia.com/forums/viewthread/1068

            Tell me if it is sufficient.

            Enrico Miglino (aka Alicemirror)
            Balearic Dynamics
            Islas Baleares, Ibiza (Spain)
            www.balearicdynamics.com

            1 Reply Last reply Reply Quote 0
            • H
              huluyige last edited by

              Thank you very much Alicemirror,

              I found somethings very interesting, now , i got a specific problem.

              for the qml map element,

              Map{
              plugin : Plugin {
              name : "nokia"
              }
              }

              we can do this to use OVI Map, but if we want to use google map, do you know what the plugin's name is ? or i have to write my own plugin?

              [quote author="Alicemirror" date="1300801320"]For the api you should use, I searched to be sure, these are the Location API in Qt Mobility. You can find them in your Qt Creator documentation: search under Help => Index => "location" or go to the following link (Qt mobiliti location api documentation): "http://developer.qt.nokia.com/forums/viewthread/1068":http://developer.qt.nokia.com/forums/viewthread/1068

              Tell me if it is sufficient.[/quote]

              1 Reply Last reply Reply Quote 0
              • H
                huluyige last edited by

                [quote author="huluyige" date="1300887510"]Thank you very much Alicemirror,

                I found somethings very interesting, now , i got a specific problem.

                for the qml map element,

                @Map{
                plugin : Plugin {
                name : "nokia"
                }
                }@

                we can do this to use OVI Map, but if we want to use google map, do you know what the plugin's name is ? or i have to write my own plugin?

                [quote author="Alicemirror" date="1300801320"]For the api you should use, I searched to be sure, these are the Location API in Qt Mobility. You can find them in your Qt Creator documentation: search under Help => Index => "location" or go to the following link (Qt mobiliti location api documentation): "http://developer.qt.nokia.com/forums/viewthread/1068":http://developer.qt.nokia.com/forums/viewthread/1068

                Tell me if it is sufficient.[/quote]

                [/quote]

                1 Reply Last reply Reply Quote 0
                • Alicemirror
                  Alicemirror last edited by

                  Hi,

                  I have not yet used mobility in my developments, but if you search in the wiki on the mobility pages (and in the local Qt documentation too) I think that there is your answer. What I thought, but it is only an intuition, is that the plugin needs to work with mobility api and it seems me strange that these are limited to ovi maps. But it is possible. So, in this case, if you don't find nothing more in google probably you need to wrtie your own plugin.

                  Enrico Miglino (aka Alicemirror)
                  Balearic Dynamics
                  Islas Baleares, Ibiza (Spain)
                  www.balearicdynamics.com

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