How send SMS without iMessage - ios

I see how to send SMS with MessageUI ans it's work fine but I need send sms with an iPad cellular but it can't send without iMessage. Someone know if it's possible to send sms for all my phone numbers ?

You can't do it without MFMessageComposeViewController. Apple won't allow to send SMS without user interaction.
As per document
You must not modify the view hierarchy presented by this view controller. You can, however, customize the appearance of the interface using the UIAppearance protocol.
I've alternate solution of this, Alternative way can be Using web service API. Create a web service at server side that send a message to specific number(s) that accept numbers as parameters with request.(according to your requirement)
As using Web server or external sms provider can do it.
http://www.twilio.com/
http://www.nexmo.com/
https://www.tropo.com/

Related

How to make Incoming SMS via Twilio Appear and Generate Notifications in Bitrix

Hi I've integrated Twilio with Bitrix and am able to send outgoing sms that do reach the receiving number, but the incoming reply texts do not appear on the contact profile or generate notifications. To summarize, I need help making incoming sms appear in contact profiles and generate notifications for all/most employees.
I heard one method was to use Bitrix24 webhook for authorization and API REST for data. If this method works then I need a step-by-step on how to do it.
I have limited coding experience.
I've tried generating a Bitrix webhook and setting that as the incoming URL for the text messages in Twilio but the replies still did not appear.
Thanks.

Sending text message SMS without user intervention

Is it possible to send sms via iphone without user intervention? I already know about MessageUI framework and MFMessageComposeViewController class, but this option requires user to click Send button when MGMessageComposeViewController is presented. I would like the device to automatically, without my help send a text message when certain conditions are met. (I have some sensors connected to the device)
No. You can only open a message ready to send but you cannot send it automatically.
If you want to be able to send sms without user's interaction, consider using some third party gateway. TextMagic provides nice api to send sms, but it is not free. At some point it charges you money. But, they have nice and simple api to use.
Look at this,
http://api.textmagic.com/https-api/textmagic-api-commands#send

How to receive sms on my ios app (workaround)?

I know i can't access the sms database of a ios device, but there's no workaround to achieve the same task using other tools?
My app must send an sms (which i do presenting the regular view of the ui message framework and asking the user to send it) and then receive a reply sms.
There's no way to receive this sms? There are online service or whatever can help me to do this?
No, the situation has not changed in recent years: there is no way to read any SMS (except if you're on a jailbroken device).
But one thing you can do is embed an URL in your reply SMS that the user needs to tap. You can then use an URL handler in your app to handle these. Like:
myapp://smsreceived?id=123&result=456
There's plenty of documentation on how to implement URL handlers.

Triggering USSD menu on receiving sms

Is there any way to send USSD menu on receiving sms from user mobile?.
When i am search in google i got following reference
https://github.com/Mobicents/ussdgateway
My question is
Whether i need to buy any api from mobile operator for sending USSD menu? or the software from mobicents is enough for delivering USSD menu. I know network operator support needed when i am dialing any USSD code like *123# to get USSD menu. here i am planning to send USSD menu on receiving sms form user mobile.
You will need an USSD Gateway (i.e: above mobicents ussdgw) to interrogate with the HLRs of mobile operators.
In your case, the USSDGW must have USSD terminating features to push push ussd menu to mobile phone.
The procedure shall be:
1. Receive the sms, then you know the MSISDN and sms content which help to know which service was required.
2. Based on MSIDN, you will retrieve the mobile's IMSI from network
3. Push ussd menu to mobile IMSI network.
The ussdgw will do steps 2,3 for you.
A lot of n/w components comes into picture.
You should have SMSC which can recieve the SMS from the user.
A application which will get this SMS and then wants to send a USSD Menu
A USSD Gateway capable of doing a USSD push.
The application after recieving the SMS, will have the MSC,IMSI,MSISDN of the subscriber
and hence push the USSD menu for the same using USSD Gateway.
A similar question has already been asked and answered on Stack Overflow. Though the solution is for C#, it can be easily replicated on other platforms too.
Some help could be found on this post too.
If you could provide more information, like target geography, type of service - then you might get better help.

How can I read SMS messages from the inbox programmatically in blackberry?

I want to read SMS messages from Inbox,Draft,and sent from my blackberry device programmatically.
Would any one will help me.
There is only way to access SMS messages, implement MessageListener and intercept messages when they are sending/receiving. There is no API to access SMS messages already saved in device memory (i.e already received).
See the BlackBerry Developers Knowledge Base article:
What is - Different ways to listen for SMS messages

Resources