This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
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
 
wood burning stoves
 
subject: End call button
 
Similar Threads
how one class Action Listener (button) call another class actionlister button
Adding cells to Table one at a Time
Terminating Network Communication
JButton redimension itself
i have a jfarame. i want to call a existing from when i click close button[default close button]