[TUT] A mini-tutorial on rearranging the Manila Home Screen - Windows Mobile Software Development

Rearranging the Manila Home Screen​
What do I need to know?
Manila uses few types of files: qtc, xml, mode9 and lua. First one is for graphics, second usually for different languages (although not only) and the two last ones are the ones we are interested in. Mode9 files contain information on position, visibility and other properties of almost every element on Manila tabs. Lua files contain different functions, used for animations, updating info and so on.
For editing the Home Screen we need the mode9 file - 1c684cd8_manila and the lua script - 25d04412_manila. You can find these files (from each Manila, starting from 1.0 and ending on 2.5) on this forum.
What tools do I need?
Editing mode9 files is quiet easy. You just have to run m9editor, open the file, make the changes you want and save it. Changing stuff in lua scripts is a bit more complicated, as you have to decompile it. Shorter scripts are easily decompilated by luadec, but some longer ones require us to correct errors. Fortunately, the lua script we have to change is easily decompilated (though there can be a problem with the if condition). To do this follow these points:
- copy luadec.exe and luac.exe to the folder you where you have the lua script (let's say it's c:\compacthome\mod\)
- press Windows Logo + R (or Start > Run) and type cmd
- go to the folder containing the lua script (in this case it's cd \compacthome\mod\)
- type luadec script_name > script_name.txt - where script_name is the script you want to decompile (for example 25d04412_manila) and script_name.txt is the name of the output file, which we will edit
- in case of errors you have to correct them (look for the lua decompiling tutorial by sztupy)
- once you have the script decompiled you don't need to do it again.
- open the output file and change whatever you want
- to compile the file just type luac -o script_name script_name.txt, where script_name is the file we want to have the script_name.txt compiled
What can I change?
When you open the mode9 file we want to edit, expand the tree and you'll see many sections called 'Object'. Below them there are few lines called 'Property'. What you can easily change is:
- Position - just change the value of X and Y (center position (X=0, Y=0) and axis are different for most of the objects - you have to test this)
- Visibility - True or False (sometimes you may have to change the size of a image to 0x0, so that it won't show never)
- Font
- Font Size
- Color of text in RGB format - if Property is not available, add it
In the 25d04412_manila script you can change positions of many objects in both portrait and landscape mode.
- TabsLeft - left part of the clock (animated)
- TabsRight - right part of the clock (animated)
- clock_tabs - background of the clock (pile of tabs)
- alarm_clock - alarm info and date
- NotifiCamera3D - notifications & appointments
- NotificationShiftY - shifting of appointments when changing to small clock
To change the position just modify the first two parameters of Vector3(X, Y, Z) - both CameraPosition.value and LookAtPosition.value.
How to save and test the changes in a fast way?
Open a cab creator (for example WinCE Cab Manager) and add the files you changed to /Windows. Save the cab, copy it to your device, install and reboot Manila. You can also copy manually the file, but I prefer the first way, because in case of any problems you can easily uninstall the cab and get the default Home Screen.
How to get the Home Screen working with Background4AllTabs?
Just open the 1c684cd8_manila file by m9editor, look for 'HomeBackground' and delete the whole paragraph which contains it (from <Object>Type="Group" to the next <Object>Type="Group").
- - -​
If you have any suggestions, propositions or ideas, please write them in this thread, I'll try to complete this tutorial, so it will be useful for everyone. Thanks!

i cannot come up with suggestions, but that tutorial is very nice on your side!

Although not actually about the home screen arrangement. I do think we need the information on how to patch the EXE for weather and especially non-HTC devices to be made public. The few people that know how to do it don't seem to want to SHARE that knowledge, which is damned frustrating!

Kamill, what an excellent idea. I'm looking forward to your tutorial. I wonder will it be for Manila 2.0?
Here are some ideas:
Change touch flo colour
Appointments for at least one week
Linking big clock with another application (similar to Ssmaho)
Changing soft keys names/applications
Changing font sizes/types
Changing date formats on appointments
I hope this doesn't make it too difficult (I think the second one is though for some Manila versions!)

UPDATE in first post - an early version of the mini-tutorial.
FloatingFatMan, unfortunately I don't know how to do it...
mitsi, thanks, I'll work on that.

Kamill, My question is what needs to be changed to get appointments in dates after tomorrow to appear? Do I need to edit both the mode9 and the lua script? Or is it just one of those? I'm willing to get my hands dirty to fix it.

The easiest way is to get the files from hallatore's mod for Manila 2.0 and compare them to the original. There are mainly 3 differences, you'll find them for sure. AFAIR all you have to change is in one script, you have to add an option to display the date, change the place from where appointments are being taken (poomappointments(TAB_Calendar) instead of poomappointments(TAB_Home)) and change the number of appointments in the for loop.

Hmm. Well I changed the TAB_Calendar and added the option to to display date. Those were easy. Finding the loop is harder. I forced A loop to go 5 times and I got 5 calendar events, but the ones past tomorrow were the default ones in the mode9 ("Review design comp (Dan's office)"). I did it in the InitializeFullAnimation function just below this if statement:
Code:
if l_15_15 > 5 then
l_15_15 = 5
end
So those items are not being updated from the calendar. Any ideas? Am I looking in the wrong loop?
Anyway you can post hallatore's mod de-compiled? I think I have the original, but when I use m9editor the lua has a lot of decompiled errors.

Here you go. Are you doing this on the Manila 2.1? I tried so many things to get this working, but with no success

how to change home tab
Hi, I have read all the posts here and in some other threads related, and I'm still confused
I did try to install the cabs posted, and it totally messed my home tab, so I had to hard reset every time (because uninstalling didn't fix it up).
All I want to have is this:
1. move the alarm notification on the upper-right corner (to cover or remove the ATT logo)
2. make the Call History to auto-hide if there is no missed call (or to delete it, if it is easier)
3. have more appointments visible (2-3) with the big clock, and to be able to flip the clock upwards in order to have even more appointments visible
4. when I click on the appointment, to open the Calendar (this is already possible, and I'd like to remain this way)
I apologize if this is a silly question: is this possible to be done only by editing some manila files, and if so, which ones and what should I modify?
I opened some manila files (e.g. 1c684cd8_manila) using notepad and m9editor.exe, and, honestly, I had no clue as to what should I do
I am sure that you guys know this stuff already, and it is very easy for you. If it's not complicated to explain it to me, please help me!
thank you very much

Kamill said:
Here you go. Are you doing this on the Manila 2.1? I tried so many things to get this working, but with no success
Click to expand...
Click to collapse
Thanks. I am trying for Manila 2.1. There's gotta be a way.

tatarasi said:
Hi, I have read all the posts here and in some other threads related, and I'm still confused
I did try to install the cabs posted, and it totally messed my home tab, so I had to hard reset every time (because uninstalling didn't fix it up).
All I want to have is this:
1. move the alarm notification on the upper-right corner (to cover or remove the ATT logo)
2. make the Call History to auto-hide if there is no missed call (or to delete it, if it is easier)
3. have more appointments visible (2-3) with the big clock, and to be able to flip the clock upwards in order to have even more appointments visible
4. when I click on the appointment, to open the Calendar (this is already possible, and I'd like to remain this way)
I apologize if this is a silly question: is this possible to be done only by editing some manila files, and if so, which ones and what should I modify?
I opened some manila files (e.g. 1c684cd8_manila) using notepad and m9editor.exe, and, honestly, I had no clue as to what should I do
I am sure that you guys know this stuff already, and it is very easy for you. If it's not complicated to explain it to me, please help me!
thank you very much
Click to expand...
Click to collapse
Here is the solution to all 4 requests, but it is for Manila 2.0, so be careful. Back-up first just in case. Your screen will then look similar to the one shown.

Been trying...
I've been trying for some time now to get more than today's and tomorrow's appointment's displayed in manila 2.1. I added in the code that Hallatore added (can be found in stupy's lua thread) but there seems to be something limiting the amount of days shown ahead (I hope is not limited by the manila.exe, but I think not).
As additional info, the lua file that use to be embedded in the Home.mode9 isn't any more and is named 53cc1e4f_manila for 2.1 manila and 652ae0f4_manila for 2.5 manila,
12

mitsi said:
Here is the solution to all 4 requests, but it is for Manila 2.0, so be careful. Back-up first just in case. Your screen will then look similar to the one shown.
Click to expand...
Click to collapse
This is exactly what I'm after.
Unfortunately, I tried that alternative and, again, it totally messes my TFLO, and I had to hard reset again.
What do you mean by Manila 2.0, is this the TFLO version (in Settings, I see that I have ver. 3.0 build 29946)?
thank you

Change Home tab display
Hi, thank you very much for your interest and trying to give me solutions for my request. It is amazing how people from different corners of the world are connecting and helping each other.
I presume that the file to work with is 1c684cd8_manila.
I opened that with m9editor 3.3.0.1. It's a lot of info there
Could you guys be so kind and give some clues as to what should I look for in order to change:
- the alarm notification - to move it on the upper-right corner
- the carrier logo - to delete it
- the Call History - to delete it
- the Appointments - to have at least 2-3 shown
Also, important clues as to what NOT to touch, in order to
- continue to be able to flip over the big clock
- continue to be able to open the Calendar when click on the appointment
thank you again

tatarasi said:
- the alarm notification - to move it on the upper-right corner
Click to expand...
Click to collapse
Change the X and Y in the 'Position' Property of these objects: AlarmClockOn, AlarmClockOff, AlarmTime.
tatarasi said:
- the carrier logo - to delete it
Click to expand...
Click to collapse
To the object 'OperatorLogo' add a property called 'Visibility' and change its value to False - if it won't work change it's height to 0 in the 'Size' property.
tatarasi said:
- the Call History - to delete it
Click to expand...
Click to collapse
The same as above, objects: MissedCall_SBar1, MissedCall_SBar2, MissedCallIcon, MissedCallText.
tatarasi said:
- the Appointments - to have at least 2-3 shown
Click to expand...
Click to collapse
You need to decompile the 53cc1e4f_manila script and find l_15_0.MaxShowCount and change the value of it to the desired one.

Kamill said:
You need to decompile the 53cc1e4f_manila script and find l_15_0.MaxShowCount and change the value of it to the desired one.
Click to expand...
Click to collapse
If only it was that easy... I've been trying all kinds stuff including what you suggest above. I have decompiled the 53cc1e4f_manila I'll attach it here (it's the one from yozgatg's r1.5),
12

I mean you CAN change the number of appointments, but in a range of 0 to 6 (5 with big clock). I've tried to get more appointments shown, but I failed...

Kamill said:
Change the X and Y in the 'Position' Property of these objects: AlarmClockOn, AlarmClockOff, AlarmTime.
To the object 'OperatorLogo' add a property called 'Visibility' and change its value to False - if it won't work change it's height to 0 in the 'Size' property.
The same as above, objects: MissedCall_SBar1, MissedCall_SBar2, MissedCallIcon, MissedCallText.
You need to decompile the 53cc1e4f_manila script and find l_15_0.MaxShowCount and change the value of it to the desired one.
Click to expand...
Click to collapse
Hi, Kamill,
Apologize for double posting, I am growing impatient feeling that I am so close to a solution
Regarding the Manila, I checked where you told me to, and I found out that I have TFLO 3D 1.2.37896.1_1813.6. Thank you.
Thank you for your advices, I already tried to remove the logo
- first, I added the <Property> Name=Visibility Value="False" - did not work
- then, I changed the Height=0 - still ATT was there
- lastly, I deleted the entire Object GLESSprite2D (which was above the "OperatorLogo" property - still no result
What do you think I am doing wrong?
Speaking of the number of appointments, I amazingly discovered that I do not have 53cc1e4f_manila file. What do you think that means?
thank you very much, again

Manila 1 is a bit different from 2.0 or 2.1, the 53cc1e4f_manila script is embedded in the 1c684cd8_manila mode9 file (one of those at the beginning).
AFAIK you can replace the logo file with a blank one (don't ask me which file is it, I don't know ). Or you can try to add a 'Position' property and move it out of the sight (but it may come back in some situations) - though I do not guarantee it'll work.
I hope you'll success in modifying the Manila 1 homescreen, I guess there is still a couple of people who use that version of TF3D.

Related

Chome Panel Chooser

Hey guys. Whipped this thing up to help people choose the panels that can be displayed on the homescreen. So far it only contains 7 entries, the ones I found on my phone. You can turn the panels off or on, by selecting a panel and typing it "off" or "on" respectively. After you make the changes, you need to reboot to see the changes. The last option will make that easier for you. Choose "Reboot", type "yes" and it will reboot for you. Let me know if there's any other panel names you would like me to add, or if you find any bugs. Thanks!
Look good but isn't this just like the chome settings (neoOrder) that is in Rockys ROM where you can enable and disable the windows you want and change which position they are in on the screen?
Clydeisthe**** said:
Look good but isn't this just like the chome settings (neoOrder) that is in Rockys ROM where you can enable and disable the windows you want and change which position they are in on the screen?
Click to expand...
Click to collapse
Everyone isn't running rickwyatt's ROM. Some are still with Kavana's. Like me.
Rip Syntaxx said:
Everyone isn't running rickwyatt's ROM. Some are still with Kavana's. Like me.
Click to expand...
Click to collapse
ohh ok I didn't know that it wasn't in Kavana's ROM I have never flashed one of his just Rickys .. my bad
Clydeisthe**** said:
ohh ok I didn't know that it wasn't in Kavana's ROM I have never flashed one of his just Rickys .. my bad
Click to expand...
Click to collapse
To Clyde: It's cool. Contrary to popular belief, there are still some users that are on Kavana's ROMs. lol I have no problem with rickwyatt's, but I found them to have too many apps and tweaks that I found unnecessary for me personally.
To Org (and anyone who'll listen): This is great idea for those who aren't quite comfortable with editing their .xml files to rearrange the slider panels (like me)! I've noticed that many users have a panel called "My Programs". What do I need to do to create this? I think it's a really useful tool to "slide" straight through the programs you use on a regular basis. I've already read tons of posts on this, but it's not registering. Thanks in advance, guys.
It's difficult to sit here and do a step by step, but I'll point you in the right direction and answer your questions later.
1) Download a registry editor or use the one on the phone.
2) First off, keep in mind there's TWO places in the registry where you need to make changes. One is HKLM\Security\Chome\DefaultSettings\CWelcomeCenter and HKLM\Software\Microsoft\Chome\CWelcomeCenter
3) Look for a key that says "Disabled" and make sure it doesn't say "1". Or use my utility to turn the welcome center on.
4) When you're in the registry you'll find Page1, Page2, Page3 etc etc in both places. Each Page represents ONE slide. For each page you can makes changes such as... ACTIONURL is the path to the program you want to execute when hitting the middle button. for example "\program files\NRG\Chomeweathersettings\weather.exe" will run the weather program
SK2URL is the same, but for the right softkey. SK2Text is a label for that softkey. The "pictures" key points to the .png file you will be using as an icon for your program. Right now it probably says "2500". Change it to "\windows\weather.png" and you'll get the weather icon in its place, for example. The Title text is self descriptive... put in whatever you want the title of the slide to be.
I hope you can figure it out from here
OrganicM said:
It's difficult to sit here and do a step by step, but I'll point you in the right direction and answer your questions later.
1) Download a registry editor or use the one on the phone.
2) First off, keep in mind there's TWO places in the registry where you need to make changes. One is HKLM\Security\Chome\DefaultSettings\CWelcomeCenter and HKLM\Software\Microsoft\Chome\CWelcomeCenter
3) Look for a key that says "Disabled" and make sure it doesn't say "1". Or use my utility to turn the welcome center on.
4) When you're in the registry you'll find Page1, Page2, Page3 etc etc in both places. Each Page represents ONE slide. For each page you can makes changes such as... ACTIONURL is the path to the program you want to execute when hitting the middle button. for example "\program files\NRG\Chomeweathersettings\weather.exe" will run the weather program
SK2URL is the same, but for the right softkey. SK2Text is a label for that softkey. The "pictures" key points to the .png file you will be using as an icon for your program. Right now it probably says "2500". Change it to "\windows\weather.png" and you'll get the weather icon in its place, for example. The Title text is self descriptive... put in whatever you want the title of the slide to be.
I hope you can figure it out from here
Click to expand...
Click to collapse
Thanks a bunch, man. I'm gonna finagle with this as soon as I get off.
OrganicM said:
It's difficult to sit here and do a step by step, but I'll point you in the right direction and answer your questions later.
1) Download a registry editor or use the one on the phone.
2) First off, keep in mind there's TWO places in the registry where you need to make changes. One is HKLM\Security\Chome\DefaultSettings\CWelcomeCenter and HKLM\Software\Microsoft\Chome\CWelcomeCenter
3) Look for a key that says "Disabled" and make sure it doesn't say "1". Or use my utility to turn the welcome center on.
4) When you're in the registry you'll find Page1, Page2, Page3 etc etc in both places. Each Page represents ONE slide. For each page you can makes changes such as... ACTIONURL is the path to the program you want to execute when hitting the middle button. for example "\program files\NRG\Chomeweathersettings\weather.exe" will run the weather program
SK2URL is the same, but for the right softkey. SK2Text is a label for that softkey. The "pictures" key points to the .png file you will be using as an icon for your program. Right now it probably says "2500". Change it to "\windows\weather.png" and you'll get the weather icon in its place, for example. The Title text is self descriptive... put in whatever you want the title of the slide to be.
I hope you can figure it out from here
Click to expand...
Click to collapse
I'm understanding how to read the code. Thanks for breaking it down. I'm just having trouble finding the .pngs for my icons and also (noob moment) finding the target file for certain applications. It's keeping me from being able to input the file address for ACTIONURL and SK2URL.
Not Hard to Find
Just think of your program, "Where is it stored?"
That should be your only question when finding your target file. That simple, you should look in your Program Files directory on your phone or you storage card, that will then tell you where the link is.
2ndly, you can find other programs in your startup folder. They will be listed in link format, but this is fine, the link can be treated basically as the exact file itself (as far as your phone is concerned).
Long story short, use these locations for your entries for ACTIONURL and SK2URL. Have a blast!
Rip Syntaxx said:
I'm understanding how to read the code. Thanks for breaking it down. I'm just having trouble finding the .pngs for my icons and also (noob moment) finding the target file for certain applications. It's keeping me from being able to input the file address for ACTIONURL and SK2URL.
Click to expand...
Click to collapse
outerdepth said:
Just think of your program, "Where is it stored?"
That should be your only question when finding your target file. That simple, you should look in your Program Files directory on your phone or you storage card, that will then tell you where the link is.
2ndly, you can find other programs in your startup folder. They will be listed in link format, but this is fine, the link can be treated basically as the exact file itself (as far as your phone is concerned).
Long story short, use these locations for your entries for ACTIONURL and SK2URL. Have a blast!
Click to expand...
Click to collapse
Thanks, OD. I've figured out the file locations and such. I just need to know where you guys edit the .pngs for icons. I've found some icons, but they sucketh. I want them glossy and polished looking like the default icons.
By "where" , I assume you mean what programs do we use?
I use Photoshop do edit my pngs. I think other, cheaper software is available. Don't quote me on that. Photoshop can also be attained other "ways" (cough,cough).
Anyways, you can easily mod any pictures, turn them into anything you want, .png,.tga,.gif,etc. Look around.
Rip Syntaxx said:
Thanks, OD. I've figured out the file locations and such. I just need to know where you guys edit the .pngs for icons. I've found some icons, but they sucketh. I want them glossy and polished looking like the default icons.
Click to expand...
Click to collapse
outerdepth said:
By "where" , I assume you mean what programs do we use?
I use Photoshop do edit my pngs. I think other, cheaper software is available. Don't quote me on that. Photoshop can also be attained other "ways" (cough,cough).
Anyways, you can easily mod any pictures, turn them into anything you want, .png,.tga,.gif,etc. Look around.
Click to expand...
Click to collapse
I understand how to make any pic a .png, .jpg, .gif, etc... It's not the icons that I need, but rather, the program. I'll search for "alternate" ways to get photoshop. lol
Rinku has a pretty good description on how to add CProgs on his blog. It at the bottom of the page.
Thanks guys for all your help and input! I've figured it out, and in the process figured out how to change the small icons in the upper lefthand corner of the panels as well. It's kinda tedious at first, but once you get the hang of it--it's not bad.
Rip Syntaxx said:
Thanks guys for all your help and input! I've figured it out, and in the process figured out how to change the small icons in the upper lefthand corner of the panels as well. It's kinda tedious at first, but once you get the hang of it--it's not bad.
Click to expand...
Click to collapse
For photo edtiting, i use GIMP,,,, it's the same program i used to modify the yahoo weather icons for ORG...... it's free and works just as well as photoshop CS3.
Go here if you want to try. www.gimp.org
pudgedaddy said:
For photo edtiting, i use GIMP,,,, it's the same program i used to modify the yahoo weather icons for ORG...... it's free and works just as well as photoshop CS3.
Go here if you want to try. www.gimp.org
Click to expand...
Click to collapse
Thanks, Pudgemeister. I'll check it out.
pudgedaddy said:
For photo edtiting, i use GIMP,,,, it's the same program i used to modify the yahoo weather icons for ORG...... it's free and works just as well as photoshop CS3.
Go here if you want to try. www.gimp.org
Click to expand...
Click to collapse
I used GIMP for my icons, it was easy and I think they turned out quite nice. Here are a few that I found/made they all have transparent backgrounds. Feel free to use which ever you like.
A few more
Editing Slider Panels
Does anyone know the default setting for this registry key: \HKLM\SOFTWARE\Microsoft\CHome\CMessage\ICONPATHS? I changed it trying to change the condensed icon (upper lefthand corner) for the message notifications panel. Instead, my weather panel's icon was changed. What're the default values for the key? (ex. 2xxx;2xxx)
It is 2201;2201

