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.
Related
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,
I want to develop an app which records the call-duration etc.. when a call is finished. So is it possible to start my app when the user finishes his call.
App is currently not running and then
User Finishes his Call ---> My app should open up the moment he finishes his call giving me the details about call duration etc.. and then i ask for some comments on that page and exit the app.
I already made such an app in Android,Blackberry.
P.S: Even if it works on a jailbroken iPhone it is good enough for me.
There's no way to do this on a regular iPhone. Apple's APIs don't allow you to interfere with phone calls at all.
Not sure about jailbroken phones though. In theory, you can do anything, it just depends on how much time you're willing to spend on it. Good luck.
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.
I'm building a little dialing program for my kids so that only 4 "safe" numbers are available for them to dial. I'd like to start the app, hand them the phone and have the app be the only thing running until they come back home.
Is there a way to keep the application running and prevent the iPhone from shutting down the app?
The iPhone SDK does not allow this. Any application can be exited when the user presses the home button. In fact if your program takes too long to exit (e.g. infinite loop) it will forcefully close your application.
If you must have this behavior, your best bet would be to jailbreak the phone in which case anything could pretty much be done.
Not with Apple's SDK, no.
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).