is any other way like 1) to kill the phone service 2) to simulate the press/KeyEvent.ACTION_DOWN on KEYCODE_ENDCALL or any other way by using ndk api
On Sep 11, 10:35 pm, Dianne Hackborn <hack...@android.com> wrote: > Sorry, no. > > On Fri, Sep 11, 2009 at 12:55 AM, Shrenik Vikam <yoursonyt...@gmail.com>wrote: > > > > > > > can i send end call event or kill event to call/dial activity > > > On Sep 2, 9:40 pm, Dianne Hackborn <hack...@android.com> wrote: > > > Correct, end call can't be seen by applications at all, so you need to > > > modify the platform. You can start with PhoneWindowManager where the key > > is > > > handled. From there, you'll need to find somewhere in the telephony > > layer > > > to figure out when the call is ended. > > > > On Wed, Sep 2, 2009 at 5:50 AM, Mark Murphy <mmur...@commonsware.com> > > wrote: > > > > > > i wanna measure how much time phone > > > > > takes to end a call, but is not possible to capture end call key into > > an > > > > > application. What should i do now? > > > > > That would seem to be best measured through modifications to the > > firmware. > > > > However, I know nothing of the details of exactly how it would be done. > > > > > -- > > > > Mark Murphy (a Commons Guy) > > > >http://commonsware.com > > > > Android App Developer Books:http://commonsware.com/books.html > > > > -- > > > Dianne Hackborn > > > Android framework engineer > > > hack...@android.com > > > > Note: please don't send private questions to me, as I don't have time to > > > provide private support, and so won't reply to such e-mails. All such > > > questions should be posted on public forums, where I and others can see > > and > > > answer them. > > -- > Dianne Hackborn > Android framework engineer > hack...@android.com > > Note: please don't send private questions to me, as I don't have time to > provide private support, and so won't reply to such e-mails. All such > questions should be posted on public forums, where I and others can see and > answer them. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---