title: Android Gridview Tutorial - Sample code that works?
body: <p>I have been banging my head against the wall- can anyone help with working code for :</p>
  
  <p><a href="http://developer.android.com/resources/tutorials/views/hello-gridview.html" rel="nofollow">http://developer.android.com/resources/tutorials/views/hello-gridview.html</a></p>
  
  <p>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!</p>
  
  <p>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?) </p>
  
  <p>Thanks in advance </p>