Mark,

AFAIK, all UI methods are supposed to be called from the UI thread, are widget calls an exception to this rule?

-- Kostya

14.07.2010 17:12, Mark Murphy пишет:
On Wed, Jul 14, 2010 at 9:01 AM, Kostya Vasilyev<kmans...@gmail.com>  wrote:
 From what thread are you ultimately calling

AppWidgetManager.updateAppWidget

?

It has to be the UI thread, I think you should check to make sure.
No, it doesn't. I have a few examples where updating the app widget
from any thread is fine, such as the one I linked to earlier:

http://github.com/commonsguy/cw-advandroid/tree/master/AppWidget/Microblog/



--
Kostya Vasilev -- WiFi Manager + pretty widget -- http://kmansoft.wordpress.com

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

Reply via email to