Hi all. I tried this example (http://developer.android.com/guide/ tutorials/views/hello-gallery.html) and found the compilation problems which having done some searching I see that many other people have found the same thing.
No one seems to have found a solution to this. It would be great if someone involved could update this example, or provide clear instructions on how to get it working - as it would be a nice feature to try out. The problem stems from the 'styleable' attribute of the following line: public ImageAdapter(Context c) { mContext = c; TypedArray a = obtainStyledAttributes (android.R.styleable.Theme); mGalleryItemBackground = a.getResourceId( android.R.styleable.Theme_galleryItemBackground, 0); a.recycle(); } Thanks. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Beginners" group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, send email to android-beginners-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~----------~----~----~----~------~----~------~--~---