Hello,

I've been following the View tutorials included in the android
developer site. When testing hte HelloGallery view, I get this compile-
time error.

I searched for this error on this group but is wasn't answered.
Can anyone help.

The problem reference occurs in the imageAdapter class that is
appended after the onCreate() method in the HelloGallery class:

   public class ImageAdapter extends BaseAdapter
    {
            ...
            TypedArray a = obtainStyledAttributes
(android.R.styleable.Theme);
    }

Strangely enough, when I insert this lines into the onCreate() method
at the start of the package, there is no problem. It seems that the
android.R class is not known.

Thanks,
Paul

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to