Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6879291
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T04:49:40+00:00 2026-05-27T04:49:40+00:00

this is a real basic question, but I am having a frustrating time learning

  • 0

this is a real basic question, but I am having a frustrating time learning how to compile/run an android pong program from a website. The tutorial I am following is here – http://mikeyhogarth.wordpress.com/2010/10/09/how-to-develop-pong-for-android/

I keep trying, and I am getting errors. I am new to android (but not programming) so I am having trouble identifying the problem.

Also the tutorial mentions layout.xml, but I do not see a layout.xml in eclipse, I see a main.xml, is that the same thing?

Attached is my screenshot with errors. Suggestions? Have I configured eclipse/java/android wrong? Is there a problem with the tutorial? I appreciate links to any other good game/graphic based starting tutorials you may have to offer.

Screenshot here

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T04:49:41+00:00Added an answer on May 27, 2026 at 4:49 am

    It looks like you need to add import statements to the classes you’ve copied from the tutorial. Double clicking on one of the errors (i.e. SurfaceHolder cannot be resolved to a type) should take you to it’s place in the code. Hovering over where it says SurfaceHolder for a moment should pop-up something that will allow you to “Import ‘SurfaceHolder’ (android.view)”. Try doing that and see if it starts getting rid of some of those errors.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

this is a real basic question but i was struggling at it from 30
So this should be a real easy question but I can't seem to find
This doesn't need to be a real time solution, but are there some log
This is a very basic MySQL question but I could not find an answer.
I am inexperienced in WCF so this question may be real basic... I have
Sorry basic question I'm sure but I can't seem to figure this out. Say
This is a real newbie question. I have simple app that selects a picture
This is not a real bug BUT for sure it is not what you
This is more an observation than a real question: MS-Access (and VBA in general)
If this is not a real question then feel free to close ;)

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.