I want the solution too BR, Luke Wang
Doug Larson - "Instead of giving a politician the keys to the city, it might be better to change the locks." On Wed, Jan 28, 2009 at 8:32 PM, [email protected] <[email protected]>wrote: > > 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 [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---

