External App Nokia Drive
-
-
Honestly, I'm not even quite sure about your question. Do you need help in creating such an application? Do you want to know if there is already such an application? Do you want to know if you are allowed to name your application "Nokia Drive" (which I doubt)?
-
EDIT: This unfortunately don't seem to currently work on Symbian, it might still work on Harmattan. Maybe someone with N9 can verify this?
Here is how you can launch Nokia Maps from QML code:
@Qt.openUrlExternally("geo:50.1354488,14.4332199")@
And here is the same using C++
@#include <QDesktopServices>
#include <QUrl>...
QDesktopServices::openUrl(QUrl("geo:50.1354488,14.4332199"));@
-
[quote author="Mika Hanhijärvi" date="1333223518"]Here is how you can launch Nokia Maps from QML code:
@Qt.openUrlExternally("geo:50.1354488,14.4332199")@
And here is the same using C++
@#include <QDesktopServices>
#include <QUrl>...
QDesktopServices::openUrl(QUrl("geo:50.1354488,14.4332199"));@[/quote]
I'm programming in C++ and the method with QDesktopServices not run... have you found this on API? if yes where?
-
Sorry, I should have checked this before posting.
My examples were based on these wiki articles:
For QML:
http://www.developer.nokia.com/Community/Wiki/How_to_use_Qt.openUrlExternally_in_QMLFor C++:
http://www.developer.nokia.com/Community/Wiki/How_to_launch_other_applications_in_QtHowever it seems that on Symbian it currently is not possible to launch Nokia Maps neither from QML by using Qt.openUrlExternally(), nor from C++ by using QDesktopServices::openUrl(). It's probably because there has been big changes in Nokia Maps, it's actually Nokia Maps Suite now. Or maybe this is only workin on MeeGo Harmattan?
Eg. launching email client works just fine on Symbian, but it currently does not seem to be possible to launch Nokia Maps using those methods.