这里是我的空间,是我用来记录点滴的沃土...
Android中某个类继承Activity的子类TabActivity时,重载Activity中的public boolean onKeyDown(int keyCode, KeyEvent event)方法时,点击按键时并得不到响应,解决的方法是:重载public boolean dispatchKeyEvent(KeyEvent event)方法,其示例代码如下: @Override public boolean dispatchKeyEvent(KeyEvent event) { if (event.getKeyCode() == KeyEvent.KEYCODE_B... Read More
posted @ 2012-04-06 20:27 wsx2miao Views(3818) Comments(0) Diggs(0) Edit
这里是我的空间,是我用来记录点滴的沃土...