MWM-for-Android icon indicating copy to clipboard operation
MWM-for-Android copied to clipboard

Make weather update rate configurable

Open dedee opened this issue 13 years ago • 3 comments

Would be nice feature to configure the update rate of weather data.

One quick solution would be to make the 5min check configurable. I am looking into this. A good next step would be to really ensure that we update the weather in this time frame, cause currently we are being driven/notified by location updates (as I undestand). We would need to pump the location data into a field and create an own weather update "thread".

The original request from the forum: http://www.metawatch.org/forums/thread/?thread=439&page=3

serg675 Reply #30, 1 month, 3 weeks ago
With Weather Underground it works fine. But it will be great to be able to set update interval.

dedee avatar Jul 20 '12 05:07 dedee

First step is done. It is now configurable.

a) I have moved the update check to the base class. This removed some redundant code of each provider b) Created the preferences (just in english right now)

Benjymous can you please do a review of the changes?

dedee avatar Jul 30 '12 13:07 dedee

Change is: https://github.com/dedee/MWM-for-Android/commit/26f83e53e87b694cf0ad07c9a0610e4147ee2053

dedee avatar Jul 30 '12 13:07 dedee

I just realised, this might conflict with my changes, I can merge them on my fork before you take mine in :) Cheers

DiogoNeves avatar Oct 30 '12 03:10 DiogoNeves