[android-beginners] Different views in a widget

2010-05-19 Thread repole
Hi everyone, So I've got a simple widget up and running, but am having a few problems with different Views. I have a class that extends ImageView, and while ImageView works fine in the Widget, my extended class causes me to get a Problem Loading Widget error. The class I'm using is OpenXWidget,

Re: [android-beginners] Different views in a widget

2010-05-19 Thread Justin Anderson
This is a widget to be used on the Android desktop? If so, you can only use classes that are marked as a RemoteView... This means you cannot use sub-classes in your widget because the sub-class is not marked as a RemoteView. The list of classes that are allowed are: - FrameLayout -

Re: [android-beginners] Different views in a widget

2010-05-19 Thread Kostya Vasilyev
19.05.2010 22:46, Justin Anderson пишет: The class I'm using is OpenXWidget, does anyone here have experience with OpenX or have any ideas as to why a class that extends ImageView wouldn't work in my Widget? It seems that OpenXWidget is well, not a widget. It is a View subclass, and can be