[DEV][IDEA] M2D Action Screen Tab - NEED DEVELOPERS HELP - Windows Mobile Apps and Games

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??

Related

MANILA2D(QVGA) - Auto Update Manila2D weather and set it as wallpaper.

{
"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.

Developing XPERIA S / T for X10 Mini pro with HW Support!

Hi Im developing a xPeria S Keyboard with hw Support but i have Problems to convert it what i have found are follow ´things
uploaded one developer kit for all that want to help me.
the Rom that the xperia S Keyboard works and we have to fix the layouts only i have uploaded here Achotjan_Semc_Debrand_Engine_v30_Beta_04_U20i.zip
this includes the Keyboard of Achotjan_Semc_Debrand_Engine_v30_Beta_04_U20i -> download here -> http://rapidshare.com/files/1307696133/keyboards.zip
-> it has the properties : - If you install it on minicm 10 it crashes ( xperia process has been finish Or so)-
- you can Setup the xperia s Keyboard if you set another Keyboard as Default...
- you notice it if it will be Switches to be in Hardware mode -> it don't work in minicm10 at the Moment if somone have time you can test it on minicm7 and write nme if it is working there
they are the orgiginal files in it without changes
Semc_Debrand_Engine_6.0.B.0.743_U20i -> http://rapidshare.com/files/1821291341/developer_patchsemc_6.0b.zip​
xperia S Keyboard and Hardware use . im understanding how it works basicalyy but im not a expert in it later i will send you some Information what i find
but what i find is follow:
the xperia mini pro (sk17i) has a similiar structur with the x10mini pro in the things, Keyboard layout, chars and so on. on my xperia s Keyboard there isn't the structure avable so the Keyboard can't use it. i belive the key for sucseess is in the
Folders
/System/Usr/Keyboard-config ------------------------>
/System/USR/Keychars - ------------------------->
/System/USR/Keylayout ------------------------> similiar to minicm7 xperia Keyboard
System/USR/srec
/System/USr/textinput
/System/USR/XT9
Note the files : qwerty.kcm.bin; mimmi_keypad.kcm.bin; or z8d files we can open with hexeditor
so If we can adapt to our x10mini pro we should have an xperia S- Keyboard that the Hardware Keyboard should work with it and we have a update to our minicm7 Keyboard .. I don't know how but if you find a way it is a Milestone in our x10mini pro . hope everyone can help me
Developer_Package_with_xperia_sabithwsupport Note to edit some file you should use Notepad++ and a hexeditor --> i don't have any knowledge about hex files
{
"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 have tryied follow things
http://forum.xda-developers.com/showthread.php?t=2102979
http://forum.xda-developers.com/showthread.php?t=1547404
http://forum.xda-developers.com/showthread.php?p=18569390
http://forum.xda-developers.com/showthread.php?t=1670352
http://forum.xda-developers.com/showthread.php?t=2155803
this are my files with Keyboard of both and fixes
http://forum.xda-developers.com/showthread.php?t=2094572
so what i have found is follow on xperia S i have found a way to be activate the blue key for it. But without ÄÜÖ the rest are avable.
if i have something Change in keychars and keylayout the minicm7 use the left blue key for both.
In one configuration the xperia s try to load the Hardware Driver with sim key and so on but it goes back to the original state. In the Framework Folder i found in one xperia s interessting things suqushashinput.jar ----> (ist a file of our minicm7 too) and uxprexe it is the file of the xperia s Keyboard. i don't know but im belive this are the user Interface of Hardware using of the Keyboard.....
In the Folder Keyboard-config you find 11 files that are similar to minicm7 Keyboard. only the language files are a bit otherwise of the Name in our phone. I believe if we use the rigth files of booth and create it that the xperia s Keyboards loads the minicm7 Interface it should be working or if the xperia s inteface is loading with modified files to our phonen i hope anyone can help me
- apk Manager: apl managere
hi bro
yesterday i tested latest nAa's nightly with latest nAa(jb)04 kernel...hwkey works fine with my keychars but there's one problem
L key seems like works as RETURN key
When I press L key phone comes back to homescreen.
Do you now why? Thanks
yes
Chuck95 said:
hi bro
yesterday i tested latest nAa's nightly with latest nAa(jb)04 kernel...hwkey works fine with my keychars but there's one problem
L key seems like works as RETURN key
When I press L key phone comes back to homescreen.
Do you now why? Thanks
Click to expand...
Click to collapse
It is always a kernel bug you can test it . go to cwm -> advance -> Key test
now you ssee on some keys are two keys
the Problem isn't fixed correctly
R: Developing XPERIA S / T for X10 Mini pro with HW Support!
Thank you very much
Sent from my U20i using xda app-developers app
---------- Post added at 10:29 PM ---------- Previous post was at 10:16 PM ----------
Hiii...I noticed one thing
Before replace keychars when I typed with hw keyboard there were these problems:
-when I type i it shows ''ijj'' and same problem with other buttons but now that i replace keychars there isn't no more this problem so i think that problem with L key is in ROM not in KERNEL because if i fixed it i can fix L key too...I will let you know
Sent from my U20i using xda app-developers app
---------- Post added at 10:32 PM ---------- Previous post was at 10:29 PM ----------
If i fix it you can add my usr folder in your new project
Sent from my U20i using xda app-developers app
Nice work, released that
Hi i tested rom changing usr folder...I replaced it with older but problem is still there so we have to wait a new kernel
It would be nice if this would work :good:
Achotjan gave up to try and make it work in Semc Debrand Engine.
There is a lot of discussion about the XPERIA S HW-keyboard-problem in that thread, also alot of good sugestions and info. It's a long thread, but worth looking throug for some inspiration :silly:
Also the sk17i-HW-keyboard got more keys (extra row to the right) than U20i-HW-keyboard. This gave alot of headache for us all, LOL
Emperor.dk said:
It would be nice if this would work :good:
Achotjan gave up to try and make it work in Semc Debrand Engine.
There is a lot of discussion about the XPERIA S HW-keyboard-problem in that thread, also alot of good sugestions and info. It's a long thread, but worth looking throug for some inspiration :silly:
Also the sk17i-HW-keyboard got more keys (extra row to the right) than U20i-HW-keyboard. This gave alot of headache for us all, LOL
Click to expand...
Click to collapse
im knowing up that in one configuration i have a similar Hardware layout configuration of minicm7 Keyboard if im using Default Input and in xperia s i have the qwertz ofthe config of minicm7 nbut without sym key and later i have a configuration with working blue keys without symkey and qwerz but with no function it on the minicm7 arg
allesand said:
im knowing up that in one configuration i have a similar Hardware layout configuration of minicm7 Keyboard if im using Default Input and in xperia s i have the qwertz ofthe config of minicm7 nbut without sym key and later i have a configuration with working blue keys without symkey and qwerz but with no function it on the minicm7 arg
Click to expand...
Click to collapse
this is my configuraton, working fine for me, hard keys and blue keys (Achotjan rom)
HTML:
<?xml version="1.0" encoding="utf-8"?>
<Keyboard xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../scancode_mapping.xsd">
<!-- First row -->
<Row>
<MappingKey scancode="16" id="C1.1" />
<MappingKey scancode="17" id="C1.2" />
<MappingKey scancode="18" id="C1.3" />
<MappingKey scancode="19" id="C1.4" />
<MappingKey scancode="20" id="C1.5" />
<MappingKey scancode="21" id="C1.6" />
<MappingKey scancode="22" id="C1.7" />
<MappingKey scancode="23" id="C1.8" />
<MappingKey scancode="24" id="C1.9" />
<MappingKey scancode="25" id="C1.10" />
<MappingMetaKey scancode="14" id="META_DELETE" />
</Row>
<!-- Second row -->
<Row>
<MappingKey scancode="30" id="C2.1" />
<MappingKey scancode="31" id="C2.2" />
<MappingKey scancode="32" id="C2.3" />
<MappingKey scancode="33" id="C2.4" />
<MappingKey scancode="34" id="C2.5" />
<MappingKey scancode="35" id="C2.6" />
<MappingKey scancode="36" id="C2.7" />
<MappingKey scancode="37" id="C2.8" />
<MappingKey scancode="38" id="C2.9" />
<MappingKey scancode="40" id="C2.10" />
<MappingMetaKey scancode="28" id="META_ENTER" />
</Row>
<!-- Third row -->
<Row>
<MappingMetaKey scancode="42" id="META_SHIFT_LEFT" />
<MappingKey scancode="44" id="C3.1" />
<MappingKey scancode="45" id="C3.2" />
<MappingKey scancode="46" id="C3.3" />
<MappingKey scancode="47" id="C3.4" />
<MappingKey scancode="48" id="C3.5" />
<MappingKey scancode="49" id="C3.6" />
<MappingKey scancode="50" id="C3.7" />
<MappingKey scancode="214" id="C3.8" />
<MappingMetaKey scancode="103" id="META_DPAD_UP" />
<MappingMetaKey scancode="368" id="META_LANGUAGE" />
</Row>
<!-- Fourth row -->
<Row>
<MappingMetaKey scancode="56" id="META_ALT_LEFT" />
<MappingMetaKey scancode="216" id="META_SYMBOL" />
<MappingKey scancode="26" id="C4.1" />
<MappingKey scancode="51" id="C4.2" />
<MappingMetaKey scancode="57" id="META_SPACE" />
<MappingKey scancode="52" id="C4.4" />
<MappingMetaKey scancode="105" id="META_DPAD_LEFT" />
<MappingMetaKey scancode="108" id="META_DPAD_DOWN" />
<MappingMetaKey scancode="106" id="META_DPAD_RIGHT" />
</Row>
<!-- Back key -->
<Row>
<MappingMetaKey scancode="158" id="META_BACK" />
</Row>
</Keyboard>
chilakil said:
this is my configuraton, working fine for me, hard keys and blue keys (Achotjan rom)
HTML:
<?xml version="1.0" encoding="utf-8"?>
<Keyboard xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../scancode_mapping.xsd">
<!-- First row -->
<Row>
<MappingKey scancode="16" id="C1.1" />
<MappingKey scancode="17" id="C1.2" />
<MappingKey scancode="18" id="C1.3" />
<MappingKey scancode="19" id="C1.4" />
<MappingKey scancode="20" id="C1.5" />
<MappingKey scancode="21" id="C1.6" />
<MappingKey scancode="22" id="C1.7" />
<MappingKey scancode="23" id="C1.8" />
<MappingKey scancode="24" id="C1.9" />
<MappingKey scancode="25" id="C1.10" />
<MappingMetaKey scancode="14" id="META_DELETE" />
</Row>
<!-- Second row -->
<Row>
<MappingKey scancode="30" id="C2.1" />
<MappingKey scancode="31" id="C2.2" />
<MappingKey scancode="32" id="C2.3" />
<MappingKey scancode="33" id="C2.4" />
<MappingKey scancode="34" id="C2.5" />
<MappingKey scancode="35" id="C2.6" />
<MappingKey scancode="36" id="C2.7" />
<MappingKey scancode="37" id="C2.8" />
<MappingKey scancode="38" id="C2.9" />
<MappingKey scancode="40" id="C2.10" />
<MappingMetaKey scancode="28" id="META_ENTER" />
</Row>
<!-- Third row -->
<Row>
<MappingMetaKey scancode="42" id="META_SHIFT_LEFT" />
<MappingKey scancode="44" id="C3.1" />
<MappingKey scancode="45" id="C3.2" />
<MappingKey scancode="46" id="C3.3" />
<MappingKey scancode="47" id="C3.4" />
<MappingKey scancode="48" id="C3.5" />
<MappingKey scancode="49" id="C3.6" />
<MappingKey scancode="50" id="C3.7" />
<MappingKey scancode="214" id="C3.8" />
<MappingMetaKey scancode="103" id="META_DPAD_UP" />
<MappingMetaKey scancode="368" id="META_LANGUAGE" />
</Row>
<!-- Fourth row -->
<Row>
<MappingMetaKey scancode="56" id="META_ALT_LEFT" />
<MappingMetaKey scancode="216" id="META_SYMBOL" />
<MappingKey scancode="26" id="C4.1" />
<MappingKey scancode="51" id="C4.2" />
<MappingMetaKey scancode="57" id="META_SPACE" />
<MappingKey scancode="52" id="C4.4" />
<MappingMetaKey scancode="105" id="META_DPAD_LEFT" />
<MappingMetaKey scancode="108" id="META_DPAD_DOWN" />
<MappingMetaKey scancode="106" id="META_DPAD_RIGHT" />
</Row>
<!-- Back key -->
<Row>
<MappingMetaKey scancode="158" id="META_BACK" />
</Row>
</Keyboard>
Click to expand...
Click to collapse
nice in whitch of the files i can find it?
chilakil said:
this is my configuraton, working fine for me, hard keys and blue keys (Achotjan rom)
HTML:
...
<MappingMetaKey scancode="57" id="META_SPACE" />
...
Click to expand...
Click to collapse
I see you have only one MetaKey for space. Do you get a "space" pressing both edges of the key?
Doing a key-test in CWM returns two scancodes for right and left edge.
See post # 405 (at the buttom of the post i list all the scankeys) on this page: http://forum.xda-developers.com/showthread.php?t=1504637&page=41
allesand said:
nice in whitch of the files i can find it?
Click to expand...
Click to collapse
system/usr/keyboard-config/scancode_mapping,xml
---------- Post added at 10:37 AM ---------- Previous post was at 09:51 AM ----------
Emperor.dk said:
I see you have only one MetaKey for space. Do you get a "space" pressing both edges of the key?
Doing a key-test in CWM returns two scancodes for right and left edge.
See post # 405 (at the buttom of the post i list all the scankeys) on this page: http://forum.xda-developers.com/showthread.php?t=1504637&page=41
Click to expand...
Click to collapse
Extra key is not necessary because the navigation keys are functional (right to left), but you not will get extra space by pressing the navigation key to the right if that's what you mean.
Emperor.dk said:
I see you have only one MetaKey for space. Do you get a "space" pressing both edges of the key?
Doing a key-test in CWM returns two scancodes for right and left edge.
See post # 405 (at the buttom of the post i list all the scankeys) on this page: http://forum.xda-developers.com/showthread.php?t=1504637&page=41
Click to expand...
Click to collapse
ok so what do you mean it wit one MetaKey for space?
i don't understand it
allesand said:
ok so what do you mean it wit one MetaKey for space?
i don't understand it
Click to expand...
Click to collapse
the space-bar got two buttons. One under B and one under M.
they could actually be maped into two different functions like space for the one under B and TAB for the one under M. I always wondered why we didn't had a TAB key. i will try to make it for the learning experience.
but read in the thread i linked to get some idears to make XPERIA S keyboard work on our mimmi
Emperor.dk said:
the space-bar got two buttons. One under B and one under M.
they could actually be maped into two different functions like space for the one under B and TAB for the one under M. I always wondered why we didn't had a TAB key. i will try to make it for the learning experience.
but read in the thread i linked to get some idears to make XPERIA S keyboard work on our mimmi
Click to expand...
Click to collapse
http://forum.xda-developers.com/show...504637&page=41 you mean this thread
allesand said:
http://forum.xda-developers.com/show...504637&page=41 you mean this thread
Click to expand...
Click to collapse
Yes
http://forum.xda-developers.com/showthread.php?t=1504637&page=41
i tried follow
Emperor.dk said:
Yes
http://forum.xda-developers.com/showthread.php?t=1504637&page=41
Click to expand...
Click to collapse
im downloading the Rom of azopikolo or what his Name is copy the Keyboard files Change the configure files and make a new developer kit . so im testing it if im think this is great i will update the files to newer one . so i m hope this is the rigth way to make a keyfix for our phone so we should have an xperia s Keyboard with working keys or isn't it so ..?
so there are many Versions of it. Which Rom was the best Rom to can make the fix ? there are many Versions of Semc Debrand Engine | 3.0_Final | FreeXperia Project | 6.0.B.0.743 | RELEASED !
should work
have tested old Rom quickly i see that this has to work on our phone
im testing the old Rom of achioat or so
i have founding an bug that has some Versions of the android Systems of nAas on 3.05 and 4.0 that nAa has been fixed with the symkey
so im think we Need this files of the old Rom and has it to update it and then we Need a System like it is existing for xperia s or the System works to don't know but im thinnking this are good news
the existing Keyboard layout zip files or integratet in my fix should be work soon with xperia S HW
tested with minicm7rom of a_
allesand said:
the existing Keyboard layout zip files or integratet in my fix should be work soon with xperia S HW
tested with minicm7rom of a_
Click to expand...
Click to collapse
I told you I've been using for several months without problems :good:

[GUIDE] How To Create A New Activity In Settings

This Is My First Guide So Please Forgive Me If I Forget Something​
In This Guide I Will Show You How to Make A New Activity Like For example :
- Credits
- About Rom
And Etc.
Requirements:
Any Tool that can Decompile & Recompile with it's requirements
Notepad++ (Will Be Much Easier To Use This)
My Friend Saqib Nazm Has Made A Very Good Guide About How to Add Any Option In Settings.apk Which May Prove Helpful In This Guide : [Complete Tutorial] How to add any App/Option in Settings.apk
I Will Be Using Credits In About Phone As An Example:
First Of All You Should Know How To Decompile Settings.apk ( This Guide May Prove HelpFul : How to Decompile/Recompile Apk with Apk Multitool + Decompile/Recompile Jar Files
First Of All Extract And Decompile Your Settings.apk
_
Now Navigate To /res/xml/ And Open
- device_info_settings.xml (If You Want It In The About_Phone Section)
- Go Here If You Want To Add To Main Menu
Now Go To The End And Add (Or Whereever You Want It To Be)
Code:
<PreferenceScreen android:title="@string/device_credit" android:key="credits_info" android:summary="@string/device_credit_summary">
<intent android:targetPackage="com.android.settings" android:action="android.intent.action.MAIN" android:targetClass="com.android.settings.deviceinfo.Credits" />
</PreferenceScreen>
{
"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"
}
_
Now Navigate To /res/values
And Open Strings.xml
Then Add This At The End
Code:
<string name="credits_activity_title">Credits</string>
<string name="device_credit">Credits</string>
<string name="device_credit_summary"></string>
<string name="credit_dev_header">Developed By:</string>
<string name="credit_dev_name">"Name Here"</string>
<string name="credit_header">Thanks To:</string>
<string name="credit_name">"-Name Here \n
-Name Here \n
-Name Here \n
-Name Here \n
-Name Here \n
-Name Here"</string>
Note : \n Is used to add a new line
_
Now Download The File From The Attachment And Paste The Files Into Your Decompiled Directory
_
Now Edit AndroidManifest.xml
And Add This To The End
Code:
<activity android:label="@string/credits_activity_title" android:name=".deviceinfo.Credits">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
</intent-filter>
</activity>
_
Now Recompile The Apk And Then Decompile it Again
_
In The Directory You Just Decompiled The Apk Navigate To /res/values/
And Open Public.xml
Search For : device_info_credits
And Copy The ID Beside What You Just Searched
Then Navigate To /smali/com/android/settings/deviceinfo/
And Open Credits.smali
And Find This Code
Code:
.line 20
const v0, [U]0x7f050039[/U]
Change the UnderLined Part To The ID You Just Copied From Public.xml
_
Now You May Recompile Your Settings.apk
Please Remember To Sign The APK
*ScreenShots Are Available Within The Hidden Contents*
*How To Change This For WhatEver You Want*
*Here I Will Be Explaining How You Can Modify This Guide To Include Whatever You Want*​
First In /res/xml/device_info_settings.xml *OPTIONAL*
Change The Codes In Red To What You Desire
Change The Code In Green To What You Desire As Well But Be Cautious About This As Most Things Will Use This
Code:
<PreferenceScreen android:title="@string/[COLOR="Red"]device_credit[/COLOR]" android:key="[COLOR="Red"]credits_info[/COLOR]" android:summary="@string[COLOR="red"]/device_credit_summary[/COLOR]">
<intent android:targetPackage="com.android.settings" android:action="android.intent.action.MAIN" android:targetClass="com.android.settings.deviceinfo[COLOR="Green"].Credits[/COLOR]" />
</PreferenceScreen>
_
Now In /res/values/Strings.xml *IMPORTANT*
Change The Codes In Red To What You Set In The Previous Step
Change The Codes In Green To Whatever You Want To Be Displayed
Code:
<string name="[COLOR="Red"]credits_activity_title[/COLOR]">[COLOR="green"]Credits[/COLOR]</string>
<string name="[COLOR="red"]device_credit[/COLOR]">[COLOR="green"]Credits[/COLOR]</string>
<string name="[COLOR="red"]device_credit_summary[/COLOR]"></string>
<string name="[COLOR="red"]credit_dev_header[/COLOR]">[COLOR="Green"]Developed By:[/COLOR]</string>
<string name="[COLOR="red"]credit_dev_name[/COLOR]">[COLOR="Green"]Name Here[/COLOR]</string>
<string name="[COLOR="red"]credit_header[/COLOR]">[COLOR="green"]Thanks To:[/COLOR]</string>
<string name="[COLOR="red"]credit_name[/COLOR]">"[COLOR="green"]-Name Here \n
-Name Here \n
-Name Here \n
-Name Here \n
-Name Here \n
-Name Here[/COLOR]"</string>
_
Now In The Attached File *OPTIONAL*
Rename The Both Files In My Settings.apk
The Smali FIle Rename To What You Set In Step 1 (The One In Green)
Inside the smali file change all the occurences accordingly
in Public.xml to get the ID use the name of the renamed xml file
Now In Android Manifest
Change The Stuff In Red To What You Have Already Set
Code:
<activity android:label="@string/[COLOR="Red"]credits_activity_title[/COLOR]" android:name=".deviceinfo[COLOR="Red"].Credits[/COLOR]">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
</intent-filter>
</activity>
Edit The xml file in my zip accordingly
And Now Follow My Guide
Ok wait @Sahaab
why to create a thread of you toke an example if this and its already here?
http://forum.xda-developers.com/showthread.php?t=2341389
Pandemic said:
Ok wait @Sahaab
why to create a thread of you toke an example if this and its already here?
http://forum.xda-developers.com/showthread.php?t=2341389
Click to expand...
Click to collapse
Try Creating A new activity with that guide
Right, that's the thing so many people asked me, glad that you made it here. I can just re-direct them here now
saqib nazm said:
Right, that's the thing so many people asked me, glad that you made it here. I can just re-direct them here now
Click to expand...
Click to collapse
Go ahead
And u said to make a guide so here it is
It took a while for me to do this for my ROM so I thought I wud
Sent from my LT18i
Hey
Sahaab
Click to expand...
Click to collapse
so i dont know how to deal with this error, any ideas
/home/dev/adt/apk/Settings/res/xml/device_info_settings.xml:42: error: Error parsing XML: no element found
USEFULL INFO
there is no line 42 , only line 41 (not even empty line 42)
ps i didnt change any of the given codes (too lazy and they are fine how they are , im not going to have a second credits menu am i?)
Pps Here is from line 30 to 41
Code:
</PreferenceScreen>
<Preference android:title="@string/model_number" android:key="device_model" android:summary="@string/device_info_default" style="?android:preferenceInformationStyle" />
<Preference android:title="@string/firmware_version" android:key="firmware_version" android:summary="@string/device_info_default" style="?android:preferenceInformationStyle" />
<Preference android:title="@string/fcc_equipment_id" android:key="fcc_equipment_id" android:summary="@string/device_info_default" style="?android:preferenceInformationStyle" />
<Preference android:title="@string/baseband_version" android:key="baseband_version" android:summary="@string/device_info_default" style="?android:preferenceInformationStyle" />
<Preference android:title="@string/kernel_version" android:key="kernel_version" android:summary="@string/device_info_default" style="?android:preferenceInformationStyle" />
[COLOR="Red"] <Preference android:title="@string/rom_header" android:key="rom_header" android:summary="@string/rom_name" style="?android:preferenceInformationStyle" />[/COLOR]
<Preference android:title="@string/build_number" android:key="build_number" android:summary="@string/device_info_default" style="?android:preferenceInformationStyle" />
<com.sonymobile.settings.preference.IncludePreference settings:include="@xml/somc_add_device_info_settings" />
[COLOR="Red"] <PreferenceScreen android:title="@string/device_credit" android:key="credits_info" android:summary="@string/device_credit_summary">
<intent android:targetPackage="com.android.settings" android:action="android.intent.action.MAIN" android:targetClass="com.android.settings.deviceinfo.Credits" />[/COLOR]
</PreferenceScreen>
Key
RED=ADDED
Envious_Data said:
so i dont know how to deal with this error, any ideas
/home/dev/adt/apk/Settings/res/xml/device_info_settings.xml:42: error: Error parsing XML: no element found
USEFULL INFO
there is no line 42 , only line 41 (not even empty line 42)
ps i didnt change any of the given codes (too lazy and they are fine how they are , im not going to have a second credits menu am i?)
Pps Here is from line 30 to 41
Code:
</PreferenceScreen>
<Preference android:title="@string/model_number" android:key="device_model" android:summary="@string/device_info_default" style="?android:preferenceInformationStyle" />
<Preference android:title="@string/firmware_version" android:key="firmware_version" android:summary="@string/device_info_default" style="?android:preferenceInformationStyle" />
<Preference android:title="@string/fcc_equipment_id" android:key="fcc_equipment_id" android:summary="@string/device_info_default" style="?android:preferenceInformationStyle" />
<Preference android:title="@string/baseband_version" android:key="baseband_version" android:summary="@string/device_info_default" style="?android:preferenceInformationStyle" />
<Preference android:title="@string/kernel_version" android:key="kernel_version" android:summary="@string/device_info_default" style="?android:preferenceInformationStyle" />
[COLOR="Red"] <Preference android:title="@string/rom_header" android:key="rom_header" android:summary="@string/rom_name" style="?android:preferenceInformationStyle" />[/COLOR]
<Preference android:title="@string/build_number" android:key="build_number" android:summary="@string/device_info_default" style="?android:preferenceInformationStyle" />
<com.sonymobile.settings.preference.IncludePreference settings:include="@xml/somc_add_device_info_settings" />
[COLOR="Red"] <PreferenceScreen android:title="@string/device_credit" android:key="credits_info" android:summary="@string/device_credit_summary">
<intent android:targetPackage="com.android.settings" android:action="android.intent.action.MAIN" android:targetClass="com.android.settings.deviceinfo.Credits" />[/COLOR]
</PreferenceScreen>
Key
RED=ADDED
Click to expand...
Click to collapse
Either u forgot to edit manifest
Or forgot to paste the files
Sent from my LT18i
Sahaab said:
Either u forgot to edit manifest
Or forgot to paste the files
Sent from my LT18i
Click to expand...
Click to collapse
i did edit android.manifest , and i did paste the files
Lines 933 to lines 939
Code:
<activity android:theme="@style/Theme.Holo.DialogWhenLarge" android:label="@string/credits_activity_title" android:name=".deviceinfo.Credits">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
</intent-filter>
</activity>
</application>
</manifest>
EDIT i could send you my Files so you could have a look your self?
Excellent contribution my friend!
Envious_Data said:
i did edit android.manifest , and i did paste the files
Lines 933 to lines 939
Code:
EDIT i could send you my Files so you could have a look your self?
Click to expand...
Click to collapse
Plz give whole decompiled settings here
I will look at them in about 8 hours
Sent from my LT18i
here
Sahaab said:
Plz give whole decompiled settings here
I will look at them in about 8 hours
Sent from my LT18i
Click to expand...
Click to collapse
Framework , app and decompiled app included Download below (ps since its a google link it will expire in a few days)
https://doc-0c-8o-docs.googleuserco...0117431&hash=mfc7p0gtv45irjehbs9ij0n0p19cpc91
Envious_Data said:
Framework , app and decompiled app included Download below (ps since its a google link it will expire in a few days)
https://doc-0c-8o-docs.googleuserco...0117431&hash=mfc7p0gtv45irjehbs9ij0n0p19cpc91
Click to expand...
Click to collapse
Ok atleast not few hours
I am fine with days
Sent from my LT18i
Envious_Data said:
Framework , app and decompiled app included Download below (ps since its a google link it will expire in a few days)
https://doc-0c-8o-docs.googleuserco...0117431&hash=mfc7p0gtv45irjehbs9ij0n0p19cpc91
Click to expand...
Click to collapse
umm it says i am not allowed to access the link :-/
Its working fine. User mistake.
Please read out the errors, apktool tells you everything, its really easy to fix.
jader13254 said:
Its working fine. User mistake.
Please read out the errors, apktool tells you everything, its really easy to fix.
Click to expand...
Click to collapse
Could you plz fix it for him?
https://app.box.com/s/ziadp09v9m15pyjc4nwg
Better and less retared
Envious_Data said:
https://app.box.com/s/ziadp09v9m15pyjc4nwg
Better and less retared
Click to expand...
Click to collapse
Well iTs 4:30 A.m here so hence I will look at it tmrw
Sent from my LT18i
Envious_Data said:
https://app.box.com/s/ziadp09v9m15pyjc4nwg
Better and less retared
Click to expand...
Click to collapse
okay , so i fixed it and am uploading
had to restart using the settings.apk u gave me so it probably lost the modifications u may have done
the problem was prob one of the mods u had done :-/
Envious data
Sahaab said:
okay , so i fixed it and am uploading
had to restart using the settings.apk u gave me so it probably lost the modifications u may have done
the problem was prob one of the mods u had done :-/
Envious data
Click to expand...
Click to collapse
okay , was it just the aditional text boxes that you removed?? what exactly did you do?
ps go here -> http://enviousdataswebsite.jimdo.com/credits/

[Q] How to hide menu items?

Hiya all
I've got this piece of code from an xml in my settings.apk (SecSettings actually) that contains tutorials on motion settings.
Code:
<?xml version="1.0" encoding="utf-8"?>
<PreferenceScreen android:title="@string/motion_tutorial_settings_title" android:key="parent"
xmlns:android="http://schemas.android.com/apk/res/android">
<Preference android:title="@string/turn_over_title" android:key="turn_over" android:summary="@string/turn_over_summary" />
<Preference android:title="@string/shake_title" android:key="shake" android:summary="@string/shake_summary" />
<Preference android:title="@string/pick_up_to_call_out_title" android:key="pick_up_to_call_out" android:summary="@string/pick_up_to_call_out_summary" />
[Color=red] <Preference android:title="@string/air_glance_view" android:key="glance_view" android:summary="@string/air_glance_view_descption" />
<Preference android:title="@string/pick_up_title" android:key="pick_up" android:summary="@string/pick_up_summary" />
<Preference android:title="@string/double_tap_title" android:key="double_tap" android:summary="@string/double_tap_summary" />
<Preference android:title="@string/tilt_title" android:key="tilt" android:summary="@string/tilt_summary" />
<Preference android:title="@string/tilt_to_scroll_list_title" android:key="tilt_to_scroll_list" android:summary="@string/tilt_to_scroll_list_summary" />
<Preference android:title="@string/pan_title" android:key="pan" android:summary="@string/pan_summary" />
<Preference android:title="@string/pan_to_browse_image_title" android:key="pan_to_browse_image" android:summary="@string/pan_to_browse_image_summary" />
<Preference android:title="@string/palm_swipe_title" android:key="palm_swipe" android:summary="@string/palm_swipe_summary" />
<Preference android:title="@string/palm_touch_title" android:key="palm_touch" android:summary="@string/palm_touch_summary" />
<Preference android:title="@string/tap_and_twist_title" android:key="tap_and_twist" android:summary="@string/tap_and_twist_summary" />[/color]
</PreferenceScreen>
In there, all the red parts contain tutorials on settings that don't actually work on my device, and for OCD sake, I don't want them appearing in my settings because of it.
But simply cutting them out of that file will make the settings app crash whenever i open that menu :crying:
So question is: is there a way to hide these settings without impairing their functions?
XML style ofcourse, as I don't dare touch smali
bump! I am still struggling with this :crying:
Is there really no simple xml line for this?
If not, is it possible to resize the not-working menu's to zero pixels? (thus making them invisible)
for the record, adding android:visibility="gone" / androi:visibility="invisible" and android:layout_height="0.0dip" all do nothing
you need to remove also the line inside a smali sir. removing the line will just force the app to close . i also want to remove a category sir, but im not good at smali so i just remove the strings and leave it blank xD
sorry for my english xD

[Q] Help please to create a submenu with apps in settings

Hello. im trying to create a menu for my apps ( xposed etc.. ) bloatware apps .
I started with the bloatware apps.
I was able to link them in settings + I found the list of setting will be long so I decide to create a submenu of categories.
here is the pic attached when I click on fido_menu it force close...
and here is what I did :
I in settings_headers:
<header android:title="@string/header_category_geo" />
<header android:icon="@drawable/ic_fidomenu" android:id="@id/fido_menu" android:title="fido menu" android:fragment="xml.Fido_Menu.xml" /> im not sure about the fragment what do u think?
and the Fido_Menu.xml that I created
<?xml version="1.0" encoding="utf-8"?>
<PreferenceScreen android:title="@string/fido_tab"
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:settings="http://schemas.android.com/apk/res/com.android.settings."> do I have to create a samli file?
<Preference android:icon="@drawable/ic_fido" android:title="@string/fido_myaccount">
<intent android:targetPackage="com.fidosolutions.myaccount" android:action="android.intent.action.MAIN" android:targetClass="com.fidosolutions.myaccount.MyAccount" />
</Preference>
<Preference android:icon="@drawable/ic_vfido" android:title="@string/fido_VVM">
<intent android:targetPackage="com.fido.vvm" android:action="android.intent.action.MAIN" android:targetClass="com.communology.vvm.ui.MessagesListActivity" />
</Preference>
<Preference android:icon="@drawable/ic_afido" android:title="@string/fido_anti_theft">
<intent android:targetPackage="com.fido.rogers.security" android:action="android.intent.action.MAIN" android:targetClass="net.juniper.junos.pulse.android.ui.LaunchActivity" />
</Preference>
</PreferenceScreen>
Looking for help also how to create a smali file if need it
Thanks for your help
P.S: if u r not willing to help but just to fake that u r helping (( MEAN not giving the details )) so thanks in advance and don't help me...

Categories

Resources