Namespaces
Variants
Actions

Making phone call in Qt on Symbian

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

Platform Security
Capabilities: NetworkServices

Article
Keywords: XQTelephony
Created: mind_freak (20 Jul 2009)
Last edited: hamishwillee (11 Oct 2012)
Warning.png
Warning: 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 11 October 2012, at 04:17.
93 page views in the last 30 days.
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved