File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: End call button
 
Similar Threads
Terminating Network Communication
JButton redimension itself
Adding cells to Table one at a Time
how one class Action Listener (button) call another class actionlister button
i have a jfarame. i want to call a existing from when i click close button[default close button]