iPhone App communication using phone numbers? - iphone

Is it somehow possible to use phone number of receiver to send app messages?
The idea is the user don't have to know anything about ips, etc. just a phone number. Then the app can find this user and send messages (app protocol).
Sorry complete newbie question, but was just wondering if there's a connection… I didn't find any information with search engine…

Yes, you could do this, but it would require both parties to have your app installed and you would likely need to create some sort of intermediate web-based service to store their account information (username, password, phone number, UDID, etc) then use that service to send the app messages from the sender to the receiver.
Assuming both of these users would be using an iPhone it will probably just be easier to wait until iMessage is released with iOS 5 in a month or two since it will work similar to FaceTime in that you can use phone numbers, emails, etc and works between all iOS devices running iOS 5.

Related

How can I make outbound calls with a Twilio number?

I have registered a phone number within twilio to use as "my" phone number.
I set up a simple twiml bin do handle call forwarding to whatever phone SIM/handset I am using right now. So people call my (twilio) number and it forwards to my phone.
However, if I make an outbound call from my phone, of course the callerID is from my SIM, not my twilio number. This confuses people and is inconvenient.
What is the best (easiest) way for me to place calls, using my current phone/SIM/number, but have the call come from my twilio number ?
(I am currently using an iphone, FWIW)
Thanks.
Twilio developer evangelist here.
There are a few options here. You can implement the Twilio Programmable Voice SDK for iOS into an iPhone app that you can then use to make calls from. There are quickstarts and example applications available here: https://github.com/twilio/voice-quickstart-swift#quickstart
Alternatively, you could update your incoming webhook to point at some code that works out if it is your number dialling or not. If it is not, then carry on with the current forwarding behaviour. If it is your number, then ask what number you want to dial and take the digits using <Gather>, then use a <Dial> to make the outbound call.
You could also install a SIP phone app to your device and set up SIP registration. You would then need to set up some TwiML to make outgoing calls from the SIP endpoint.
Just some ideas there. Let me know if that helps at all.
Now there is a Twilio mobile app for iOS and Android called TwiConnect https://twiconnect.com
You can login through your Twilio Account SID, choose one of your Twilio Voice or SMS numbers as a default one, then you will be able to make outgoing calls or send/receive SMS messages usi

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.

CC Transaction in iPhone apps

Sorry I have some sort of question about iphone apps, this is my first time developing with IOS devices that's why I need some suggestions.
Is it allowed to create an apps for IOS devices that contains a transaction with credit card, such as booking reservation or on-line payment/banking?
Lets say that user should log-in first before doing any transaction, for Authentication between the device and web server, any secure way to do this? I mean when logging-in from the device, something like authentication for 1 time login. Any tips or best practice/approach to achieve this?
Well, there is that Square app where they give away the reader which plugs into the audio jack, so others have
2) SSL for encrypted xfer?

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).

Use Address Book for search firstname when receive notification on iphone app

I spend some days to search solution about this trouble :
I have an app wich receive notificaiton from other user. The single data, I have under server side is the number phone. So I want, when the notification is receive on the iphone, to link the number phone of sender to the addressbook of receiver for display, if the number phone is foud, the firstname of the sender to the notification.
This feature is like sms reception on the iphone, where is just the number phone used finally, and is linked to the address book.
The notification system on my app is enabled and run without trouble, but this feature is not resolved, and i found the response nowhere on the net.
Ok, i search more, and i think, this feature could be possible if the app can write under the Localize.string. In fact, it could be possible to write key value, like ("93019320"="Carla") and in the notification text the phone number "93019320" is replace by the string "Carla". But the second question is
Is it possible to write in Localiza.string under app?