PDA

View Full Version : handling iPhone Events in App




sujithkrishnan
Sep 1, 2008, 07:22 AM
Hi all


I am testing my iPhone App in iPod Touch... So i cant simulate teh incoming call features..

So is ther any way to handle incoming calls (save state of app)...

I want my app to SUSPEND on receiving incoming-call....

What the behavior of Apps (App-Store, or any iPhone app) when an incoming call comes????

plz help !!!!



Pring
Sep 1, 2008, 07:41 AM
Use applicationWillTerminate to save your current state and on startup read that state back in.

sujithkrishnan
Sep 1, 2008, 10:13 AM
Use applicationWillTerminate to save your current state and on startup read that state back in.

But how to identify abrupt termination or normal termination...

The above method get fired... for both kind of termination...

even how the app-Store and other apps behave in iPhone???
(I want an answer from iPhone users..)

Also i want to make use of a stack to maintain the flow. right??
So there is nothing to do with notification using CoreTelephony F/w ???

Any help is appreciated...