Ne0 wrote:
> ...to the application icon?
> 
> Essentially i have an application that has a few different activities
> and services. I want a widget that indicates whether or not one of the
> services is running and starts/stops it on a press. The widget works
> fine and does what i want, though when you long press the home screen
> and select widgets, the widget appears with the same icon and name as
> the application package.
> 
> Is there a way to change this icon and name to an icon and name that
> better represents what the widget does rather then the application?

Put android:name and android:icon attributes on your <receiver> element
for the AppWidgetProvider.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy

Android Training in US: 14-18 June 2010: http://bignerdranch.com

-- 
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

Reply via email to