Manning's Countdown to 2014
. Use discount code crdotd14 all month for 50% off every deal.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
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)
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
With a little knowledge, a
cast iron skillet
is non-stick and lasts a lifetime.
subject: Handling clicks
How to ignore more than one ActionEvents
more than one click on a button
Jtable Event Handling
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013