PocketMatrix forums

A read-only archive of the PocketMatrix forums (2001–2014). Posting and accounts are closed.

detecting incoming calls on symbian

Hi all,
It may not be the best place to ask but I'll give it a try...
I would like to be able to detect an incoming phone call (I'm working on symbian) so I could pause my game.
Does someone know how to do that? Pleaaaase :wink:

Thanks in advance.
You can hook yourself up to the telephone server as is done in the Symbian version of CGapiApplication. The source code is included from version 3.0 of GapiDraw...
vince_mad · 17 May 2004, 08:04 UTC — Thanks Ruis.
Many thanks Ruis!

At first I didn't understand what you meant (I'm far from being a C++ guru). But I had a look a GapiApplication.cpp (symbian version) as you suggested and found what I was looking for: a function called NotifyCall.
I just implemented it in my .cpp, compiled and it works fine.

Thanks again Ruis.
Vincent.