I've been working through the Hello,Views examples.  They are great
resource - thanks to those that created them.

There is a problem with the setiton on the example using
android.R.sytleable

public ImageAdapter(Context c) {
        mContext = c;
        TypedArray a = obtainStyledAttributes
(android.R.styleable.Theme);
        mGalleryItemBackground = a.getResourceId(
                android.R.styleable.Theme_galleryItemBackground, 0);
        a.recycle();
    }

Eclipse reports that R.styleable cannot be resolved

There are lots of messages on the web about the problem.  Finally I
found one that reported android.R.styleable. is no longer supported in
sdk 1.5

http://mac.softpedia.com/progChangelog/Google-Android-SDK-Changelog-31208.html

If this is officially true, it would really be helpful to people
trying to learn Android programming to have some official notification
in the example and a revised workaround approach.  Otherwise a lot of
people will be wasting a lot of time.

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
-~----------~----~----~----~------~----~------~--~---

Reply via email to