[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 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.

 --
 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
-~--~~~~--~~--~--~---



[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 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
   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
-~--~~~~--~~--~--~---



[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 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.
 



-- 
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
-~--~~~~--~~--~--~---



[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, 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.

--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



[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
  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
-~--~~~~--~~--~--~---



[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



--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



[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 Murphy mmur...@commonsware.com


 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



 


--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



[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.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com
Android App Developer Books: http://commonsware.com/books.html



--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



[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 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.

--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---