As an exercise I attempted to add an AppWidgetProvider-derived class
to one of our existing Android applications. When the widget is
created and appears on the home screen, the output from adb logcat
notes:
W/ActivityManager( 58): Unable to launch app com.mycompany.myapp/
10042 for broadcast Intent
{ action=android.appwidget.action.APPWIDGET_ENABLED comp=
{com.mycompany.myapp/com.mycompany.myapp.MyAppWidgetProvider} }:
process is bad
This output comes from around line 10814 in ActivityManagerService
(looking at cupcake on git). This is running on an ADP 1.5, FWIW.
The same AppWidget code, once separated from the main application's
project and put into its own simple project, runs as expected, so I
know my manifest entries/XML/Java are all as they should be.
Has anyone else run into this, or perhaps can the Android team comment
on what aspect of my application might be preventing the AM from
starting up the process when the widget is added to the home screen?
TIA!
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---