×
Namespaces

Variants
Actions
(Redirected from Making phone call in Qt)

Making phone call in Qt on Symbian

From Nokia Developer Wiki
Jump to: navigation, search

This article describes how to make a call using Qt Archived:Mobile Extensions on Symbian. Qt Mobility 1.2 does not currently (23rd Feb 2012) support Telephony operations.

Article Metadata
Tested with
Devices(s): Nokia 5800 XpressMusic
Compatibility
Platform(s): S60 3rd Edition FP1, S60 3rd Edition FP2, S60 5th Edition
Symbian
Platform Security
Capabilities: NetworkServices
Article
Keywords: XQTelephony
Created: mind_freak (20 Jul 2009)
Last edited: kiran10182 (24 Oct 2013)

Warning.pngWarning: The Qt Archived:Mobile Extensions on which this article depends are deprecated.

  • The DialPad project (also in SDK) shows how you can wrap the appropriate Symbian C++ classes directly
  • Qt Quick developers can call Qt.openUrlExternally with a "tel" URL to open a phone call
    Qt.openUrlExternally("tel:<number>")
  • Qt Mobility has a planned "Telephony Events API": This is not yet available in Qt Mobility 1.2.1

Contents

Overview

With the Mobile Extensions Telephony API you can make phone calls from your Symbian device. You can also use the API to notify you when the phone call status changes

Preconditions

Install the Qt SDK (recommended when Using Symbian C++ in the Qt SDK).

Headers required

#include <XQTelephony>

Source code

Making a call

XQTelephony *telephony = new XQTelephony(this);
telephony->call("+919464763259");//caller number

Receiving Call

XQTelephony *telephony = new XQTelephony(this);
connect(telephony,SIGNAL(lineStatusChanged(XQTelephony::LineStatus,QString)),
this,SLOT(handleStatusChange(XQTelephony::LineStatus,QString)));


Related links

Archived:Mobile Extensions

This page was last modified on 24 October 2013, at 11:11.
80 page views in the last 30 days.