|
||||
Re: Any way to change Weather automatic update timing for Manila
i have been trying to find this out for a long time now!!! no one seems to have an answer, and i can't get a chef to answer since they are so busy!!!
|
|
||||
Re: Any way to change Weather automatic update timing for Manila
It probably depends on what version of manila you are using. I'm on sense 2.5.1921 and it has the following in the registry:
Code:
[HKEY_CURRENT_USER\Software\HTC\Manila] "Weather.AutoDownloadInterval"=dword:3C
__________________
|
|
||||
Re: Any way to change Weather automatic update timing for Manila
i see one thing that seems connected to the time in my nrg rom with manilla 2.1, but the values for it doesnt make since, this is what i looked at:
\\\registry\HKCU\Software\HTC\Manila\ Home_WeatherClock_CheckTime and the values were this: D9 07 0C 00 02 00 0F 00 13 00 05 00 2B 00 00 00 can anyone make sense of this?
__________________
|
|
||||
Re: Any way to change Weather automatic update timing for Manila
yeah someone else noticed that as well, but no one can figure out how to change the timing
|
|
||||
Re: Any way to change Weather automatic update timing for Manila
I saw this on another website. It looks like there is a setting called UPDATETIMELIMIT = 180 I think if we can change that it will update to whatever time we set it too.
I just dont know where this section of code is in our phones quote] WeatherControlForHome.__init = function(l_1_0, l_1_1, l_1_2, l_1_3, l_1_4, l_1_5, l_1_6, l_1_7, l_1_ trace("WeatherControlForHome:__init") l_1_0.SAVETIMEPATH = "Software\\HTC\\Manila" l_1_0.SAVETIMEVALUE = "Home_WeatherClock_CheckTime" l_1_0.temperature = nil l_1_0.Time = nil l_1_0.CityObj = nil l_1_0.cityCode = nil l_1_0.cityCodeIndex = 0 l_1_0.MYLOCATION = ":HWC:CurLoc" l_1_0.CheckTime = Time(l_1_ l_1_0.CallBackFun = l_1_1 l_1_0.UIHvalue = l_1_2 l_1_0.UILvalue = l_1_3 l_1_0.UItemperature = l_1_5 l_1_0.UIconditionObj = l_1_6 l_1_0.CityNameObj = l_1_4 l_1_0.WeatherIcons = l_1_7 l_1_0.AutoDownload = false l_1_0.ForceDownloadWeather = false l_1_0.UPDATETIMELIMIT = 180 l_1_0.CheckTime = nil l_1_0.weather = AccuWeather(_application:GetScopedLog("weather"), _application.Store) l_1_0.Download = false l_1_0:InitializeWeatherIcon(l_1_0.WeatherIcons, false) l_1_0.MyLocationDownloadTimer = nil trace("init weather end") end WeatherControlForHome.InitCheckTime = function(l_2_0) trace("WeatherControlForHome:read from reg") local l_2_1 = Time() local l_2_2 = l_2_1:ReadFromReg(RegKeyRoot_HKCU, l_2_0.SAVETIMEPATH, l_2_0.SAVETIMEVALUE) if l_2_2 then l_2_0.CheckTime = l_2_1 trace("read from reg ok! date=" .. l_2_0.CheckTime:GetDateString("yyyyMMdd")) end end [/quote] |
|
||||
Re: Any way to change Weather automatic update timing for Manila
Quote:
__________________
Phone: Nexus 6p | Carrier: StraightTalk Att
Kernel: Stock | ROM: Stock Oreo |
|
||||
Re: Any way to change Weather automatic update timing for Manila
It's in 6639bcc4_manila.lua weather script for Home
I'm trying to use the ReadFromReg() for something, it's the only file which has it so don't think it is a general function. |
|
|
|