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. Sending SMS and making phone call from app on Android and iOS

Sending SMS and making phone call from app on Android and iOS

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
5 Posts 2 Posters 936 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.
  • M Offline
    M Offline
    Marek
    wrote on last edited by
    #1

    Hi all,

    I need to make an app which can send text SMS in background (action invoked by button on application) and make a phone call (this can bring up built in phone widget to make a call)
    It should work on Android and iOS. I have seen some examples using JNI on Android to send SMS, but how about iOS? As I understand there is no Qt way to do that?
    Can I expect any troubles uploading these apps, especially to AppStore?

    Best,
    Marek

    1 Reply Last reply
    0
    • M Offline
      M Offline
      Marek
      wrote on last edited by
      #2

      so here is pretty good description and I think I need to use mfmessagecomposeviewcontroller which should open sms composer inside my app with filled in body and to and then user presses send button. So the question is will this composer open inside Qt/QML app ? since it is some GUI element.
      I have used earlier some iOS native elements to block screen going blank or keep audio running when app is in background, but they did not have any gui.

      Best,
      Marek

      raven-worxR 1 Reply Last reply
      0
      • M Marek

        so here is pretty good description and I think I need to use mfmessagecomposeviewcontroller which should open sms composer inside my app with filled in body and to and then user presses send button. So the question is will this composer open inside Qt/QML app ? since it is some GUI element.
        I have used earlier some iOS native elements to block screen going blank or keep audio running when app is in background, but they did not have any gui.

        Best,
        Marek

        raven-worxR Offline
        raven-worxR Offline
        raven-worx
        Moderators
        wrote on last edited by raven-worx
        #3

        @Marek said in Sending SMS and making phone call from app on Android and iOS:

        So the question is will this composer open inside Qt/QML app ?

        not directly nor easily.
        You should rather do the GUI in QML and only use native API (e.g. for Android) to send an SMS.
        On Android you can easily use an Intent for making a phone call.

        --- SUPPORT REQUESTS VIA CHAT WILL BE IGNORED ---
        If you have a question please use the forum so others can benefit from the solution in the future

        M 1 Reply Last reply
        1
        • raven-worxR raven-worx

          @Marek said in Sending SMS and making phone call from app on Android and iOS:

          So the question is will this composer open inside Qt/QML app ?

          not directly nor easily.
          You should rather do the GUI in QML and only use native API (e.g. for Android) to send an SMS.
          On Android you can easily use an Intent for making a phone call.

          M Offline
          M Offline
          Marek
          wrote on last edited by
          #4

          @raven-worx Thanks for reply. This approach will do well on Android. But do you know any projects with SMS on iOS ?

          Best,
          Marek

          raven-worxR 1 Reply Last reply
          0
          • M Marek

            @raven-worx Thanks for reply. This approach will do well on Android. But do you know any projects with SMS on iOS ?

            Best,
            Marek

            raven-worxR Offline
            raven-worxR Offline
            raven-worx
            Moderators
            wrote on last edited by
            #5

            @Marek
            i have no iOS experience. So i can't help here.
            But i am sure that it can be found easily using google.

            --- SUPPORT REQUESTS VIA CHAT WILL BE IGNORED ---
            If you have a question please use the forum so others can benefit from the solution in the future

            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