On Wed, Jul 14, 2010 at 8:35 AM, TjerkW <[email protected]> wrote: > Works on the emulator.. but on my nexus one i still get the nasty > nullpointerexception deep inside the Android apis
At this point, I am fairly lost with your code. I don't know why you need onUpdate() to fork a thread. Make sure that you keep your code that gets the AppWidgetManager, creates/populates the RemoteViews, and calls updateAppWidget() all in a contiguous block of code, called on one thread, and it should work fine (barring supplying null values to methods on RemoteViews or something). -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy _The Busy Coder's Guide to *Advanced* Android Development_ Version 1.9 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

