[Q] setting variables
So I was wondering if there is a way to set a variable to something, then change it dynamically based on an event. Here is an example of an end goal with what I mean. So you make a widget that shows the forecast and all items have some form of
To hide if media is playing (when combined with media utilities). I would like to take this a bit further and say, if I have that same widget, a forecast widget and down in the corner is an icon, by clicking that icon(the event) it changes the value of a variable in zooper, and the widget can change based on that. Much like with the TMU_ISPLAYING, except with this, your click changes the variable and not an outside app. Does anyone know if this is possible at all, even just a very random workaround solution would be cool, I just want to be able to change a widget based on a click. Thanks in advance.
If I've helped at all, feel free to hit that thanks button
Current device: Nexus 7 running the great paranoid android
Also: Galaxy Nexus Toro 4g lte running .... The great paranoid android