Paul Tongyoo wrote:
> 
> Just curious if there's any reason why I can't use an AsyncTask -- my
> current implementation uses AsyncTask and I'm experiencing inconsistent
> widget refreshing. 

You don't say where you are using an AsyncTask. And I'm not sure whether
"widget" means View or "app widget".

:: insert grumble about Android confusing naming convention here ::

I am going to take a guess that you are trying to use an AsyncTask from
the AppWidgetProvider. That's a bit dangerous -- BroadcastReceivers like
an AppWidgetProvider are not supposed to run background threads
directly. I recommend using an IntentService for app widget updates.

If that's not what you are trying to do, I apologize for guessing
incorrectly, and please respond on-thread with more details.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy

_Android Programming Tutorials_ Version 2.0 Available!

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

To unsubscribe, reply using "remove me" as the subject.

Reply via email to