Get the tools you need to learn Java skills fast!
Video tutorials, eBooks, hands-on lab exercises, sample code.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
The Software Craftsman
this week in the
Joined: Jan 07, 2009
Mar 07, 2009 02:29:20
how to handle clicks of a T-Mobile emulator.
I want to handle back button (not on the QWERTY keyboard)
Moody blogger who do not like to behave like target setting machines work.
Mark L. Murphy
Joined: Feb 11, 2009
Mar 07, 2009 04:45:37
Override onKeyDown() in your activity, and you can intercept any hardware button press except HOME. Just return true for any keys you handle yourself and let the superclass implementation of onKeyDown() handle the rest.
Mark Murphy (a Commons Guy)
Author of The Busy Coder's Guide to Android Development
I agree. Here's the link:
subject: Handling clicks
more than one click on a button
Jtable Event Handling
How to ignore more than one ActionEvents
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015