• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

End call button

 
Jerry Gomez
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hey guys,

When i press the End call button, it`s doesnt finish my activity.
Even when i setup a Buttonlistener and trace it with log.i(keyCode,"").
It doesn't come up.

Has anyone a sollution for this problem.

Thanks in advance.

Greetjes,
 
Tim Moores
Bartender
Posts: 2749
38
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What is "the End call button"? Something in your app?
 
Jerry Gomez
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Its the red button on your phone to end a conversation or to stop something.
 
Tim Moores
Bartender
Posts: 2749
38
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What does that button have to do with any app you're writing? How do you hope to attach any listener code to that?
 
Jerry Gomez
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I want to kill a thread that i`m running in the background, when someone stops the application.
 
Harsh Jog
Greenhorn
Posts: 2
Android Java Scala
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Have you tried overriding onKeyDown() of your activity?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic