I still don't understand why the different actions are connected, but
I did dig in and got my code to work; I hope this helps someone else:
I made a PressableButton subclass of Button with:
OnPressListener onPressListener;
boolean wasPressed = false;
public PressableButt
To test further, I created a new project that just has a Button inside
a LinearLayout, with the Activity stub created by the Android Eclipse
plugin. Pushing the 5 on the number pad and the emulator's center dpad
button both pressed the button. How/why would these inputs be hooked
up to a button?
2 matches
Mail list logo