[android-developers] Re: About Services

2009-09-18 Thread Shrenik Vikam
how i can get from process which actually does a phone call On Sep 16, 9:30 pm, Dianne Hackborn hack...@android.com wrote: Again, sorry, no. On Wed, Sep 16, 2009 at 4:47 AM, Shrenik Vikam shre...@ruby-solutions.comwrote: is any other way like 1) to kill the phone service 2) to

[android-developers] Re: About Services

2009-09-16 Thread Shrenik Vikam
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

[android-developers] Re: About Services

2009-09-16 Thread Dianne Hackborn
Again, sorry, no. On Wed, Sep 16, 2009 at 4:47 AM, Shrenik Vikam shre...@ruby-solutions.comwrote: 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

[android-developers] Re: About Services

2009-09-11 Thread Shrenik Vikam
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,

[android-developers] Re: About Services

2009-09-11 Thread Dianne Hackborn
Sorry, no. On Fri, Sep 11, 2009 at 12:55 AM, Shrenik Vikam yoursonyt...@gmail.comwrote: 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

[android-developers] Re: About Services

2009-09-02 Thread Mark Murphy
i wanna know if i can capture keys using Service. No, you cannot. Keys only go to the active activity and its widgets. -- Mark Murphy (a Commons Guy) http://commonsware.com Android App Developer Books: http://commonsware.com/books.html

[android-developers] Re: About Services

2009-09-02 Thread Michelle Cristina de Melo Silva
My problem is that i want to map a scenario to android, but i don't know how to do. The first scenario is END CALL, 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? []s, Michelle. 2009/9/2 Mark

[android-developers] Re: About Services

2009-09-02 Thread Mark Murphy
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.

[android-developers] Re: About Services

2009-09-02 Thread Dianne Hackborn
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