Is it possible to write an application that will block incoming and outcoming phone calls? Or is the iPhone locked down too much? Thanks!
Anything that modifies a user's ability to make or receive phone calls is going to run afoul of Apple's basic approach to third-party apps. There are a lot of things that are questionable and you might get away with. Blocking calls is clearly forbidden.
Apps cannot block phone calls. The user can turn on Airplane Mode in the settings, though.
A number of events will potentially interrupt an application - incoming call, SMS message or calendar alert. If the user ignores the interruption your application will continue running. If not, it will terminate.
See Apple docs for more details.
Well, what I think the guy is asking and I have thought of this myself is to have an app where you can chose to block certain numbers from ever ringing the phone.
I personally would see where some people would want this. Such as blocking an ex-girlfriend/boyfriend from ringing your phone of the hook.
Pre-iPhone I had a series of Palms. My last Treo had a really useful app (forget the name, sorry) that did exactly what Elliot was asking (I think). I had the free version whih allowed me to enter up to 5 numbers that I could selectively choose to send to voice mail or block completely - both gave no indication whatsoever of an incoming call. You could also use one of the 5 spots to specify an any number like 1-800-*-**. I've been searching for a similar iPhone app and from what I have read above, it sounds like Apple has an issue with such an app (too bad) - which I don't really understand but the older I get, the more used to not understanding I get :).
The answer has been given earlier in this thread but no one even bothered to acknowledge it. The app is called iBlacklist and it's available in Cydia for $12. However, it will only allow you to block 2 numbers for FREE.
The reason iBlacklist is not even acknowledged is because its costs $12 and your iPhone must be hacked into or jailbroken.
An app has not access to the phone feature, and has no way to block a call.
The alternative is to wait for Apple to offer that feature in the future.
In the meantime, you can
- Ask your provider - some providers do that
- Create a custom ring tone (silent) to be associated to some number (no ring).