[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4668: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3815)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4670: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3815)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4671: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3815)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4672: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3815)
XWidgetSoft Forum • View topic - Questions about Refresh Interval

XWidgetSoft Forum

XWidget & XLaunchpad , Desktop customization
It is currently April 18th, 2024, 7:29 am

All times are UTC - 8 hours




Post new topic Reply to topic  [ 7 posts ] 
Author Message
PostPosted: May 17th, 2014, 6:09 am 
Offline

Joined: May 17th, 2014, 4:35 am
Posts: 17


Top
 Profile  
 
PostPosted: May 17th, 2014, 7:06 am 
Offline
User avatar

Joined: December 5th, 2012, 5:52 pm
Posts: 4887
1) The enable "Update" option means that the widget will update its functions in general, the "Refresh Interval" in the time between the update.
On Android is important for the datetimecore. Changing/unchecking the option "Updated every minute" serves for the clock widgets if you want to use seconds clock hands. But is not recommended because the app will use more ram/battery.
2) As I told you the " Refresh interval" is the generic update function. Looking in the accuweather's core tags you will find some more displaying options about the update time.
3) I don't think that there will be so much difference in ram/battery consumption. A little bit yes.. (wifi should enable for automatic update)
4) I don't know if this can be changed though a script for using the default tags works only like this. Don't waste your time with NumbImages or png for this function. Will not work.
5) On Android the default 1sec update interval is the better way for cores like battery. Changing to 1min, you will not be so accurate and then honestly I don't think that you will earn something on battery life. XWidget app uses already minimal resources, no background processes and is very battery friendly near to 0%.

pm: On android we have battery and RAM consumption for the widgets, not cpu!

_________________
...and remember: don't take life too seriously...
My profile on Deviantart: http://jimking.deviantart.com/


Top
 Profile  
 
PostPosted: May 17th, 2014, 10:22 am 
Offline

Joined: May 17th, 2014, 4:35 am
Posts: 17
Thanks for all that--that's very helpful! :)

Regarding #2: So do the core settings of "Updated every minute" and "Refresh interval" mainly effect things like updating the display? In particular, for the accweathercore1, if I set it to "Updated every minute" does that mean it just checks every minute if new weather data was pulled down (according to the User Update setting, which can't be more frequent than 15 minutes)? Or does configuring the accweathercore1 to "Updated every minute" mean that it will actually check the server for weather updates every minute (which would be wasteful to my battery, probably)?

What do you recommend setting accweathercore1 to: "Updated every minute" or "Refresh interval of 30 minutes" (or something else?)?

Also, you don't happen to know of a easy way to make "${lastRefreshTime}" display in 12hr format, do you (ie, some additional code to add to convert it somehow)?

Thanks!


Top
 Profile  
 
PostPosted: May 17th, 2014, 10:36 am 
Offline
User avatar

Joined: December 5th, 2012, 5:52 pm
Posts: 4887

_________________
...and remember: don't take life too seriously...
My profile on Deviantart: http://jimking.deviantart.com/


Top
 Profile  
 
PostPosted: May 18th, 2014, 11:33 am 
Offline

Joined: May 17th, 2014, 4:35 am
Posts: 17


Top
 Profile  
 
PostPosted: May 18th, 2014, 12:19 pm 
Offline
User avatar

Joined: December 5th, 2012, 5:52 pm
Posts: 4887
There is no bug @CoolWidgets.
The tags of the designer are:
1) ${updateTime} : Last update time on server
2) ${lastRefreshTime} : Last update time on local time
3) ${updateMinutesAgo} : The last time you updated the weather.

Personally I use the num 2 for my widgets that I think has the most sense know when was the last time that you update the weather.
Now about the values like "15:3" means 15:30. As I told you the 12h mode for displaying the update can be fixed or changed though a script. But surely this a thing that should be fixed on the next version of xwidget..
The dev is working on the XW v2 and many of these little "issues" I think that will be fixed.

_________________
...and remember: don't take life too seriously...
My profile on Deviantart: http://jimking.deviantart.com/


Top
 Profile  
 
PostPosted: May 18th, 2014, 1:08 pm 
Offline

Joined: May 17th, 2014, 4:35 am
Posts: 17


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 7 posts ] 

All times are UTC - 8 hours


Who is online

Users browsing this forum: No registered users and 46 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron

Powered by phpBB® Forum Software © phpBB Group