concurrency issues
| Fri, 2008-05-23 08:40 | |
|
Hi All, I am facing a concurrency isuue with my application . The scenario is that whenever i receive a call at the instant when my application is running, my application closes.But when i reject the call it doesn't closes. Can anyone suggest any solution to this problem. Thanks, |
|






Forum posts: 59
How do you observe call notification in your application??
Started my Journey in Symbian - http://celluleus.blogspot.com/
Forum posts: 7
By calling HandleForegroundEventL(TBool aForeground) API.but thing is when call ends i am not able to find out previous state of my view. for example while playing audio file if during that time call comes and after recieving it ends am not able to
retain the old slider state where it was paused .
Forum posts: 59
I hope its the responsiblity of the application to store the application status. Multithreading / processing would be taken care by symbian. But something like, the current playing state, volume level, etc.. should be stored and retained back by application.
Started my Journey in Symbian - http://celluleus.blogspot.com/
Forum posts: 120
you can take help of CTelephony class, to observe the calling feature. and after getting any of the desired event, you can save your application in a safe state, and can check for the reason of closing your application too.
the probable cause to close your applicaiton can be a Stray signal
Jupitar
Forum posts: 7
Hi,
Thanks for prompt response ..closing application problem i have resolved but how to save the application in safe state that
i don't know ...could you please suggest any method for this?
Thanks,
Mohan
Forum posts: 59
If its an audio player, Symbian MMF would be having API's to get the various information like, current position in the track, volume level, etc.. you cna try them.
Started my Journey in Symbian - http://celluleus.blogspot.com/