how to identifying Iphone incoming call and display notification? [closed] - iphone

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
i need to create application like identify incoming call in iphone and check that incoming call number in our database. then want to display notification what information stored in database for that particular number. These all functions want run when user receiving call.
is this possible ?

You probably want to start your search in CoreTelephony. That being said, if a call comes in, iOS's call-handling events will take over your app. In other words, your app will be suspended when the call comes in, and move back to the foreground when the call is complete. You can use CoreTelephony to get access to the CTCallCenter, which contains an array of CTCalls (calls in progress). CTCall does not contain the phone number for the call, to my knowledge though. Furthermore, you can't stop iOS from backgrounding your app to handle the call.

Related

Can you add a function to your iphone messages app? [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
Ok so I am curious if you can add a function to you iphones messages app? If you open the messages app in the top right corner you can hit edit, which then allows you to delete and forward the selected messages. Is there a way to add another function to that? Or even a way you can access these messages through another app (like a program that then has messages running through it).
I am basically trying to have an app where a user can sent someone else messages by selecting which ones they want the other user to see. It would basically be like taking a screen shot of the phone but taking a screen shot then sending it is too complicated and can include a message you don't want the other user to see.
I am 100% sure there is no way to change the behavior of the built-in Messages app on an iOS devices without jailbreaking.
I am 99% sure that Apple does not provide any hooks for getting information from a users Messages app.

Restrict incoming call iphone app [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
I want to create an iPhone app that would restrict incoming calls and SMS from a given phone number.
The phone would not ring or light up the screen. It simply would not do
anything when a call was received from that number. Also, in the recent call list, the number should not show up. When user opens my app, it would show the black list numbers.
Is this possible to develop, and will Apple approve this?
Nope, you can't interfere with calls or SMSes in any way.
There is absolutely no way to do this and still be accepted in the App Store. No API provided by Apple can do anything like this. I don't know what more I can say to answer this.
Maybe Core Telephony would help you take a different approach. Even some things that you can do with that could prevent your app from being accepted into the App Store.
First, I don't think it's even possible to intercept an incoming call. All processes have a priority assigned to them, and phone calls are one of the highest (more so than standard apps), so an app can't interrupt a higher priority process.
Secondly, it's not possible for an app was able to intercept an incoming call (or SMS), as that's a major security flaw. Your app can only access the contents of its sandbox (and some shared directories, such as photos).

Receiving text and email [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 11 years ago.
I need to know if it is possible to develop an application to read and reply to SMS and email. If so, how could this be done (what library/class needs to be used). I've searched all apps there isn't an app that does this. There's only an app that requires you to set your email and constantly checks for new message however SMS I'm not sure if there's an app that does this thereby I'm not sure if it could be done. Thanks,
Regards,
Heba
Without a jailbroken iPhone, no. You can't interact with the other native applications beyond what the APIs provide (i.e. accessing the photos and media library). Like the other e-mail application, you could fake the e-mail situation by requiring them to provide you their servers and credentials. However, you really can't access the SMS history nor respond to them.

IPhone SDK 4 background process for incoming call [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 11 years ago.
I would like to track (run some code - or invoke function) when the user get an incoming call.
for example: for every call the user receive I want to save the number, and check something during or before the call is answered (with a background process..)
Until now without the background processing I couldn't find a way to do this. But I'm still not sure it is possible.
Anyone with information about the new sdk 4 can help me?
You can register for notifications using CTTelephony and your app will NOT terminate while the call is in progress. Control is returned to the app at the conclusion of the call and then you can get the phone number.
All of this is useless for apps to be published in the App Store until Apple approves use of the CTTelephony API.
There is nothing in the published material that would suggest that there's any change. The seven types of multitasking listed were:
Background Audio
Voice Over IP
Location Services
Push Notifications
Local Notifications
Task Completion
Fast App Switching
Intercepting normal cell calls doesn't really fit into any of those categories.

IPhone creating a chat application [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 9 years ago.
I want to create a chat sort of application on the iphone. I know how I would go about implementing a poll model, where the iphone would poll the server to see if any messages have arrived and if they have it can retrieve them and show them to the user. However im more intersted in a push model, where the server pushes new messages to the iphone and it displays it to the user. The part im having a hard time figuring out is how to go about opening some permanent connection on the phone that will listen for incoming messages...Any suggestions or comments would be appriciated..
Thanks
Daniel
The iPhone 3 SDK has push support built in. Basically, all messages that need to be pushed (from all apps) go to Apple's server, which maintains a persistent connection to the user's iphone. The upside is that you dont have to worry about it and your app can get updates even when its not running (so like, from the home screen). The downside is that your data has to go through Apple's server.