Location QML Plugin



  • 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



  • noone knows about it ?



  • 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



  • 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.



  • 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 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]



  • 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.


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.