11-01-2009, 09:17 AM
Join Date: Mar 2008
Location: Austin, TX
Post Thanks: 0
Thanked 34 Times in 33 Posts
You can only get key events when your app has the foreground.
Look at PhoneListener to be notified of the incoming call.
There is no API for call control, but some folks use use the key event injector to simulate keybard input for this purpose.
If you search the forum, you will find many, many threads discussing this issue.