XWidgetSoft Forum
https://xwidget.com/bbs/

battery status tag
https://xwidget.com/bbs/viewtopic.php?f=18&t=4955
Page 1 of 1

Author:  Jimking [ August 31st, 2014, 1:13 am ]
Post subject:  battery status tag

I notice that the battery status tag "${Status}" shows the opposite condition when applied..
When the phone is plugged shows "online" instead of "offline"..
Is there a way to fix this through a mod tag until the next version of XW...?

Edit:
I found another way, taking two screenshots of the text on both status and I used the battery status tag for android:
charging_${isCharging}.png

...my question is still valid though...

Author:  hamid [ August 31st, 2014, 3:20 am ]
Post subject:  Re: battery status tag

jimking wrote:
Edit:
I found another way, taking two screenshots of the text on both status and I used the battery status tag for android:
charging_${isCharging}.png

...my question is still valid though...

you can use [Substitute] to change the text, no need to use png

you should do these:
1. use a text object with ${isCharging} tag
2. in the Substitute box of text object use this:
Code:
true:Offline,false:Online,


edit:
i don't know if [Substitute] works for android version, Since i don't have android

Author:  Jimking [ August 31st, 2014, 5:10 am ]
Post subject:  Re: battery status tag

Yes, I don't know if this option works on Android, since a LOT of options, even for the supported tags are still not available..
Thanks for your reply though! :)

Page 1 of 1 All times are UTC - 8 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/