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 4547874
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 21, 20262026-05-21T16:09:03+00:00 2026-05-21T16:09:03+00:00

I have been banging my head against the wall- can anyone help with working

  • 0

I have been banging my head against the wall- can anyone help with working code for :

http://developer.android.com/resources/tutorials/views/hello-gridview.html

Every time I code it- Eclipse gives me loads of unfathomable errors(especially for a beginner) but even when I copy and paste code- it still doesn’t work with android 2.2 sdk. Any help will be welcome!

Secondly it also mentions copying some sample images into the drawable folder under res, however there are drawable-hdpi, ldpi, and mdpi folders- which one should I copy the images into ( or all 3?)

Thanks in advance

  • 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-21T16:09:03+00:00Added an answer on May 21, 2026 at 4:09 pm

    Please see my comment to your question related to the Android Tutorials. About the images you should copy them to all 3 OR create a new directory called drawable. Let me explain it with a bit more of detail.

    Each device has a density like HDPI, LDPI and MDPI (tablets have even more). The idea of android is to use the images that best fit your device by going to these folders. If it can’t find an image, it will look for it on a ‘generic’ folder called drawable. So, if you’re only testing your logic and don’t care for the look by now, just create the ‘drawable’ folder and put your images there.

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

Sidebar

Related Questions

I'm hoping someone can help me since I have been banging my head against
I have been banging my head against the wall with this odd behaviour on
I've been banging my head against a wall with this code all morning and
Hi I wonder if someone can help me, I've been banging my head against
I have been banging my head against the wall trying to get Exscript installed.
I've been banging my head against the wall on this one. I have a
I have been banging my head against my code for the better part of
Okay, I've been banging my head against the wall with this one. I have
I have been banging my head against the wall trying to figure out this
I am having a problem and have been banging my head aginst a wall...

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.