I am writing my first application and am trying to get my widget to
load a different image when it is added to the home screen based on
the state of the notification volume. It is detecting the
notification state fine and the proper Toast messages appear when I
add the widget, but I'm not getting
I'm not sure what's wrong with your code and I'm kind of guessing
here...but:
- onEnabled() is only called when the FIRST widget is created. So, if you
try to add a second widget to the homescreen this method will not be called.
Also, maybe, when onEnabled() is called the widget actually does not
2 matches
Mail list logo