Android Surfaceview onClick Event doesnt work after pressing HOME
i have used game loop as given in tutorial
开发者_如何学JAVAhttp://www.droidnova.com/playing-with-graphics-in-android-part-vii,220.html
when i press home button and comes again to surfaceview , onclickview doesnt works after that
How do you try to click? Are you using a trackball/dpad or the touchscreen? If you are using a trackball/dpad, make sure the SurfaceView is focusable and focusable in touch mode (see View.setFocusable/setFocusableInTouchMode).
精彩评论