Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
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
I agree. Here's the link:
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-2014