Football Fans: Download the 2012 Schedule App from Google Play!


Go Back   Android Forums > Android Development > Application Development

Application Development Dev Lounge for the Coder Folks



Reply
 
LinkBack Thread Tools
Old January 21st, 2012, 10:46 AM   #1 (permalink)
New Member
 
Join Date: Jan 2012
Posts: 2
 
Device(s):
Thanks: 0
Thanked 0 Times in 0 Posts
Default 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!

Superhamster is offline  
Reply With Quote
Sponsors
Reply

Bookmarks

Tags
android, development, ontouchlistener, touch screen, trouble, user interface


Go Back   Android Forums > Android Development > Application Development User CP
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -5. The time now is 12:08 PM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
Custom vBulletin Skins by: Relivo