I need to develop an App that reacts on the voice of the caller - so the participant in the phone call who is 'not there'.. specifically:
Someone calls me and stops speaking. The app should alarm me saying "participant stopped speaking" (it does not matter if the sense of the app seems stupid for you now ;-))
My question is just - is this technically possible? Since apps normally are paused as soon as a phona call comes in. I know they can be restarted during the phone call - but can they react on the voice on the other side of the line or is this only possible for my own voice?
If you think its possible, any special things i have to know?
Thanks a lot!
tim
This is not possible. Because when any call comes in iPhone our application loose control and it goes in background.
With official SDK it is not possible to intercept any phone calls.
Hope this helps.
This is not valid IDEA using standard SDK, though you can do this using some other IDEA's one of them is CYDIA.
Thanks,
Related
how can I stop all incoming calls using iphone programming.
Is it possible in IOS please help?
Nope, it's not possible. When a call comes in, your appp will be exited to switch to the Phone app.
There might be a way with a jailbroken phone, but I don't delve in that.
is it possible to wake an App in the background up, when a call comes in, and access CoreTelephony to send some infos over the web?
I'm practically a n00b in iOS development right now, but got asked a question if iOS is capable to do this. I searched in the iOS reference too, but with no luck.
It would be great if someone with more experience could answer it. Thanks a lot!
Steno
Please, have a look at the document about executing code in the background.
If you go to section "Implementing a VoIP Application", you will see that it is actually possible for your app to be awaken periodically so that it can check if it has anything to do (in your case, if I understand you correctly you would use CTCall to check for calling state).
So, basically, when awaken, your app could check for any incoming call and then use Core Telephony, as you say.
The only trouble about this is that if your app cannot be considered to a a VOIP app, Apple will not let it into the App Store.
It is not possible to have your code run when a call is received.
how to regognize that user call somebody from code?(means i have an app and want to do sth when user call somebody)
You can't do that I'm afraid, firstly your app won't be running when they are calling someone and secondly you can't access the phone functions from the SDK. Might be possible with a background process on a jail broken phone.
This is not possible, not through code nor through notifications. You can't do anything to stop this, when a phonecall comes in, your application gets suspended, like as if you'd press home in iOS 4 and it will multitask if it has been programed to do so. Have a look at the UIApplication implementations for multitasking and do your work there.
Is there any way that I can develop an application that is running in the background that will detect when a call is being made, start a timer and then alert me at any set time, say before 5 minutes?.
I used to do a lot of iPhone programming but I haven't done any in 6 months. Is there any way to do this now?. Can anyone point me in the right direction?. Thank you.
Look at the documentation for callEventHandler in CoreTelephony. It's not exactly what you want, but read the discussion carefully. You'll be able to use this to do what you want in some cases. If your app is available for full blown background multitasking, then using it might even be reliable.
Is it possible to create an iPhone application to answer incoming voice calls and play audio files back to the caller? If yes, before answering the call, is it possible to determine the caller id?
Thanks!
This is not possible using the SDK. You can most likely do it with a jailbroken app.
iPhone applications (non-jailbreak apps, at least) cannot intercept phone calls. When a phone call is initiated, your app is paused and cannot execute any commands.
Essentially, count on never being able to prevent basic functionality of the iPhone. You can't override texting behaviour, Mail.app behaviour, Safari behavior, etc. because Apple wants the user experience to be consistent (not to mention security issues in allowing an app to answer calls on someone's behalf).