Sending SMS message via private frameworks / APIs - iphone

I have a very quick turnaround for a kiosk style app for a client. It will not be placed on the AppStore, hence my query about private frameworks.
Is there a way to send an email or SMS automatically without getting the user to hit a 'send' button. I want to send it in the background of an app if possible.
Any information would be appreciated.
Cheers
Niall

U may try CTMessageCenter.
U can send SMS without user interation. Only in code.

I don't know about private API in iOS, but there are a number of SMS services that you can use. Here's a thread on that topic:
SMS REST Service?

Related

How to send mass notification to all users who is using my application

i am developing a Facebook application using PHP SDK. According to FB Developer docs, notifications can be send with this metdod;
POST /{recipient_userid}/notifications?access_token= … &template= … &href= …
but This Methot let me send notification to user with "{recipient_userid}" value. But i am trying to send all users a notification. How can i do it?
By finding all members who is using Application and in a loop one by one Notification sending?
thank you for your Help.
I haven't try this yet but i think facebook batch requests is the answer.
https://developers.facebook.com/docs/reference/api/batch/
I frequently have to send notification to all my app users (about 30000 users) and it takes too long. Sending by one by method can't let you send instant notification for all your users, if it works, then it will be also possible.

Add a new sms into iPhone inbox programmatically

I searched all already asked questions here on Stack Overflow, and all of them deal with "sending" an SMS programmatically to another phone and that is NOT what I want.
I want to just add an SMS to the inbox, without using the cellular network or any other service and write a from "my_company_name" etc. Basically I want to avoid making the user or my company pay for the SMS. I know about push notifications and I will use them as well, but I need SMSs.
I thought about that maybe, if the user sends the SMS to himself it would be free of charge, but that "seems" to be not true at all.
The Messages app (and its notification UIs) only displays messages that come in over SMS or iMessage. What you're looking for isn't possible with public API.
As there is no public API available to do this (I guess you already now that), you'll have to go for the private APIs.
You might want to take a look at the source code of BigBoss's WifiSMS. This app allows one to control the iPhone's SMS system thru your computer. I haven't tested it myself yet, but BigBoss is a pretty credible application creator when it comes to jailbroken devices.

unable to upload app on itunes because of CTMessageCenter?

I used this code in my app in order to send background sms
But i am not able to upload app on itunes it says:using non public api
#class CTMessageCenter;
can any one tell me any way to send schedule sms when application is in background
or
can any one tell me any way to send sms without presenting SMS composer
There is no "legal" (aka permitted by Apple) way to do this.
The only work around I can assume is having a webservice on a server side, which would be the one sending the messages. You're app should communicate with the server and tell him what to do (text, hour...)
You cant :) why would apple let you send sms on peoples behalf?

auto sms when user is busy

I'm a Objective-C / iPhone newbie. I want to develop an app that would automatically send an SMS message when the user is busy. I don't know how to go about it, please help me.
You cannot send an SMS message without user interaction on the iPhone using the public APIs. The only supported way to do it is using the MFMessageComposeViewController class.
There may be a way if you're developing for jailbroken devices (I don't know anything about that), or you could have the program contact some sort of web service that would send the SMS message for you (i.e. the message would come from the service, not the device).

iPhone Programming: Send a text message? Access contact list?

I'm still new to the API and I wanted to ask:
Can you send a text message programmatically?
Can you access the users contact list programmatically?
I'm thinking no. I haven't seen anything about text messaging in the API, and I figure the sandboxing that the iPhone does keeps you away from the phones contact list.
Thanks everyone.
1) I'm afraid you can't send SMS with the iPhone SDK although you can make a link to send an SMS like so:
a href="sms:408-555-5555">408 555 5555</a>
2) You can access the contact list with the Address Book UI framework
one way round the sms/mms problem is to use an external aggregator then you can utilise http between a server and the iphone to send sms obviously there is a cost involved this way to the developer
Yes You can build an app to send SMS.
All u need a server API, which u gonna call through ur code, to send sms.
I am saying this bcoz i am currently working on it.
As soon as i m done with my app,i am gonna share it.
http://shishir.com?from=shishir&to=shishir&message=hi&sandbox=false&username=user&password=pass
u hv to pass values through URL.
will go in deep very soon.
regards
shishir