Hi~
I just met a problem about how to reject an incoming call.
At first,
i wanna find some method already exists that can directly reject a
phone call,
but unluckily i failed.

now i come up with an idea ,to simulate a ENDCALL KeyEvent.

here is one solution to achieve it

IWindowManager.injectKeyEvent(...);

It may work in earlier version sdk...
I didn't find any method like that in latest version sdk~

is there any method exists to simulate a KeyEvent ?
or
how could i reject an incoming phone call?

thanks~

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to