How To: Customize the Sliding Panels Homescreen

This was from the windows mobile team blog. More to follow but wanted to post it for those who don't read that.
Original link: http://blogs.msdn.com/windowsmobile/archive/2008/06/03/customizing-the-sliding-panel-homescreen.aspx
Customizing the Sliding Panel Homescreen
from Windows Mobile Team Blog by Jorge Peraza
Hi, my name is Jorge Peraza; I am a Developer on the Windows Mobile team that was responsible for the new “Sliding Panel” home screen in Windows Mobile 6.1.
When we were working on the visual style and functionality of the home screen we tried to make something that looked both professional and appealing while still showcasing all the information the user is going to need to know what’s important and requires attention. While I think the default design looks really cool, we added some customization features to enable users to make it their own.
Customizing the layout
The home screen layout can be modified using the same home.xml file from previous versions of WM, the schema of the file was extended to allow the customization of many of its elements, this includes the art assets that are used for most of the plug-ins.
When you open the SlidingPanel.home.xml file (inside \ApplicationData\Home) you will find the plug-in element that corresponds to the sliding panel home screen (its CLSID is {E9267CAB-02EE-4f37-8216-6BF6A8FF5A71}). All the child elements inside it are designed to tweak and customize the way the home screen will look.
The top level element is the plugins tag, this has one attribute called “Order” and it’s used to list the plug-ins that will be shown and the order they are going to be laid out on the screen.
The built in plug-in names are:
1)CClock – The big clock
2)CAppointments - The calendar plugin
3)CHome – The notifications plugin
4)CMyPhotos – The photos plugin
5)CMessage – The message center (this is off by default on all sliding panel built in layouts.
6)CMusic – The music plugin
7)Settings – The settings plug-in
8)Custom Plugin – Users can specify custom plug-ins with static content that can be displayed on the home screen.
For example, the XML snippet bellow moves the photos plug-in to the first position and enables the message center (which is turned off by default on both "Sliding Panel" and "Sliding Panel Media")
<plugin clsid="{E9267CAB-02EE-4f37-8216-6BF6A8FF5A71}" name="Bronze" height="266">
<Plugins Order="CMyPhotos;CClock;CMessage" />
</plugin>
There are many other ways of customizing the home screen using the plug-in settings like overriding the default images or even adding your own custom plug-ins that display static content, I'll post and updated entry latter on on how to do this in detail but for now, you can use the provided home.xml files to start experimenting with this.
The notifications plug-in and message center
In the sliding panel home screen, the notifications plug-in by default serves as a dual-purpose notifications/gateway to all you phone/message accounts where every page represents one account (so, if you have multiple notifications in one category they will be shown as one summary page).
There is however an alternative behavior where individual notifications are added as independent pages (Similar to what the T-Mobile shadow home screen does) and the plug-in only shows accounts that have new notifications in them. One cool feature of this alternate behavior is that each individual notification can be dismissed without having to leave the home screen.
You can enable this alternative behavior by setting the following registry key to a value other than 2 (The actual value indicates how many pages of each notification type will be added to the home screen before collapsing them into a summary page. We have tested 2 and 5 but feel free to experiment with other values)
[HKLM\Software\Microsoft\Chome\Chome]
PageCollapseThreshold: DWORD
Note that this prevents you from being able to access the email/phone account data if there are no notifications for it. If you still want to be able to do that you can always re-enable the message center as described in the previous section as a separate plug-in.
There is one more behavioral change you can make that allows you to “dock” the condensed view of the first plug-in to the top of the screen when it is not active, we added this for people like me that want to have the clock always visible. To enable just set the following registry key to “1”
[HKLM\Software\Microsoft\Chome]
DockOperatorBar: DWORD
Advanced layout modification
There are even more advanced things you can do to further tweak the look of the home screen but it is unsupported by Microsoft at this moment so you’ll have to experiment on your own J (Hint, look at the following files \windows\CHome_240x320.cpr and \windows\CHome_320x240.cpr).
----------------------------------------------------------------------------------------------------
Thanks to djNutz for posting this information & OrganicM for his efforts.
I wanted to create a post with info about what the different keys do in the CHome section of the registry. So, I'll start with a brand new one, that I bet nobody knows about....
[HKLM\Software\Microsoft\Chome\Chome]
PageCollapseThreshold: 2 or 5 (DWORD Value)
This will collapse your Notifications panel to only show active notifications. You can enable this alternative behavior by setting the following registry key to a value other than 2 (The actual value indicates how many pages of each notification type will be added to the home screen before collapsing them into a summary page. 2 and 5 were tested and work pretty well.
More to come of course....
should this change be made to the security section too, or does that matter? actually, do changes to the security section ever matter, cause they seem to apply even when you only edit the software section.
p.s.
i'm pretty sure people are gonna ask, so maybe i'll save some trouble instead of looking like an ass by answering preemptively. This DWORD value must be created with your registry editor, it's not already there, at least on ricky v24.
2 = default or normal (i assume cause it looks the same as before) and 5 = condensed.
But for the rest of us who don't have the time to be on every WM blog and forum at once here's my favorite:
To “dock” the condensed view of the first plug-in to the top of the screen when it is not active, set the following registry key to “1”
[HKLM\Software\Microsoft\Chome]
DockOperatorBar: DWORD
This is so you can have the clock always visible, no matter which panel you're on. You could also set it so that CHome Weather's compact view is always on top. Whatever plugin is first on the list.
More info from MS coming down the pipe:
We can get the day of the week on the clock plugin at the top of CHome by doing this:
Replace this portion...
<!-- Date --> <Text ID="Date" Left="180" Top="83" Width="110" Height="19" FontFamily="Segoe Condensed" FontSize="9" FontStyle="Bold" Wrap="False" HorizontalAlignment="Left" Trimming="EllipsisCharacter"></Text>
With this!
<!-- Date -->
<Text ID="Date" Left="180" Top="83" Width="110" Height="19" FontFamily="Segoe Condensed" FontSize="9" FontStyle="Bold" Wrap="False" HorizontalAlignment="Left" Trimming="EllipsisCharacter"></Text>
<Text ID="Day of Week" Left="65" Top="83" Width="110" Height="19" FontFamily="Segoe Condensed" FontSize="9" FontStyle="Bold" Wrap="False" HorizontalAlignment="Right" Trimming="EllipsisCharacter"></Text>
I will incorporate this in Chome Weather fore sure!
Here you go, the first is my Home
2nd is Scroll Down once
3rd is Scroll Down twice
4th is Scroll Down Thrice
heh
Edit: Tried Month in cpr, no luck.
will keep trying
I'm glad people are finally getting this information out. It makes customization that much easier. I'm adding the tips to the wiki as well, as they come out.
How to Reload the Homescreen
I have two questions:
1. After editing my CHome cpr file, how do I reload the homescreen without having to reboot the device?
2. How can I show any text on the clock panel? Regular text is defined by Text ID = "xxxxx", where xxxxx is something like Time, Network Name, etc. However, suppose I want to have the text "Knowledge Rules", how do I set it up in XML?
I have very little programming and Excalibur experience. So, I apologize if these questions are too naive or have been answered before.
Thanks a lot in advance.
you can use this if you dont use OrganicM Chome Weather
I don't think Microsoft has put out much documentation on the sliding panels plugin yet. Most of the CHome configurations use
Code:
TextID="text 1"
as the delimiter for static text. But that's not to say that the clock plugin will recognize that as a valid section. Could work. Could make your phone useless.
beartard said:
I don't think Microsoft has put out much documentation on the sliding panels plugin yet. Most of the CHome configurations use
Code:
TextID="text 1"
as the delimiter for static text. But that's not to say that the clock plugin will recognize that as a valid section. Could work. Could make your phone useless.
Click to expand...
Click to collapse
I do not understand. How do I make the phone know that:
text 1 = Knowledge Rules?
Typical syntax seems to be Text ID = "xxxx", where xxxx is a variable name, which is recognized by the device. If Text 1 is a valid variable for the device, how do I assign it a value? Am I rambling here?
No, you're not rambling. As far as the information coming from Microsoft and disseminated here on this site goes, it's a best guess right now.
someone at msdn blog asked the same question.
Someone at msdn blog asked the same question. Let's wait to see if we get an answer from there...
From http://blogs.msdn.com/windowsmobile...ustomizing-the-sliding-panel-homescreen.aspx:
"Jorgeba, thanks for taking the time to educate your user. I have some questions.
How do you change the text in the condense clock? The .cpr file has Text ID="Text 1". How is "Text 1" define? I would love to add the date to the condense layout.
The ActionURL and Softkey2 URL in the Appointments plug-in always open calendar in the today view. Is there a way to make one of the button opens calendar in the month view? Setting the default view for calendar does not help."
Easy as pie......
If you know what you are doing.
If you have any xml experience,then you'll know how to adjust x and y values to position things in different places. Yes, you can do that. Just change x=whatever and y=whatever to where you would like them to be. Just know this means that it will start on the left and move x pixels over and y pixels down. If you put in negative values, it will shift them in the opposite direction.
Eg. x=-whatever will move it to the left vs a + value which will move it to the right. Same for y=
Also, you can adjust the valignment and halignment to center, left, or right.
Have fun with these. They apply to everything in your cpr (That's the layout for your homescreen.It's in your \Windows directory on your phone).I mean everything, from where your network displays, right down to your pictures.
That's it. Have fun!
jaymit said:
Hi,
Sorry Im kind of a newbie :s, is it possible to edit home screen panels? I wanted to change the layout and look of the clock plugin.
Thanks!
Click to expand...
Click to collapse
Does anybody know how to change font color for certain panels or certain lines of text in the panel? Is it only possible for the whole homescreen?
As far as I know even as far as old xml coding works, you can only change a font color for a selected word or unselected word. Meaning, if you have the old 6.0 your plugins that are selected could have a different color, but unselected could be another color. This applied to the entire homescreen. I have not seen different colors for different plugins, since each panel style is basically its own plugin (each has its own unique GUID), then I doubt you can change font color for each plugin. You can more than likely only change the active selected panel and inactive panel fonts. I am not sure what their titles are in the cpr, but I know that in the old 6.0, the homecolor was one of the fonts colors and the other was called something else.
Eventhough this is 6.1, it doesn't look like much has changed as far as the fonts color goes. You could, however, always try adding a "fontcolor=" command in the cpr and a hex code and try it, to see if it works.
Hope this helps.
Edit your registry or get CHome Config
Both do the same thing. You want to change the plugin order for CHome. It's located in HKLM\Security\CHome\Default Settings and in HKLM\SOFTWARE\Microsoft\CHome. Edit the order you want your plugins to go. Reboot your phone and the new edits should be reflected in your homescreen layout. If you are having trouble cause this is new. Just search this thread for CHome Configurator. It's stickied at the top of this forum. Download it and it will let you select the order in a much easier way. Make sure you reboot, though, or else your changes won't show. Hope this fixes your problem. Later.
tae-xda said:
How to change the default location for where the CMyPhotos plugin
Click to expand...
Click to collapse
rollingondubs1 said:
I have that already, All my games are under a folder which i cant make it as a action url
Click to expand...
Click to collapse
try this
"ACTIONURL" = "\Windows\Start Menu\Games\xxxxx xxxx.lnk
or this
"ACTIONURL" = "\windows\fexplore.exe; \windows\start menu\games"
Yes you can
One last time, I think I've figured out how to help you.
1. Open Chome Config.
2. Scroll to MyApplication and select it with your center button.
3. Scroll to any page you want to edit. Then scroll down to where it says ActionURL. Press menu.
4. Once in the menu select the "1 Change URL" item.
5. Once you have selected that it will take you to a file explorer. Go to \Windows\Start Menu\Games. This is where your games should be. If not, then wherever you store, your games, navigate yourself to that folder and select the file you want.
I think this should cover it. Hope this solved your problem. HOLLA!!!!
rollingondubs1 said:
I have that already, All my games are under a folder which i cant make it as a action url
Click to expand...
Click to collapse
How to change the location of CMyPhoto to \Storage Card\My Documents\My Picturs

[upd. Nov 17, 2008] hgToday & hgAgenda: Fingerfriendly calendars

11/17/08: Version 0.31 of hgToday
Bugfix
Added hgColors 0.3 config file in zip archive. This makes it possible to change the font size of the list, and the height of the individual list items.
11/10/08: Version 0.3 of hgToday
Updated to work with the latest version of Christec's framework
Rewritten list control (loosely based on KListControl)
Removed buttons on top, menus included in popup menu, moving to next/previous day through finger movement.
New popup menu is now scrollable with finger.
New datepicker, more fingerfriendly.
Skinning with bitmaps has been removed in order to reduce memory usage.
Colors can still be changed.
9/11/08: Version 0.2
Added the program hgColors to make it possible to customize all colors.
Added the option of seeing all appointments and all tasks together.
Bugfix for the calendar dialog (got stuck on the screen sometimes).
9/5/08:
Added hgAgenda to the files below. This is the standalone full screen version of hgToday. It also has some more images for skinning.
Also added some more screenshots.
Earlier:
hgToday
This is a small fingerfriendly plugin I've put together for my todayscreen. I use it as one of my views in my Homescreen++ setup (prev. BatteryStatus). It can also be used as a regular today plugin.
hgToday will show you the current appointments and all tasks not completed with a due date on or before today, or with a start date on or before today (i.e. all tasks that should be worked on).
The list can be scrolled with a finger.
If doubleclicked, it will mark the item completed.
To view the task, hold the finger long enough for item to be selected and popupmenu to show, tapping view will take you to the default calendar/task application for editing and viewing.
Scroll left or right for next/previous day.
Skinning
This can be done with hgColors. Just click on the various items, choose save, and restart hgToday.
Both list height and item height can be changed.
Font size can also be changed, although if too large, the day will be mixed with the description.
The file hgColors must be in the same directory as hgToday or hgAgenda.
Future plans:
More fingerfriendly editing, entering new items.
Update hgAgenda to 0.3.
+??
To install hgAgenda:
Just unzip the files to any directory - can be used on a storage card too.
To install hgToday:
Must be installed to main memory.
1) Uninstall previous version of "ChrisTec Managed Today Screen Item Framework" and hgToday.
2) Unzip and install the "ChrisTec Managed Today Screen Item Framework" (see separate copyright notice).
3) Copy hgToday.dll to the same directory where the ChrisTec Framework is installed (normally "Program Files\Managed Today Screen Framework").
4) Go into settings, Today, Items: and make sure the "Managed Items" is checked.
Thanks to dosfan for his KListControl (http://forum.xda-developers.com/showthread.php?t=333124)
I don't take any responsibility for the problems this program might cause on your device, but it seems to work for me on a smartphone running Microsoft Mobile 6.
I value comments, but can't promise anything,.
Hope it can be useful for other people.
Great software calendar .. thank you veru much for this release
any "working" screenshot please ?
Im not able to get working on Sprint Touch 6.1. I had the HGplugin showing in the settings/home/items. I then closed out and went back in and its gone. I have tried to reinstall a few times with no luck.
Screenshots
I'm sorry, but I didn't know that you had to have a url to post a screenshot. Therefore the small bmp file.
Installation
Csquared said:
Im not able to get working on Sprint Touch 6.1. I had the HGplugin showing in the settings/home/items. I then closed out and went back in and its gone. I have tried to reinstall a few times with no luck.
Click to expand...
Click to collapse
Sorry about your problems.
Did you try going into the registry to see that the height is correct? Do you have other plugins? Can you run the file hgToday.exe directly? Can you try to put a checkmark in the today settings for Managed items?
It doesn't work. The item doesn't appear in settings/home/items. I tried to open the executable and I get an error: Null reference exception.

			
				
dancer_69 said:
It doesn't work. The item doesn't appear in settings/home/items. I tried to open the executable and I get an error: Null reference exception.
Click to expand...
Click to collapse
Have behavior here. item not showing in today setting. launching the exe returns this error.
hgToday.exe
NullReferenceException
en Christec.WindowsMobile.TodayScreen.TodayScreenPluginForm.OnLoad(EventArgs e)
en System.Windows.Forms.Form._SetVisibleNotify(Boolean fVis)
en System.Windows.Forms.Control.set_Visible(Boolean value)
en System.Windows.Forms.Application.Run(Form fm)
en SampleTodayScreenItem.Program.Main()
updated plugin
It seems my app was based on an early version of "ChrisTec Managed Today Screen Item Framework".
So I've attached that version in my first post. That should the program run. I have had it on my device for about a month now.
However, I probably should upgrade my app to take advantage of the newer version of the framework. The reason I didn't do that in the first place, was because it used an exe file that could be run by itself. The newer version requires a dll file.
It works good on my Kaiser - thanks.
Screenshot? I can't see anything on that small 1x1 pic!
NotLutzik said:
Screenshot? I can't see anything on that small 1x1 pic!
Click to expand...
Click to collapse
Did you see post #8?
It's quite similar to the gslide file explorer (we use the same list control), except hgToday doesn't have to be full screen.
I'm also hoping to release a non-plugin version later today.
Feedback: ))
the viewing options of all appointment and all tasks and so on are wonderful. also the option to change the height..
the scrolling thing is VERY important and useful..
the gray background is heavy on the eyes... i'd make it compatible with the tsk.. that is, transparent.
an option to view all appointments+all tasks is important in my eyes... for day to day use..
thank you so much.. i'm using your thing instead of Calendar+ now
Thanks!
nir36 said:
Feedback: ))
the viewing options of all appointment and all tasks and so on are wonderful. also the option to change the height..
the scrolling thing is VERY important and useful..
the gray background is heavy on the eyes... i'd make it compatible with the tsk.. that is, transparent.
Click to expand...
Click to collapse
The color scheme is based on the system colors, i.e. the list takes it's color from the active caption color. I'm planning skinning in a future version. As for now, in order to have a different background when there is no selection, you can add an image file called noselect.png (similar to the select.png file) and the program will show that for the list items, instead of the current background. However, the app will use a lot more resources that way. That's why I'd like to make some configuration file to store colors and other stuff.
an option to view all appointments+all tasks is important in my eyes... for day to day use..
Click to expand...
Click to collapse
I'm not quite sure what you mean, because the program should show all appointments AND all tasks on the screen for today or other chosen days.
thank you so much.. i'm using your thing instead of Calendar+ now
Click to expand...
Click to collapse
Added hgAgenda, the full screen standalone version of hgToday.
This can be run as a separate program.
Also included some more screenshots.
See first post.
I should probably do some version numbering. Any ideas?
ajige said:
The color scheme is based on the system colors, i.e. the list takes it's color from the active caption color. I'm planning skinning in a future version. As for now, in order to have a different background when there is no selection, you can add an image file called noselect.png (similar to the select.png file) and the program will show that for the list items, instead of the current background. However, the app will use a lot more resources that way. That's why I'd like to make some configuration file to store colors and other stuff.
I'm not quite sure what you mean, because the program should show all appointments AND all tasks on the screen for today or other chosen days.
Click to expand...
Click to collapse
i meant having All appointments+All tasks... for all days... not just for one specific day.
and i see what you mean about the background. unfortunately my background is black
thanks
nir36 said:
i meant having All appointments+All tasks... for all days... not just for one specific day.
and i see what you mean about the background. unfortunately my background is black
thanks
Click to expand...
Click to collapse
With the way the program is written, that would not be possible. What can be done, is to have all the appointments first and then all the tasks, but I assume you mean you want it sorted by date. To accomplish that, I have to do a complete rewrite of the program.
Right now I am working on a settings app so that all colors can be easily configured by the user.
ajige said:
With the way the program is written, that would not be possible. What can be done, is to have all the appointments first and then all the tasks, but I assume you mean you want it sorted by date. To accomplish that, I have to do a complete rewrite of the program.
Right now I am working on a settings app so that all colors can be easily configured by the user.
Click to expand...
Click to collapse
even having tasks after appointments would be great.
and of course having it arranged by date would be even better, but i understand it can be hard to accomplish. thanks.
btw, it's very very useful and i'm enjoying it.
New version 0.2
nir36 said:
even having tasks after appointments would be great.
and of course having it arranged by date would be even better, but i understand it can be hard to accomplish. thanks.
btw, it's very very useful and i'm enjoying it.
Click to expand...
Click to collapse
New version with all appointments and all tasks on one screen.
Also skinning via separate program.
See more details in first post.

