This question already has an answer here:
Closed 11 years ago.
Possible Duplicate:
IPhone creating a chat application
hi..
i want to integrate chating functionality with push notifications concepts for iphone.Can anybody Explain regarding this and what is process for this?
About explaining the Push-method: http://en.wikipedia.org/wiki/Push_technology
The push-method describes a style of Internet-based communication where the request for a given transaction is initiated by the publisher or central server.
It is contrasted with pull technology, where the request for the transmission of information is initiated by the receiver or client.
In short: your server pushes a message to your app, and your app listens to that. Instead of updating each time yourself, your server basically decides when to update your app.
Related
This question already has answers here:
VOIP using XMPP Framework in iPhone [closed]
(3 answers)
Closed 9 years ago.
I want to make voice/video calls between iPhones App using WiFi/Internet. How should I do that? I don't want to make calls on service provider number. It will make calls between apps on different iPhones like skype.
I didn't fount any way to search. I am getting confuse how to start working on it.
U need to use VOIP service, there are lots of VOIP API but maximum are paid.
check apple doc:
http://developer.apple.com/library/ios/#documentation/iPhone/Conceptual/iPhoneOSProgrammingGuide/AdvancedAppTricks/AdvancedAppTricks.html
Check This also
Twillo
This question already has answers here:
Closed 10 years ago.
Possible Duplicate:
Is an iPhone Call Recorder theoretically possible?
I am an iPhone devleoper.
I want to record the conversation during phone call.
I don't know apple is allowing to do this or not.
If yes, than can anybody guide me how can i do this?
Basically In my app ,I am recording 1 audio .
Now when i call someone from my contact ,I want to play that audio as well as record the conversation.
Both play and record thing I want.
I am confused whether it is possible or not.
There is no public API for recording the calls made (or received) by the built-in Phone app.
You will have to implement your own phone calling mechanism. You'll probably want to use VoIP. (That is what Google Voice uses, for example.) You'll need to run your own server on the Internet, or contract with an existing VoIP service. You'll want to use in-app purchase to let the user buy minutes, because it costs money to run your own server or use a third-party service.
There is no public API for this. No app headed for the App Store can record phone calls made with the standard Phone app.
This question already has answers here:
Closed 10 years ago.
Possible Duplicate:
How to make a chat system on iPhone?
I have created a tab bar application there I want to create a chat module.
Basically, I want a chat module when we start chat with my some of friend and after chat is completed all the chat video will be stored in my local app.
I need one module, from there I will create a chat module and store in the local app. Does somebody know how to create chat functionality have any related code?
What do you know about socket programming? Will you be writing the server software yourself, or are you using something that already exists?
You could take a look at the CFNetwork Programming Guide for some information on the networking side of things.
i m making an application where data is accesed from website and displayed with an application.i have made an action which will tell the user that new data has arrived.this will work properly if the application is open .but if the application is closed than ,is there any way to tell the user that new data has arrived ,,so that he can open the application and check the data?
If you are using the Apple Push Notification Service (APNs), your messages will be delivered whether the application is running or not. For information on how to control what information is presented to the user, read the Apple Push Notification Programming Guide.
You should use Apple Push Notification Service, like codelark said.
I would recommend looking into Urban Airship for help getting started. It's a third party service, but it makes things much easier. Urban Airship does have their own tutorials and code samples which may be easier than Apple's.
As a follow up to the reference to apple push notification, as of ios4.0 I believe you, you may have a few more options, 1) you can send local notifications (just like push notifications, but they originate from inside your app) that could be timed to be delivered even if the app is not running..assuming you know approximately how long it will take for data to arrive. 2) if your data update will occur soon after the app closed.. your app can request a certain amount of time to complete an operation (even though the user has closed the app) and wait for the data, then send a local notification to tell the person to come back into the app. 3) if your functions based on gps updates, music streaming, or voip you can set a flag so your app continues to run in the background
sorry for the unstructuredness of the answer, this was just off the top of my head, hope it helps
This question already has answers here:
Closed 11 years ago.
Possible Duplicate:
How to programmatically send SMS on the iPhone?
is it possible to send sms through programming in iPhone/iPod applications.
There are two answers to this question:
1 - Not really.
2 - Of course!
Using OS3.x, you can sorta kinda almost do it. You can programmatically bring the user to the built-in SMS drafting application and you can pre-populate the "TO:" field. However, you cannot programmatically generate the message to be sent.
Using OS4.0 (currently in Beta) you can (according to these guys http://iphonesdkdev.blogspot.com/2010/04/mfmessagecomposeviewcontroller-sample.html) present a modal view of the SMS drafting application, or, rather you can show the user something that looks and behaves like the built-in SMS application without actually taking them out of your program (google MFMessageComposeViewController) and populate all of the fields... you can even provide more than one destination address for the SMS/MMS message.
That being said, there is no way of sending SMS messages without first presenting those messages to the user. At which point the user is free to either send them, not send them, or modify them before sending them.
You can set the body in iOS 4. Please cf the documentation.
It is possible to initiate a sms message using the sms:<phone-no> URL. It is however not possible to fill in any content in the sms, nor is it possible to automatically send the sms.
More details are available in this Apple article.