GeeCON Prague 2014*
The moose likes Android and the fly likes End call button Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Mobile » Android
Bookmark "End call button" Watch "End call button" New topic
Author

End call button

Jerry Gomez
Greenhorn

Joined: Sep 15, 2011
Posts: 5
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
Rancher

Joined: Sep 21, 2011
Posts: 2408
What is "the End call button"? Something in your app?
Jerry Gomez
Greenhorn

Joined: Sep 15, 2011
Posts: 5
Its the red button on your phone to end a conversation or to stop something.
Tim Moores
Rancher

Joined: Sep 21, 2011
Posts: 2408
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

Joined: Sep 15, 2011
Posts: 5
I want to kill a thread that i`m running in the background, when someone stops the application.
Harsh Jog
Greenhorn

Joined: Oct 31, 2011
Posts: 2

Have you tried overriding onKeyDown() of your activity?


Interests: SW Development, Trekking, Amateur Astronomy
 
GeeCON Prague 2014
 
subject: End call button