Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

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

    Mobile and Embedded
    6
    7
    6204
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • R
      riyaj last edited by

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

      1 Reply Last reply Reply Quote 0
      • K
        kamalakshantv last edited by

        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.

        1 Reply Last reply Reply Quote 0
        • C
          chriadam last edited by

          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.

          1 Reply Last reply Reply Quote 0
          • F
            fcrochik last edited by

            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

            Certified Specialist & Qt Ambassador <a href="http://www.crochik.com">Maemo, Meego, Symbian, Playbook, RaspberryPi, Desktop... Qt everywhere!</a>

            1 Reply Last reply Reply Quote 0
            • M
              mario last edited by

              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.

              1 Reply Last reply Reply Quote 0
              • F
                fcrochik last edited by

                @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.

                Certified Specialist & Qt Ambassador <a href="http://www.crochik.com">Maemo, Meego, Symbian, Playbook, RaspberryPi, Desktop... Qt everywhere!</a>

                1 Reply Last reply Reply Quote 0
                • T
                  thp4 last edited by

                  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

                  1 Reply Last reply Reply Quote 0
                  • First post
                    Last post