Well I have been working on a telephony application which essentially deals with invoking the application when a phone call is recd. by a mobile device
Initially the application that I was studying gets activated (comes to foreground) when a call is recd. by the device & straightaway starts answering the call
What I want to do is when a call is recd. the application shld come to foregrnd which it does & ask the user whether he wants to accept or reject the incoming call which I am trying to acheive but somehow I can't.
Can anybody help me out by providing a small code snippet if not the entire code to do the above mentioned task ??