Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. How to send text message from desktop application.
Forum Updated to NodeBB v4.3 + New Features

How to send text message from desktop application.

Scheduled Pinned Locked Moved Unsolved General and Desktop
7 Posts 5 Posters 3.2k Views 3 Watching
  • 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.
  • A Offline
    A Offline
    anmol2701
    wrote on last edited by
    #1

    Anybody can guide in sending text message from Desktop application.

    1 Reply Last reply
    0
    • VRoninV Offline
      VRoninV Offline
      VRonin
      wrote on last edited by
      #2

      There is Twiio but since they do not support C++ (or even C) you'll have to use the JavaScript API wrapped in your app

      "La mort n'est rien, mais vivre vaincu et sans gloire, c'est mourir tous les jours"
      ~Napoleon Bonaparte

      On a crusade to banish setIndexWidget() from the holy land of Qt

      Paul ColbyP 1 Reply Last reply
      1
      • mrjjM Offline
        mrjjM Offline
        mrjj
        Lifetime Qt Champion
        wrote on last edited by
        #3

        Looks pretty cool but it seems it has start cost of
        "one-time setup fee of $650 " ?
        or did read that wrong ?

        https://www.twilio.com/sms/pricing

        1 Reply Last reply
        0
        • VRoninV Offline
          VRoninV Offline
          VRonin
          wrote on last edited by
          #4

          None of these services are free (for obvious reasons) sinch doesn't look to have a one-off fee

          "La mort n'est rien, mais vivre vaincu et sans gloire, c'est mourir tous les jours"
          ~Napoleon Bonaparte

          On a crusade to banish setIndexWidget() from the holy land of Qt

          mrjjM 1 Reply Last reply
          1
          • VRoninV VRonin

            None of these services are free (for obvious reasons) sinch doesn't look to have a one-off fee

            mrjjM Offline
            mrjjM Offline
            mrjj
            Lifetime Qt Champion
            wrote on last edited by
            #5

            @VRonin
            well would also just be bad
            business model if all was free :) ( for them)

            It does seems they are good to start with

            "The Sinch SMS API is enabled to send SMS at prices starting from just $0.005. Pay as you go. No additional monthly fees. No commitments."

            thx :)

            1 Reply Last reply
            0
            • jazzycamelJ Offline
              jazzycamelJ Offline
              jazzycamel
              wrote on last edited by jazzycamel
              #6

              Twilio is $650 if you want to use a short code in the US. Otherwise, you just pay $1 per month per number and then the per message charge.

              Also, you can use the REST API and just do simple POST/GET requests (using QNetworkAccessManager for example). I've done this successfully with python and the requests module.

              For the avoidance of doubt:

              1. All my code samples (C++ or Python) are tested before posting
              2. As of 23/03/20, my Python code is formatted to PEP-8 standards using black from the PSF (https://github.com/psf/black)
              1 Reply Last reply
              3
              • VRoninV VRonin

                There is Twiio but since they do not support C++ (or even C) you'll have to use the JavaScript API wrapped in your app

                Paul ColbyP Offline
                Paul ColbyP Offline
                Paul Colby
                wrote on last edited by
                #7

                @VRonin said:

                There is Twiio but since they do not support C++ (or even C)

                There is a third-party (read: unsupported) C++ library for Twilio - https://github.com/laurentluce/twilio-cplusplus

                There's probably others too, but I used that one successfully a couple of years ago (with gcc C++ on CentOS).

                Cheers.

                1 Reply Last reply
                2

                • Login

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