How to make a voice call in Qt(maemo) ?
-
It was possible with XQTelephony. Check "this":http://wiki.forum.nokia.com/index.php/Making_phone_call_in_Qt 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.
-
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. -
Starting a call on maemo5 using telepathy isn't too hard. Have a look at "http://maemo.crochik.com/qt-development/telepathy":http://maemo.crochik.com/qt-development/telepathy and make sure to let me know if you need any further help
-
@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. -
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: