Page 1 of 1

Widgets

Posted: 14 Nov 2019 06:25
by Lucy
Hey how do i get an updated service state in widget?
I was also trying to do an updated data usage widget too.
Ive looked over tutorials and all i can manage to do is mimic the battery widget in the tutorial. I cant seem to get anything else to work (other than current date and time)

Re: Widgets

Posted: 14 Nov 2019 23:01
by Horschte
What exactly do you want to achieve?

Re: Widgets

Posted: 15 Nov 2019 00:23
by Lucy
Well... i have working flows to log data usage throughout the day, i was trying to put that info in a widget but could not figure it out. Using the same variable as in flow (network statistics and traffic" shows nothing. I have also tried using the app usage tracker that is found here on the forum but i have no idea how to set up a widget for it despite my many attempts. I tried a "phone service state" but it did not work either. There have been a couple others on a similar basis but can't think of them right now. Typically i thought using variables and global in widgets would be the same but they never read anything except the variable name itself. I really have no idea what i am doing

I have read tutorials and done the battery widget but that is all i can get working

Re: Widgets

Posted: 15 Nov 2019 01:54
by anuraag
Share your flow including widget.

Re: Widgets

Posted: 15 Nov 2019 02:06
by Lucy
Hang on... i think i might be getting somewhere with my own stuff. Lol i just had a breakthrough... gosh im dumb haha. I'll re post after i test some more