Hi people
All you know that we can use Operator tab as second launcher. Also there is an application from HTC called Action Screen. So I have an idea to transform operator tab to Action Screen tab. But I am not a programmer, so need help.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
I created cab, test it and leave feedback. All created though the registry. I know it is not comfortable. So maybe one Hero-programmer will realize my idea to complete application??
About cab
Before install please make a backup. Why it is necessary? Because in the cab there is my HTC Homesettings.xml file and I have non-htc device (HP Ipaq 614c), so I don’t know how it will work on your device. Also want to say that I have TouchFLO version 1.0.1818.3719 cooked in ROM
As you can see now it has six icons:
Message (Start new SMS)
Mail (Start new Mail)
Alarm (don’t work (how to create direct shortcut to start new alarm???))
Appointment (New Appointment)
Task (New Task)
Note (New Note)
If you want to change an application to open with, go to registry HKLM\Software\HTC\Manila2D\Operator\2\ and change Path (for example I use G-Alarm to start New Alarm or ThumbCal to start new Appointment and new Task)
Also there are two softkeys: Calendar and Setting. Now don’t work, it is for future. (it can be changed through the registry)
TEST IT AND LEAVE FEEDBACK
PS Sorry for my English ))
great work!
Works great. Thanks. You were right. I had to use my own HomeSettings xml file. After installation TF2D didn't start up.
Another usefull addition to TF2D.
I think you made a backup
Strange grafics you have...
OK lets do so
Edit the HTCHomeSettings.xml as follow:
Find:
Code:
<Image index="227" name="\ManilaGFX\hh_fw_focus_background.png" />
Add this below
Code:
<Image index="228" name="HH_LAUNCHER_BTN_OPR_MASK.png" />
<Image index="229" name="HH_LAUNCHER_BTN_OPR.png" />
<Image index="230" name="HH_LAUNCHER_BTN_OPR_PRESS.png" />
<Image index="231" name="HH_LAUNCHER_BTN_OPR_PRESS_MASK.png" />
<Image index="232" name="HH_LAUNCHER_BTN_OPR_SELECTED.png" />
<Image index="233" name="HH_LAUNCHER_BTN_OPR_SELECTED_MASK.png"/>
Find
Code:
<OperatorWidget>***</OperatorWidget>
Replace with my code
Code:
<Property name="IDOPERATORWG_START_POINT" id="0" value="0, 10" />
<Property name="IDOPERATORWG_Y_INTERVAL" id="1" value="10" />
<Property name="IDOPERATORWG_ROW" id="2" value="3" />
<Property name="IDOPERATORWG_COLUMN" id="3" value="3" />
<Property name="IDOPERATORWG_LASTPROP" id="4" value="0" />
<Property name="IDOPERATORWG_BTNSELECTED_IMGID" id="5" value="HH_LAUNCHER_BTN_OPR_SELECTED.png" />
<Property name="IDOPEARTORWG_BTNSELECTED_MASKIMG" id="6" value="HH_LAUNCHER_BTN_OPR_SELECTED_MASK.png" />
<Property name="IDOPERATORWG_BTNPRESSED_IMGID" id="7" value="HH_LAUNCHER_BTN_OPR_PRESS.png" />
<Property name="IDOPERATORWG_BTNPRESSED_MASKIMG" id="8" value="HH_LAUNCHER_BTN_OPR_PRESS_MASK.png" />
<Property name="IDOPERATORWG_BTN_IMGID" id="9" value="HH_LAUNCHER_BTN_OPR.png" />
<Property name="IDOPERATORWG_BTN_IMGMASK" id="10" value="HH_LAUNCHER_BTN_OPR_MASK.png" />
<Property name="IDOPERATORWG_BTNICON" id="11" value="68" />
<Property name="IDOPERATORWG_BTNTEXT_RECT" id="12" value="3, 90, 80, 77" />
sergiorus said:
I think you made a backup
Strange grafics you have...
Click to expand...
Click to collapse
I think it has adapted the graphics from my current theme which is no problem. It complements the rest of the graphics in theme.
This looks promising. I'll give it a try tonight after my son goes to bed. Thanks for the innovation!
Syd159
post here your HTC Homesettings.xml file
sergiorus said:
Syd159
post here your HTC Homesettings.xml file
Click to expand...
Click to collapse
Here you go.
Code:
<OperatorWidget>
<Property name="IDOPERATORWG_START_POINT" id="0" value="13, 2" />
<Property name="IDOPERATORWG_Y_INTERVAL" id="1" value="0" />
<Property name="IDOPERATORWG_ROW" id="2" value="6" />
<Property name="IDOPERATORWG_COLUMN" id="3" value="3" />
<Property name="IDOPERATORWG_LASTPROP" id="4" value="0" />
<Property name="IDOPERATORWG_BTNSELECTED_IMG" id="5" value="HH_LAUNCHER_BTN_SELECTED.png" />
<Property name="IDOPEARTORWG_BTNSELECTED_MASKIMG" id="6" value="HH_LAUNCHER_BTN_SELECTED_MASK.png" />
<Property name="IDOPERATORWG_BTNPRESSED_IMG" id="7" value="HH_LAUNCHER_BTN_PRESS.png" />
<Property name="IDOPERATORWG_BTNPRESSED_MASKIMG" id="8" value="HH_LAUNCHER_BTN_PRESS_MASK.png" />
<Property name="IDOPERATORWG_BTN_IMG" id="9" value="HH_LAUNCHER_BTN.png" />
<Property name="IDOPERATORWG_BTN_IMGMASK" id="10" value="HH_LAUNCHER_BTN_MASK.png" />
<Property name="IDOPERATORWG_BTNICON_DIMENSION" id="11" value="32" />
<Property name="IDOPERATORWG_BTNTEXT_RECT" id="12" value="-7, 61, 68, 73" />
<Property name="IDLAUNCHERWG_BTN_LASTPROP" id="13" value="0" />
</OperatorWidget>
My Image Index ends at 226.
Replace with this
Code:
<OperatorWidget>
<Property name="IDOPERATORWG_START_POINT" id="0" value="0, 10" />
<Property name="IDOPERATORWG_Y_INTERVAL" id="1" value="10" />
<Property name="IDOPERATORWG_ROW" id="2" value="3" />
<Property name="IDOPERATORWG_COLUMN" id="3" value="3" />
<Property name="IDOPERATORWG_LASTPROP" id="4" value="0" />
<Property name="IDOPERATORWG_BTNSELECTED_IMG" id="5" value="HH_LAUNCHER_BTN_OPR_SELECTED.png" />
<Property name="IDOPEARTORWG_BTNSELECTED_MASKIMG" id="6" value="HH_LAUNCHER_BTN_OPR_SELECTED_MASK.png" />
<Property name="IDOPERATORWG_BTNPRESSED_IMG" id="7" value="HH_LAUNCHER_BTN_OPR_PRESS.png" />
<Property name="IDOPERATORWG_BTNPRESSED_MASKIMG" id="8" value="HH_LAUNCHER_BTN_OPR_PRESS_MASK.png" />
<Property name="IDOPERATORWG_BTN_IMG" id="9" value="HH_LAUNCHER_BTN_OPR.png" />
<Property name="IDOPERATORWG_BTN_IMGMASK" id="10" value="HH_LAUNCHER_BTN_OPR_MASK.png" />
<Property name="IDOPERATORWG_BTNICON_DIMENSION" id="11" value="68" />
<Property name="IDOPERATORWG_BTNTEXT_RECT" id="12" value="3, 90, 80, 77" />
<Property name="IDLAUNCHERWG_BTN_LASTPROP" id="13" value="0" />
</OperatorWidget>
After 226 image add below
Code:
<Image index="227" name="HH_LAUNCHER_BTN_OPR_MASK.png" />
<Image index="228" name="HH_LAUNCHER_BTN_OPR.png" />
<Image index="229" name="HH_LAUNCHER_BTN_OPR_PRESS.png" />
<Image index="230" name="HH_LAUNCHER_BTN_OPR_PRESS_MASK.png" />
<Image index="231" name="HH_LAUNCHER_BTN_OPR_SELECTED.png" />
<Image index="232" name="HH_LAUNCHER_BTN_OPR_SELECTED_MASK.png" />
Let me know if it works
I bet it should work what you are implying, but i like it this way.
Request... could you add a toggle for wifi, bluetooth and phone sound/vibrate? That would be very nice.
I also wanted to re-use that tab, for the m3d weather remade on flash:
http://forum.xda-developers.com/showthread.php?t=471461
Could this be done?
:/
Syd159 said:
I bet it should work what you are implying, but i like it this way.
Request... could you add a toggle for wifi, bluetooth and phone sound/vibrate? That would be very nice.
Click to expand...
Click to collapse
I will try to do additional icons.
I also wanted to re-use that tab, for the m3d weather remade on flash:
http://forum.xda-developers.com/showthread.php?t=471461
Could this be done?
:/
Click to expand...
Click to collapse
Yeah i tested your work, but how to make it work with manila 2D i dont know. I think you should ask a question to BeyondInvisible, he is an author of second weather tab .
Syd159 said:
Request... could you add a toggle for wifi, bluetooth and phone sound/vibrate? That would be very nice.
Click to expand...
Click to collapse
Here M2D Action Screen tab with BT, WiFi and phone sound/vibrate.
Awesome !!
Thanks for sharing !!
Sweet work! I need to try this out later! I can't have anything wrong happen with my device now, but I'll try it tomorrow!
I'm happy to say that it works fine for me, after manually editing my original xml file. Any idea on what reg keys I need to look for to get the softkeys working? And could you either make a contact icon in the style you're posting, or could you provide the blank icon background so we can make our own?
Thanks, and nice job!
sergiorus said:
Strange grafics you have...
Click to expand...
Click to collapse
It's no strange.....
Operator widget have rectangle built in, but if you set btnicon to 68 image overwrite it.
Try to change this row in xml
Code:
<Property name="IDOPERATORWG_BTNICON" id="11" value="[b]45[/b]" />
Thanks for sharing.
Now I have it on my Omnia: with 240 x 400 resolution i can use 3 rows (total 9 buttons)
sergiorus said:
I will try to do additional icons.
Yeah i tested your work, but how to make it work with manila 2D i dont know. I think you should ask a question to BeyondInvisible, he is an author of second weather tab .
Click to expand...
Click to collapse
Thanks, will do that.
sergiorus said:
Here M2D Action Screen tab with BT, WiFi and phone sound/vibrate.
Click to expand...
Click to collapse
This with "New Appointment" instead of "Alarm" would be wonderful
Sascha
it will be nice if we make this tab run once landscape mode is turned on
imagine when u silde out keyboard, m2D become landscape mode (by xml?...whatever ) and automatically goes to action tab (or maybe all tab hide off during this mode....dreaming)
ian't it nice??
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
RoryB managed to compile a Mortscript that takes care of the boredom I feel when changing my today screen wallpaper.
Basically the idea is that every time you update weather in manila, the weather icon becomes the today screen. It is also very important to use the same images from manila due to the already super high file count.
Well, he cleverly managed to make it work! (Post 29) Now I got the images together.
THIS WILL REPLACE YOUR ENTIRE MANILA SKIN
REQUIREMENTS:
* MORTSCRIPT 4.2 (attached)
* MANILA Update 23/MEGA
* MANILA GFX CAB (also attached)
OPTIONAL: I included my R TSK "R" is for R-type. install cab, run TSK, then re-run the script.
Patched Manila Mega 1919
Weather Patched Mega Manila for 6.5 only
Weather Patched Manila (Update 23) for 6.1
Manila2D WeatherCities Editor
Keep checking this thread for updates. There is a new script on post 2
Directions to edit the HTCHomeSettings.XML are also on post 2
I have made a tweak to the script to shorten the time it switches to the weather tab to the absolute minimum. If you are looking at the M2D and the script runs, it just flickers for a second and that's all you see.
------------------------------------------
Start of original post by S.V.I
------------------------------------------
manila XML. these are the edits that You have to make:
Some of the lines in the home tab Have to be edited like below
The weather panel can be copied and pasted (solves landscape issues)
This is not the final weather tab. I still have to edit some stuff.
I have a feeling that the reason that some people are having issues not seing it on their today screen, is that the digital clock overlaps the background. so it has to be analogue.
The HOME tab xml (If you edit just the lines below) should fix your analogue clock for both analogue and digital.
Then you need to edit registry:
[HKEY_LOCAL_MACHINE\Software\HTC\Manila2D\Home]
"ClockType"=dword:00000000
Manila XML said:
<HTCHome version="3.00.0" device="OPAL" portrait="0,0,320,294" landscape="0,0,320,214">
<HomeWidget> MAKE THE FOLLOWING EDITS
<Property name="IDHMWG_CLOCKBTN_1STDIGIT_POS" id="3" value="39, 68" />
<Property name="IDHMWG_CLOCKBTN_2NDDIGIT_POS" id="4" value="77, 68" />
<Property name="IDHMWG_CLOCKBTN_SEPARATOR_POS" id="5" value="115, 68" />
<Property name="IDHMWG_CLOCKBTN_3RDDIGIT_POS" id="6" value="125, 68" />
<Property name="IDHMWG_CLOCKBTN_4THDIGIT_POS" id="7" value="163, 68" />
<Property name="IDHMWG_CLOCKBTN_AMPM_POS" id="9" value="200, 91" />
<Property name="IDHMWG_ANALOGCLOCK_CENTER_POS" id="81" value="119,93" />
</HomeWidget>
OVERWRITE YOUR WEATHER TAB IN THE MANILA XML (HTCHomeSettings.XML) COMPLETELY
<WeatherWidget>
<Property name="IDWEWG_LASTUPDATEBTN_RECT" id="0" value="160,40,70,15, 147,40,151,15"/>
<Property name="IDWEWG_WEATHERBTN_RECT" id="1" value="4,47,232,60, 4,47,312,60" />
<Property name="IDWEWG_LOCATIONBTN_RECT" id="2" value="4,51,232,200, 4,51,312,23" />
<Property name="IDWEWG_STATUSTXT_RECT" id="3" value="15,91,210,110, 15,51,290,60" />
<!--Property name="IDWEWG_LOCATIONTXT_RECT" id="4" value="15,121,210,22, 15,136,290,22" /-->
<Property name="IDWEWG_LOCATIONTXT_RECT" id="4" value="15,121,210,22, 140,60,210,22" />
<!--Property name="IDWEWG_LASTUPDATETXT_RECT" id="5" value="90,53,150,18, 147,40,151,15" /-->
<Property name="IDWEWG_LASTUPDATETXT_RECT" id="5" value="156,50,82,15, 204,40,82,15" />
<Property name="IDWEWG_ADDCITYTXT_RECT" id="6" value="15,51,210,60, 15,51,290,60" />
<Property name="IDWEWG_ARROWTXT_RECT" id="7" value="0,28,10,13, 0,28,10,13" />
<!--Property name="IDWEWG_TEMPERATURETXT_RECT" id="8" value="8,33,80,40, 15,33,80,40" /-->
<Property name="IDWEWG_TEMPERATURETXT_RECT" id="8" value="8,33,80,40, 8,23,80,40" />
<Property name="IDWEWG_DOWNARROWRELEASE_IMGID" id="9" value="83" />
<Property name="IDWEWG_DOWNARROWPRESS_IMGID" id="10" value="82" />
<Property name="IDWEWG_REFRESH_IMGID" id="11" value="84" />
<Property name="IDWEWG_SEPERATELINE_IMGID" id="12" value="86" />
<Property name="IDWEWG_DOWNARROW_POS" id="14" value="212,118,307,74" />
<Property name="IDWEWG_UPARROW_POS" id="15" value="212,52,300,74" />
<Property name="IDWEWG_REFRESH_POS" id="16" value="220,116,300,10" />
<!--Property name="IDWEWG_WEATHER_POS" id="17" value="58,15,165,25" /-->
<Property name="IDWEWG_WEATHER_POS" id="17" value="30,-15, 30,-15" />
<Property name="IDWEWG_SEPERATELINE_POS" id="18" value="0,210,0,210" />
<!--Property name="IDWEWG_HIGHTEMPTEXT_TODAY_RECT" id="19" value="8,78,65,15, 8,78,65,15" /-->
<Property name="IDWEWG_HIGHTEMPTEXT_TODAY_RECT" id="19" value="8,85,60,15, 8,65,60,15" />
<!--Property name="IDWEWG_LOWTEMPTEXT_TODAY_RECT" id="20" value="8,93,65,15, 8,93,65,15" /-->
<Property name="IDWEWG_LOWTEMPTEXT_TODAY_RECT" id="20" value="8,100,60,15, 8,76,60,15" />
<!--Property name="IDWEWG_DAYTEXT_WEEK_RECT" id="27" value="0,4,100,12, 0,5,100,25" /-->
<Property name="IDWEWG_DAYTEXT_WEEK_RECT" id="27" value="0,4,100,12, 0,4,100,12" />
<!--Property name="IDWEWG_HIGHTEMPTEXT_WEEK_RECT" id="28" value="0,0,26,15, 175,5,30,15" /-->
<Property name="IDWEWG_HIGHTEMPTEXT_WEEK_RECT" id="28" value="0,0,26,15, 175,0,26,10" />
<!--Property name="IDWEWG_LOWTEMPTEXT_WEEK_RECT" id="29" value="0,0,26,15, 210,5,25,15" /-->
<Property name="IDWEWG_LOWTEMPTEXT_WEEK_RECT" id="29" value="0,0,26,15, 210,0,26,10" />
<Property name="IDWEWG_SEPERATELINE_IMGID_P" id="30" value="116" />
<!--Property name="IDWEWG_SEPERATELINE_POS1" id="31" value="50,143, 47,145" /-->
<Property name="IDWEWG_SEPERATELINE_POS1" id="31" value="47,143, 170,82" />
<!--Property name="IDWEWG_SEPERATELINE_POS2" id="32" value="0,166,0,168" /-->
<Property name="IDWEWG_SEPERATELINE_POS2" id="32" value="0,166, 0,100" />
<!--Property name="IDWEWG_LOCATIONINDEXTXT_RECT" id="33" value="197,100,38,23, 0,0,0,0" /-->
<Property name="IDWEWG_LOCATIONINDEXTXT_RECT" id="33" value="205,100,34,20, 285,29,34,20" />
<Property name="IDWEWG_FORECASTCONTROL_RECT" id="34" value="0,0,0,62, 0,0,0,62" />
<!--Property name="IDWEWG_LASTUPDATETITLE_RECT" id="35" value="90,38,150,15, 147,40,151,15" /-->
<Property name="IDWEWG_LASTUPDATETITLE_RECT" id="35" value="135,38,105,15, 183,28,105,15" />
<Property name="IDWEWG_SEPERATELINE1_IMGID" id="36" value="197" />
<Property name="IDWEWG_SEPERATELINE2_IMGID" id="37" value="198" />
<!--Property name="IDWEWG_WEATHERTEXT_RECT" id="38" value="0,141,240,22, 15,136,290,22" /-->
<Property name="IDWEWG_WEATHERTEXT_RECT" id="38" value="0,141,240,22, 123,80,240,22" />
<Property name="IDWEWG_UPARROWRELEASE_IMGID" id="39" value="85" />
<Property name="IDWEWG_UPARROWPRESS_IMGID" id="40" value="84" />
<Property name="IDWEWG_WEATHERNODATA_IMGID" id="41" value="239" />
<Property name="IDWEWG_WEATHERNODATA_POS" id="42" value="75,34, 40,45" />
</WeatherWidget>
.
Click to expand...
Click to collapse
I am not familiar with Mortscript, but isnt it an idea to read out the current weather from the registry, and depending on the values change the wallpaper
This has been accomplished somewhat before, with Manila I believe, but the previous poster was right, its a MortScript that pulls weather information and based on the results, changes the default wallpaper image.
yea jmltoday for titanium does it but im not sure about manila.
right. thats the idea. for manila, the best wallpaper change would be the title line as it is the only graphic that can be in the back of all the other elements nd can have the transparencies to keep whatever background anyone wants to choose.
I tried to make the weather tab with full screen weather, but it covers up the city name and weather description text... but looks really cool.
I am going to tr to figure this out within the manila xml.. something that I have not tried yet... however I dont have much hope for it. :/
Everything is possible ... sometimes You could use JMLToday for that...
I'm not sure, if you need Titanium to install it properly - but afterwards - only call jmlmeteo-Script (Put weathercode (e.g. "USNY0001" for New York) from MSN in Registry-Key "Ville" ) and adapt the weatherbackgroundchanger from JMLLibrary - to change Manila-Wallpaper instead of st_water...
Greetz
Micha
It could be a mortscript that checks the value for the icon in [HKEY_LOCAL_MACHINE\Software\HTC\Manila2D\Weather\0]
If it has changed since the last time it checked, it can set a variable to that icon name and reset the wallpaper registry to call a file with a similar name that is the right size.
It would then sleep for a period of time and then repeat the process.
This probably means a separate folder or group of image files that do not mess up the weather tab.
S.V.I said:
right. thats the idea. for manila, the best wallpaper change would be the title line as it is the only graphic that can be in the back of all the other elements nd can have the transparencies to keep whatever background anyone wants to choose.
I tried to make the weather tab with full screen weather, but it covers up the city name and weather description text... but looks really cool.
I am going to tr to figure this out within the manila xml.. something that I have not tried yet... however I dont have much hope for it. :/
Click to expand...
Click to collapse
Am I right, you mean the top-curtain?
why not creting different _manila files (don't know the name of the top curtain file) and just replace them by the mortscript? I don't know if we have to restart manila, that we can see the change of the file, but that would be the best and maybe the most easy way, right?
I like that idea.. but have no skills in creating _manila files or mortscript :/
maybe we can use the already existing mortscript for s2u2 and modify it?
The idea is the same.. we just have to find the manila file, create some grapics and replace the filepath in the script with \Windows\ so that it copies the _manila files to windows
I was kind of hoping that we can just use the manila files tat are already there. no sense in increasing the filecount. I can make te weather icons full screen and set it at 0,0
I dont have the programing knowledge to do this.
I also tried to edit the order of the files in the weather tab in the xml, but it did not work
has anyone tried to make a dll for the large weather icons? it would be nice to get rid of the 88 weather icons and just have one dll... that's just my opinion.
Can you tell me the reg key that holds the wallpaper name?
How often would you like the routine to check for a change in the weather data?
it is whatever the NON default walpaper is. basicaly,if ou set the toda wallpaper with pimg, you set the walpaper for manila home page. so thats good news.
now it's just a matter of setting the toay wallpaper to the wheather image from manila files. I would asume from everytime you run the weather update. Posible?
it should alo be the image from forcast0 in manila as that is the first city.
http://forum.xda-developers.com/showthread.php?t=528715&highlight=weather
Hello.. I´ve tried this one... If you have s2u2 the funktion is like you want..
But you can read in my post, that i deinstalled it, because its eating my akku...
http://forum.xda-developers.com/showthread.php?t=528715&highlight=weather
Hello.. I´ve tried this one... If you have s2u2 the funktion is like you want..
But you can read in my post, that i deinstalled it, because its eating my akku...
I have this so far.
Code:
FilePath="\windows\"
CurWx=RegRead( "HKLM", "\Software\HTC\Manila2D\Weather\0", "Icon" )
While( (CurWx EQ "" )="FALSE")
If( CurWx eq PreWx )
Else
PreWx=CurWx
RegWriteDWord( "HKCU", "\Software\Microsoft\Today", "DPI", 96 )
RegWriteDWord( "HKCU", "\Software\Microsoft\Today", "UseStartImage", 1 )
RegWriteString( "HKCU", "\Software\Microsoft\Today", "Wall", FilePath & "HH_WEATHER_" & CurWx & ".png" )
RedrawToday
EndIf
Sleep( 10000)
CurWx=RegRead( "HKLM", "\Software\HTC\Manila2D\Weather\0", "Icon" )
EndWhile
This changes the registry values associated with the wallpaper. Problem is redrawtoday does not show the wallpaper. I have noticed when I make the settings in the today settings page it appears to run a prgram (based on waitcurser showing up). I have not been able to catch what the prgram is. This may need to be a .NET or C program.
no problem i can do this...
i already hav written scripts earlier to update the...wallpaper...animate etc etc..
now u want the image to update according to the weather right?
have useen sense ui?u know the weather thingy on top.like a widgety thing...i can make that or just this what u r saying?
which do u think is better?
plus r u vga?...wvga?
ALSO:
the weather in manila updates when v go to the page..so this modification will update the wallpaper based on the updated weather..i dint think it can update the weather itself..
il take this as my next project
Found what I needed
Code:
# In case we decide on a different file folder or if use a different weather source
FilePath="\windows\"
# start wallpaper if not already started
RegWriteDWord( "HKCU", "\Software\Microsoft\Today", "DPI", 96 )
RegWriteDWord( "HKCU", "\Software\Microsoft\Today", "UseStartImage", 1 )
# Read the current weather icon
CurWx=RegRead( "HKLM", "\Software\HTC\Manila2D\Weather\0", "Icon" )
# Start the loop
While( (CurWx EQ "" )="FALSE")
If( CurWx eq PreWx )
#do nothing here
Else
PreWx=CurWx
# so name reads correctly in today settings
RegWriteString( "HKCU", "\Software\Microsoft\Today", "Wall", "HH_WEATHER_" & CurWx )
Copy( FilePath & "HH_WEATHER_" & CurWx & ".png", "\Windows\stwater_240_320.gif", TRUE)
Copy( FilePath & "HH_WEATHER_" & CurWx & ".png", "\Windows\stwater_320_240.gif", TRUE)
# to get the wallpaper loaded
SendMessage( HWND_BROADCAST, WM_WININICHANGE, 242, 0 )
# to get the today screen refreshed
RedrawToday
EndIf
# adjust sleep to how long you want to wait between refreshes, but the more often it runs, the more resouces it uses
Sleep( 10000)
CurWx=RegRead( "HKLM", "\Software\HTC\Manila2D\Weather\0", "Icon" )
EndWhile
I believe the weather tab does not update automatically if it is not active. What I have noticed is that if I go to the tab and it has been longer than 2 or 3 hours it automatically starts to update. Otherwise I pick the leftsoft key to update now.
I do not have a switch to turn it off, but you can use taskmanager to kill this.
BTW I have 4 suns showing up based on the file size. I am trying to find a setting for tilemode versus fit or centered like PC's desktop image.
RoryB said:
Found what I needed
Code:
# In case we decide on a different file folder or if use a different weather source
FilePath="\windows\"
# start wallpaper if not already started
RegWriteDWord( "HKCU", "\Software\Microsoft\Today", "DPI", 96 )
RegWriteDWord( "HKCU", "\Software\Microsoft\Today", "UseStartImage", 1 )
# Read the current weather icon
CurWx=RegRead( "HKLM", "\Software\HTC\Manila2D\Weather\0", "Icon" )
# Start the loop
While( (CurWx EQ "" )="FALSE")
If( CurWx eq PreWx )
#do nothing here
Else
PreWx=CurWx
# so name reads correctly in today settings
RegWriteString( "HKCU", "\Software\Microsoft\Today", "Wall", "HH_WEATHER_" & CurWx )
Copy( FilePath & "HH_WEATHER_" & CurWx & ".png", "\Windows\stwater_240_320.gif", TRUE)
Copy( FilePath & "HH_WEATHER_" & CurWx & ".png", "\Windows\stwater_320_240.gif", TRUE)
# to get the wallpaper loaded
SendMessage( HWND_BROADCAST, WM_WININICHANGE, 242, 0 )
# to get the today screen refreshed
RedrawToday
EndIf
# adjust sleep to how long you want to wait between refreshes, but the more often it runs, the more resouces it uses
Sleep( 10000)
CurWx=RegRead( "HKLM", "\Software\HTC\Manila2D\Weather\0", "Icon" )
EndWhile
I believe the weather tab does not update automatically if it is not active. What I have noticed is that if I go to the tab and it has been longer than 2 or 3 hours it automatically starts to update. Otherwise I pick the leftsoft key to update now.
I do not have a switch to turn it off, but you can use taskmanager to kill this.
BTW I have 4 suns showing up based on the file size. I am trying to find a setting for tilemode versus fit or centered like PC's desktop image.
Click to expand...
Click to collapse
That would not be nesesary if the weather image itelf is 320X268 easy to do by changing the canvas size from the top left corner.
I have mine set to auto download
I would love to try it. can you cab it up? I actually dont have mort in my rom right now.
I will update the gfx later tonight (way late at night unfortunately)
rotastrain said:
no problem i can do this...
i already hav written scripts earlier to update the...wallpaper...animate etc etc..
now u want the image to update according to the weather right?
have useen sense ui?u know the weather thingy on top.like a widgety thing...i can make that or just this what u r saying?
which do u think is better?
plus r u vga?...wvga?
ALSO:
the weather in manila updates when v go to the page..so this modification will update the wallpaper based on the updated weather..i dint think it can update the weather itself..
il take this as my next project
Click to expand...
Click to collapse
Would thi be run with mort? or a eparate process?
and manila2D is Qvga.. but I do not think it makes a difference.
if the manila is set to download weather on auto this should not cause a problem.
Thanks guys! this will be the coolest thing to happen to manila EVER!!
You can install mortscript from his website.
Just download this file and remove .txt from the file name to get the script.
Are you sure yours is updating in the background?
Do you know if there is a registry that changes or program that runs while the weather data updates? Watching for that to change is the only way I know of and I think that will still have to have a time span set in it. I just talked myself into thinking this is the best way I have for now.
I am still going to try to find a way we do not have to resize the images.
I just tried it. it canged the reg but not the image.
I think that it has to be the set as wallpaper context menu that does it.
Mod the system ui for lock screen and recent apps in status bar. No extra running app required, just inbuild system keys. It will reduce the use of physical keys a bit.
Thanks hara74 for guide http://forum.xda-developers.com/showpost.php?p=41120123&postcount=3
SystemUI.apk\res\layout\tw_status_bar_expanded_header.xml
Added lines in blue colour
Code:
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout android:gravity="center_vertical" android:orientation="horizontal" android:background="#ff000000" android:layout_width="fill_parent" android:layout_height="39.0dip" android:baselineAligned="false"
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:systemui="http://schemas.android.com/apk/res/com.android.systemui">
<com.android.systemui.statusbar.policy.Clock android:textAppearance="@style/TextAppearance.StatusBar.Expanded.Clock" android:textColor="#ffffffff" android:id="@id/clock" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="4.0dip" android:layout_marginTop="-3.0dip" android:singleLine="true" systemui:ampmSmall="true" />
<com.android.systemui.statusbar.policy.DateView android:textAppearance="@style/TextAppearance.StatusBar.Expanded.Date" android:textColor="[COLOR="DeepSkyBlue"]#ffffffff[/COLOR]" android:ellipsize="none" android:id="@id/date" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="2.0dip" android:layout_marginRight="2.0dip" android:maxLines="2" />
<com.android.systemui.statusbar.RotationToggle android:id="@id/rotation_lock_button" android:clickable="true" android:layout_width="32.0dip" android:layout_height="32.0dip" android:layout_margin="2.0dip" android:button="@drawable/ic_notify_rotation" android:contentDescription="@string/accessibility_rotation_lock_off" />
[COLOR="DeepSkyBlue"]<com.android.systemui.statusbar.policy.KeyButtonView android:id="@id/back" android:background="@drawable/tw_quick_panel_setting_button_bg" android:paddingLeft="2.0dip" android:paddingRight="2.0dip" android:focusable="true" android:layout_width="wrap_content" android:layout_height="fill_parent" android:src="@drawable/keylockwhite" android:layout_toLeftOf="@id/recent_apps" android:contentDescription="@string/accessibility_back" systemui:keyCode="26" />
<com.android.systemui.statusbar.policy.KeyButtonView android:id="@id/recent_apps" android:background="@drawable/tw_quick_panel_setting_button_bg" android:paddingLeft="2.0dip" android:paddingRight="2.0dip" android:focusable="true" android:layout_width="wrap_content" android:layout_height="fill_parent" android:src="@drawable/recentwhite" android:layout_toRightOf="@id/back" android:contentDescription="@string/accessibility_recent" systemui:keyCode="187" />[/COLOR]
<Space android:layout_width="0.0dip" android:layout_height="0.0dip" android:layout_weight="1.0" />
<ImageView android:layout_width="1.0dip" android:layout_height="25.0dip" android:layout_marginTop="7.0dip" android:layout_marginBottom="7.0dip" android:src="@drawable/tw_quick_panel_plnm_setting_dv" />
<RelativeLayout android:id="@id/settings_button" android:background="@drawable/tw_quick_panel_setting_button_bg" android:focusable="true" android:visibility="visible" android:layout_width="58.0dip" android:layout_height="39.0dip">
<ImageView android:id="@id/settings_button_icon" android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@drawable/43_notify_quicksettings_normal" android:scaleType="center" android:layout_centerHorizontal="true" android:layout_centerVertical="true" android:contentDescription="@string/accessibility_settings_button" />
</RelativeLayout>
</LinearLayout>
You can also add home button:
Code:
<com.android.systemui.statusbar.policy.KeyButtonView android:id="@id/home" android:background="@drawable/tw_quick_panel_setting_button_bg" android:paddingLeft="2.0dip" android:paddingRight="2.0dip" android:focusable="true" android:layout_width="wrap_content" android:layout_height="fill_parent" android:src="@drawable/ic_sysbar_home" android:layout_toRightOf="@id/back" android:contentDescription="@string/accessibility_recent" systemui:keyCode="3" />
long pressing home will show recent apps and long press of keylock will give Device options (Power off, Data network mode, Restart.. etc)
How to install:
1. Rename /system/app/SystemUI.apk to SystemUI.apk.bkp (for backup)
2. Copy the downloaded SystemUI.apk in the /system/app
3. Change permission: rw-r--r--
4. Reboot if required.
Icon layout and bug fixed in new BG trans 50% zip.
where you put the images of the new icons ? i can't fin the xhdpi folder ...
Javho said:
where you put the images of the new icons ? i can't fin the xhdpi folder ...
Click to expand...
Click to collapse
You can put them where you prefer and link them in the xmls
Inviato dal mio GT-I9070 con Tapatalk 2
Javho said:
where you put the images of the new icons ? i can't fin the xhdpi folder ...
Click to expand...
Click to collapse
New icon images are in res\drawable-nodpi\ keylockwhite.png, recentwhite.png and home_normal1.png attached above if required.
Deleted battery indicator?
Deleted battery indicator?
P123456 said:
Mod the system ui for lock screen and recent apps in status bar. No extra running app required its just inbuild system keys. It will reduce the use of physical keys a bit.
Thanks hara74 for guide http://forum.xda-developers.com/showpost.php?p=41120123&postcount=3
How to install:
1. Rename /system/app/SystemUI.apk to SystemUI.apk.bkp (for backup)
2. Copy the downloaded SystemUI.apk in the /system/app
3. Change permission: rw-r--r--
4. Reboot if required.
Click to expand...
Click to collapse
arieligena said:
Deleted battery indicator?
Click to expand...
Click to collapse
No.
I ask because I can't see the indicator in your screenshot, isn't it ?
P123456 said:
No.
Click to expand...
Click to collapse
Can you tell me what xml you exactly editted and what in it ?
I have cm and will edit its systemui and try using it with stock
Just check this link http://forum.xda-developers.com/showpost.php?p=41120123&postcount=3
Download .png images above (or extract from my modded apk res\drawable-nodpi\ keylockwhite.png and recentwhite.png) rename them as required and put them in res\drawable-nodpi\ folder.
change this in that two copied lines...
android:src="@drawable/ic_sysbar_recent"
to
android:src="@drawable/*" //* is the name given by you to recent .png image without extension
And change
android:src="@drawable/ic_sysbar_lock"
to
android:src="@drawable/*" //* is the name given by you to lock .png image without extension
Save changes and recompile.
Is the background changing to blue on press?
P123456 said:
Just check this link http://forum.xda-developers.com/showpost.php?p=41120123&postcount=3
Download .png images above (or extract from my modded apk res\drawable-nodpi\ keylockwhite.png and recentwhite.png) rename them as required and put them in res\drawable-nodpi\ folder.
change this in that two copied lines...
android:src="@drawable/ic_sysbar_recent"
to
android:src="@drawable/*" //* is the name given by you to recent .png image without extension
And change
android:src="@drawable/ic_sysbar_lock"
to
android:src="@drawable/*" //* is the name given by you to lock .png image without extension
Save changes and recompile.
Click to expand...
Click to collapse
I tried making changes in cm's systemui.apk but it didnt had any tw_xxx file. I made changes in without tw_xxx file. And failed while recompiling. I used apktool to de and recompile. Not abd shell !
VooDoo` said:
Is the background changing to blue on press?
Click to expand...
Click to collapse
Yes now as setting icon.
szzlgupta said:
I tried making changes in cm's systemui.apk but it didnt had any tw_xxx file. I made changes in without tw_xxx file. And failed while recompiling. I used apktool to de and recompile. Not abd shell !
Click to expand...
Click to collapse
Use apk multitool http://forum.xda-developers.com/showthread.php?t=1310151
P123456 said:
Use apk multitool http://forum.xda-developers.com/showthread.php?t=1310151
Click to expand...
Click to collapse
Tomorrow now. Its late, 12:10AM :|
Thanks btw
Please dont have this SystemUI but whit the black backgroung?
Enviado desde mi GT-I9070 usando Tapatalk 2
can someone help me... i am try ing to add recent app buton to statusbar but I cannot recompilate the SystemUI.apk
but if i delete the "systemui:keyCode="187" " i can compilate the SystemUI
the rezult...it shows the button on statusbar but i doesn't do anything...
P.S. I am on CM10
can u mod it so that when we press the last button we get a variety of options like in s4 and not just the settings?
MFaust said:
can someone help me... i am try ing to add recent app buton to statusbar but I cannot recompilate the SystemUI.apk
but if i delete the "systemui:keyCode="187" " i can compilate the SystemUI
the rezult...it shows the button on statusbar but i doesn't do anything...
P.S. I am on CM10
Click to expand...
Click to collapse
You can get this lines in navigation_bar.xml or system_bar.xml (same layout folder) of your systemui. Copy and paste from there.
a strange thing happen...
i found the recent apps lines in "system_bar.xml" i put them in statusbar extended and still nothing
it shows the button but when i press the button nothing happen.. the phone onley vibrate but the recent apps menu dose not appear...
any suggestion?
MFaust said:
a strange thing happen...
i found the recent apps lines in "system_bar.xml" i put them in statusbar extended and still nothing
it shows the button but when i press the button nothing happen.. the phone onley vibrate but the recent apps menu dose not appear...
any suggestion?
Click to expand...
Click to collapse
You need the key code or the button won't know what to do .
Sent from 'The Highlands' with a phone.