• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Apps Touch Screen Trouble.

So I'm trying to make a game right now(Alien Invaders) but I have trouble with the touch screen. I tried making an extra class which implemented OnTouchListener but whenever I touched the screen, nothing happened. So I decided it might work if implement OnTouchListener to the main class that is called when the activity is called. Still, nothing happened. So I tried it with another class which extends SurfaceView and implements Runnable and now OnTouchListener. Now it says that OnTouchListener is not a type even though it knew what unimplemented methods I needed. If anyone could help that would be wonderful. Thanks in advance!​
 
Back
Top Bottom