Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. How to make a voice call in Qt(maemo) ?
QtWS25 Last Chance

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

Scheduled Pinned Locked Moved Mobile and Embedded
7 Posts 6 Posters 6.7k Views
  • 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 Offline
    R Offline
    riyaj
    wrote on last edited by
    #1

    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
    0
    • K Offline
      K Offline
      kamalakshantv
      wrote on last edited by
      #2

      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
      0
      • C Offline
        C Offline
        chriadam
        wrote on last edited by
        #3

        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
        0
        • F Offline
          F Offline
          fcrochik
          wrote on last edited by
          #4

          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
          0
          • M Offline
            M Offline
            mario
            wrote on last edited by
            #5

            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
            0
            • F Offline
              F Offline
              fcrochik
              wrote on last edited by
              #6

              @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
              0
              • T Offline
                T Offline
                thp4
                wrote on last edited by
                #7

                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
                0

                • Login

                • Login or register to search.
                • First post
                  Last post
                0
                • Categories
                • Recent
                • Tags
                • Popular
                • Users
                • Groups
                • Search
                • Get Qt Extensions
                • Unsolved