how to change tf3d highligt color?!

hi there i searched the forum for about a day and realy can't find my answer
can any one plz tell me how can i change the tf3d (touch hd version!) highligt color? (with out changing the original theme indid !)
tanx alot
and for changin the wallpaper in all tabs. can any one make an app to do this in one simple step? or we have to do all that things one by one every time we want to chang the wallpapers?!
tanx in advance
htc's fan said:
can any one plz tell me how can i change the tf3d (touch hd version!) highligt color?
Click to expand...
Click to collapse
There is no 'easy' answer to that question.
For some highlight elements of Windows Mobile (like the phone dialer or call history, and other system screens) the highlight colour is determined by .tsk files... and registry entries.
Go to HKLM\Software\Microsoft\Color and change the values to whatever colour you want. This effects Windows Mobile system colours (including highlights).
You might also need to look at HKCU\Software\Microsoft\Today and change the colour values for whatever task file you selected to use. (HTC Black.tsk, for example).
The green highlight you see in TF3D is controlled by numerous _manila files.
The clock highlight on the Home Page, for example, is made up of 3 _manila files (1 left edge, 1 right edge, 1 middle tiled image). Another 3 _manila files are used for the call history and calendar highlight. Another 3 _manila files control the higlight on other tabs like Settings, or All Program etc.
The keyboard menu highlight, and the Communication Page highlight are all controlled by simple .png images (as these are accessed outside of TF3D.)
So to change the colour of ALL of the highlights on your phone... you have to change many things. Or install a complete theme made by somebody else (and hope they changed ALL of the images... which isn't always the case).
htc's fan said:
and for changin the wallpaper in all tabs. can any one make an app to do this in one simple step? or we have to do all that things one by one every time we want to chang the wallpapers?!
Click to expand...
Click to collapse
If you search the forum, you'll probably find 1 or 2 programs that will let you change the wallpaper with a few clicks... but that function is usually built into a program that does many other things too... and you did say that you didn't really want the theme of your phone changed!
However... editing the _manila file isn't that complicated anyway.... you create your image, import it into the manila file, copy that file to your phone... done!
Using a program (as you asked)... you would create your image, copy it to your phone, launch an app on your phone, click change picture, select your image... done.
Those 2 scenarios aren't that different or really any quicker! The only real advantage to using a program... is that you could change the background image while away from your computer. However if you want to keep 20 different wallpapers on your phone that you can select between... simply import those 20 images into 20 of the same _manila file and store them on your phone like "sports_car_4a087e41_manila" & "hot_babe_4a087e41_manila"... then when you want to change your wallpaper to one of them... simply rename whichever file to "4a087e41_manila" and copy it your your Windows directory... done!
htc's fan said:
and for changin the wallpaper in all tabs. can any one make an app to do this in one simple step? or we have to do all that things one by one every time we want to chang the wallpapers?!
tanx in advance
Click to expand...
Click to collapse
Try this:
http://forum.xda-developers.com/showthread.php?t=479112
Works fine for me.

Bit of a problem with an app Im making...

Hi,
I am new to android development so sorry if this question has a really obvious answer. I am hoping to make a game for the platform but to start with I have just tried to make a basic layout of 4 buttons to move in different directions and then have a background and an image in front which will be my sprite and move across the screen depending on what button is pressed.
At the moment I have created two views. One via the main xml document and the other through the java code itself. The java code one contains the background and image to be drawn and the main.xml contains the buttons.
At the moment I have my code set up like this:
this.setContentView(R.layout.main); <<<<<<<<<< xml
this.setContentView(this.myTestView); <<<<<<<<<<<<<< java
I am aware that I am basically setting one and then setting the other over the top of it and this means that only one of these views will appear. Does anyone know of a way I can use these views in conjunction so that both the images frm the java file and the layout from the xml can both be used?
Cheers for any help.
ExO
As far as I know you cannot do this. By calling setContentView you are overwriting the object which held the content previously.
Once the view is set you can add items in code after this call.
Why do you not have all the elements in the xml?
aw ok, i wasnt sure if it was possible or not. The reason I did it like this was just because I'm still learning to use both languages. Aswell as that I am using droiddraw to generate my xml and couldnt see an option within that to add images etc. Cheers for the reply .

Categories

Resources