November 15, 2010

riyaj riyaj
Lab Rat
1 posts

how to make a voice call in Qt(maemo) ?

 

we want to trigger a phone call from our Qt (Maemo) application , .. please guide us what header files/ classes we need for it, thanks

6 replies

November 15, 2010

QtK QtK
Lab Rat
1140 posts

It was possible with XQTelephony. Check this [wiki.forum.nokia.com] link

But now with Qt Mobility QtTelephony should be handling it. But could not locate any api in this module for making call. Although call monitoring and other info is provided.

November 16, 2010

chriadam chriadam
Ant Farmer
181 posts

The Qt Telephony Events API used to be a candidate for the 1.1.0 release of Qt Mobility, but was removed for various reasons (in particular, it wasn’t “broad” enough in scope, I believe).

In any event, currently there is no Qt or Qt Mobility API to make calls, as far as I know. You’ll have to use Maemo-specific APIs to do so (most likely, using the Telepathy library, I think).

Cheers,
Chris.

November 25, 2010

fcrochik fcrochik
Lab Rat
517 posts

Starting a call on maemo5 using telepathy isn’t too hard. Have a look at http://maemo.crochik.com/qt-development/telepathy [maemo.crochik.com] and make sure to let me know if you need any further help

 Signature 

Certified Specialist & Qt Ambassador Maemo, Meego, Symbian, Playbook, RaspberryPi, Desktop… Qt everywhere!

November 25, 2010

mario mario
Lab Rat
240 posts

Is it possible to use QDesktopServices::openUrl(“tel:+<phonenumber>”).

At least it works on symbian from a href on a webpage. It will open a dialog and ask the user if it’s ok to do the call.

November 26, 2010

fcrochik fcrochik
Lab Rat
517 posts

@mario
I haven’t tested but I am pretty sure it will work because you can just type an URL like “tel://+..” and it will start the phone application. It will not start the call but will launch the application and before launching the phone application will launch the browser application. For an occasional use maybe OK.

 Signature 

Certified Specialist & Qt Ambassador Maemo, Meego, Symbian, Playbook, RaspberryPi, Desktop… Qt everywhere!

December 2, 2010

thp thp
Lab Rat
35 posts

If you just want to initiate a phone call, you can also use the Maemo 5-specific D-Bus API:

http://wiki.maemo.org/Phone_control#Make_a_phone_call

There are also lots of other examples there. Instead of using the dbus-send command line utility, you can use the QtDBus module to make the D-Bus calls:

http://doc.trolltech.com/latest/qtdbus.html

 
  ‹‹ Does QT on Symbian^3 use OpenVG as rendering backend by default?      Qt confused ››

You must log in to post a reply. Not a member yet? Register here!