×
Namespaces

Variants
Actions

How to use Qt.openUrlExternally in QML

From Nokia Developer 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.
103 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.

×