6

I have an AppWidgetProvider under package "com.developer.application"

I tried moving this AppWidgetProvider under package "com.developer.application.widgets" Upon doing so I updated all references in the AndroidManifest to accommodate the move.

After uploading the changes to the device, the widgets (associated with the aforementioned AppWidgetProvider) that were currently on the home screen break and just forever show the "Loading" graphic.

I know nothing is wrong with my pointers/package paths because if I re-add the widget to the home screen everything works fine.

So simply put, moving an AppWidgetProvider to a different package and updating all necessary references still breaks the active home screen widget(s).

Any ideas? Thank you!

Matt.

4

1 回答 1

5

I've also experienced that.

My guess is that the launcher saves the class name of the widget (including package name), so it just breaks when you change it.

于 2012-06-20T06:34:02.163 回答