https://bugzilla.novell.com/show_bug.cgi?id=645234
https://bugzilla.novell.com/show_bug.cgi?id=645234#c4 Jonathan Pryor <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #4 from Jonathan Pryor <[email protected]> 2010-11-15 20:53:03 UTC --- So, the good news is that Preview 7 adds BroadcastReceiver support, including for attributes, so the TestWidget can be better written as: [BroadcastReceiver ( Label="Useless Test Widget")] [IntentFilter (new[]{AppWidgetManager.ActionAppwidgetUpdate})] [MetaData (AppWidgetManager.MetaDataAppwidgetProvider, Resource="@xml/widget")] public class TestWidget : AppWidgetProvider { public override void OnUpdate(Context context, AppWidgetManager appWidgetManager, int[] appWidgetIds) { base.OnUpdate(context, appWidgetManager, appWidgetIds); } } This will magically generate the appropriate AndroidManifest.xml for you. Doubly good, I can now long-hold on the desktop (?), click Widgets, and see useless Test Widget. From the initial description, it sounds like this was causing Settings to crash; that is no longer the case. Unfortunately, in the emulator 'adb logcat' I do see the message: E/ActivityManager( 60): ANR in widgettest1.widgettest1 E/ActivityManager( 60): Reason: Broadcast of Intent { act=android.appwidget.action.APPWIDGET_ENABLED cmp=widgettest1.widgettest1/widgettest1.TestWidget } .. but after that I DO see "Loading..." in the background, so it does appear to work. Running on an N1, I don't see the ANR message, and I also see "Loading...", so I believe this is working properly now. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug. _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
