Sending SMS and making phone call from app on Android and iOS
-
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 -
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 -
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@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. -
@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.@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-worx Thanks for reply. This approach will do well on Android. But do you know any projects with SMS on iOS ?
Best,
Marek@Marek
i have no iOS experience. So i can't help here.
But i am sure that it can be found easily using google.