You could port OpenXWidget to work with home screen widgets.
Its code structure is very close to what's needed - it does its work in
a separate thread and updates the UI as needed.
Take a look at Wiktionary sample in Android SDK. It also does an asynch
fetch from the Web and updates the widget with the results.
-- Kostya
19.05.2010 22:58, repole пишет:
That is correct, not the best of names for something that is an
extension of ImageView rather than a widget. I knew that going in,
however I was unaware that displaying a user defined view subclass
(like OpenXWidget) in my own widget is not possible.
Unfortunately nothing is ever as easy as I'd hope, time to try and
find a work around :)
On May 19, 2:52 pm, Kostya Vasilyev<kmans...@gmail.com> wrote:
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 used in your application within a
regular layout.
However, it's not an Android home screen widget.
--
Kostya Vasilev -- WiFi Manager + pretty widget --http://kmansoft.wordpress.com
--
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
NEW! Try asking and tagging your question on Stack Overflow
athttp://stackoverflow.com/questions/tagged/android
To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group
athttp://groups.google.com/group/android-beginners?hl=en
--
Kostya Vasilev -- WiFi Manager + pretty widget -- http://kmansoft.wordpress.com
--
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
NEW! Try asking and tagging your question on Stack Overflow at
http://stackoverflow.com/questions/tagged/android
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