Namespaces

Variants
Actions

Please note that as of October 24, 2014, the Nokia Developer Wiki will no longer be accepting user contributions, including new entries, edits and comments, as we begin transitioning to our new home, in the Windows Phone Development Wiki. We plan to move over the majority of the existing entries over the next few weeks. Thanks for all your past and future contributions.

How to use Qt.openUrlExternally in QML

From Wiki
Jump to: navigation, search

This article demonstrates how to use the QML method Qt.openUrlExternally to make phone calls, send emails and open web links etc.

Article Metadata
Tested with
SDK: Nokia Qt SDK 1.1.3
Devices(s): N9,N950
Compatibility
Platform(s):
Symbian
Dependencies: QtQuick1.0
Article
Created: vineet.jain (16 Dec 2011)
Last edited: hamishwillee (11 Oct 2012)

Contents

Making a phone call

Qt.openUrlExternally("tel:012345xxxxx")

Opening a web link on the device browser

Qt.openUrlExternally("http://m.youtube.com/")

Opening the Email editor with subject & body of email

Qt.openUrlExternally("mailto:someusername@servicename.com?subject=email editor opened & body=sometext")

Opening the native map application with desired co-ordinates

MeeGo

Qt.openUrlExternally("geo:61.446943,23.86449")

Symbian

Qt.openUrlExternally("http://m.ovi.me/?c=61.446943,23.86449")

Opening a file from device's folder

Qt.openUrlExternally("file:///home/user/MyDocs/Pictures/sample.jpg")
This page was last modified on 11 October 2012, at 01:20.
172 page views in the last 30 days.

Was this page helpful?

Your feedback about this content is important. Let us know what you think.

 

Thank you!

We appreciate your feedback.

×