Skip to content Skip to sidebar Skip to footer

Appwidget Button Onclick Stops Working

I have a widget I'm trying to build that consists of only a button. What I'm wanting to do is have the button clicked and then run some simple piece of code (in my test it's a toa

Solution 1:

The pending intent is "burned" after each use. You need to set it again. Or wait for the widget to get refreshed, then it happens, too, but that's probably not the desired way.


Post a Comment for "Appwidget Button Onclick Stops Working"