[android-developers] does AppWidgetManager.updateAppWidget() need to be called on the UI thread?
When I make this call, I am getting a Java Binder FAILED BINDER TRANSACTION !!! message in my logging window. Is this because that call needs to be made on the UI thread? tia. -- 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
Re: [android-developers] does AppWidgetManager.updateAppWidget() need to be called on the UI thread?
On Sat, Sep 11, 2010 at 11:25 AM, sdphil phil.pellouch...@gmail.com wrote: When I make this call, I am getting a Java Binder FAILED BINDER TRANSACTION !!! message in my logging window. Is this because that call needs to be made on the UI thread? No, updateAppWidget() can be called off the main application thread. -- 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 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
Re: [android-developers] does AppWidgetManager.updateAppWidget() need to be called on the UI thread?
Phil, There should be more information in the logcat - describing what kind of bad thing happened on the remote side of the binder call. My guess is that your RemoteViews has an state change operation that references a view or a resource that doesn't exist in the widget, or possibly just an invalid value (e.g. a null string in setTextViewText). -- Kostya 11.09.2010 20:06, Mark Murphy пишет: On Sat, Sep 11, 2010 at 11:25 AM, sdphilphil.pellouch...@gmail.com wrote: When I make this call, I am getting a Java Binder FAILED BINDER TRANSACTION !!! message in my logging window. Is this because that call needs to be made on the UI thread? No, updateAppWidget() can be called off the main application thread. -- Kostya Vasilyev -- 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
Re: [android-developers] does AppWidgetManager.updateAppWidget() need to be called on the UI thread?
This is often because you are trying to send too much data over the IPC (there is a 1MB buffer); are you trying to send over a large or many bitmaps? On Sat, Sep 11, 2010 at 8:25 AM, sdphil phil.pellouch...@gmail.com wrote: When I make this call, I am getting a Java Binder FAILED BINDER TRANSACTION !!! message in my logging window. Is this because that call needs to be made on the UI thread? tia. -- 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.comandroid-developers%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- Dianne Hackborn Android framework engineer hack...@android.com Note: please don't send private questions to me, as I don't have time to provide private support, and so won't reply to such e-mails. All such questions should be posted on public forums, where I and others can see and answer them. -- 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