Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,814,166 Members 45,805 Now Online
XDA Developers Android and Mobile Development Forum

(July 26th 09) NeoTitanium Rev1.1 (Now w/Buttons)/Titanium Registry/CPR WalkThrough

Tip us?
 
drkfngthdragnlrd
Old
(Last edited by drkfngthdragnlrd; 27th July 2009 at 04:40 AM.)
#1  
drkfngthdragnlrd's Avatar
Retired Recognized Developer - OP
Thanks Meter 265
Posts: 2,401
Join Date: Mar 2008
Location: Pacoima, CA

 
DONATE TO ME
Default (July 26th 09) NeoTitanium Rev1.1 (Now w/Buttons)/Titanium Registry/CPR WalkThrough

NeoTitanium Rev1.1 is released.



It has support for CLauncher, CS2P, TWolf Multiplugin, CCom, CVolume, CMultiClock, CHome, CClock, TitaniumWeather, OperaFavs, GPrograms, CTwitter, CFacebook, ArteseaTwitter, and many more.
The Plugin most be installed for them to work.
The attached ZIP has my Windows Mobile 6.5 Theme shown in the Screenshot, the NeoTitanium cab, Mortscript 4.3b10, and the CMultiClock cab.

INSTALL CMULTICLOCK BEFORE MORTSCRIPT.
Note: The new mortscript may cause bugs in plugins built on older version. Please consult plugin developer with any bugs.


Update Log:
Rev.5
Added Support for CLauncher, CS2P, & TWolf Multiplugin.

Rev.6
Updated CMultiClock Layout for v0.9.1. CMultiClock has Transparent & Red Clock built in now. No need to add skin.

Rev.7
Fixed AM/PM bug in CMultiClock plus made it use images instead of text for AM/PM.
Fixed Static Slider Icons so they are all "truely" static.

Rev.8
Fixed Script bug in CMulticlock CAB. Make sure to uninstall old versions first.
Added Glowing Slider Icon, when you press the slider it'll now glow red.

Rev.9
Added Missed Calls/Voicemail/SMS/MMS/Email Notifications to CMulticlock.
NOTE1: Both Rev.9 and CMulticlock must be reinstalled.
NOTE2: If there's no text next to the notification icons, you device ROM uses different registry for the Notification than. I'll write a walkthrough later on how to edit the script to change this registry if this is the case.
NOTE3: On Soft Reset, The Phone count will loose it's # text. This is normal as the registry being read by Mortscript gets deleted by WM on Soft Reset if it = 0. When you get a new missed call, it'll come back.

Added CHome Settings Plugin Fix CAB to the ZIP.
The CMultiClock Skin CAB is included in the ZIP.

Rev1.0
Added buttons to CMulticlock. (Buttons are binded for Call History/Phone App/SMS Inbox/OutLook Accout List/Analog&Digital Display Switch/AM/PM Display Switch & can be changed through registry [HKLM:Software\Microsoft\CHome\CMultiClock - Values with bt#_link = app url/Values bt#_parameter = app arguements])
Fixed Analog/Digital Display Switch, no more need to edit registry manually.

Rev1.0a
Fixed CPR layouts for the animations of the Buttons

Rev1.1
Made the Slider & Text Panel Background 2 images now. This way people trying to port NeoTitanium to other Resolution don't need to mess with them. They'll should now scale properly.
Adujusted & Changed the Page Arrow Images & Positions. They can be use as buttons to change the pages.
Added My Topbar Icons to the ZIP. (2 versions Rev3 goes with normal themes, Rev3a goes with Rev1a Theme Included/This is because the actually Icon Image is part of the Taskbar image in the "a" version so the DLL has a blank ico to make it look right)


ScreenShot of the "a" version of the Theme/Taskbar;







Alternate icons bybx718bklyn;


If you want Titanium Weather QVGA for regular Titanium, it can be found here.

HTC Audio Manager Plugin for regular Titanium Added to downloads. (No Previouse/Next, that's how the plugin was made sorry.)


Donators to Date:
Code:
generalmills           $200 CAD
T-Mobile HTC 8X
ROM: Stock | HardSPL:Stock | Radio: Stock


 
drkfngthdragnlrd
Old
(Last edited by drkfngthdragnlrd; 13th April 2009 at 09:32 PM.)
#2  
drkfngthdragnlrd's Avatar
Retired Recognized Developer - OP
Thanks Meter 265
Posts: 2,401
Join Date: Mar 2008
Location: Pacoima, CA

 
DONATE TO ME
Default Walk-through

Titanium: CHome is the plugin/program’s name. CHome is also one of the plugins as well. It’s the Notifications Plugin. This is the plugin that has Voicemail, Missed Calls, Email, SMS, and MMS all in one line. Titanium is the name of the way it displays things. There is also Bronze and Neo. In Titanium the glass panel always centers itself after you move it. In Bronze (Smart Phone version of CHome from Windows Mobile 6.1), as you move from panel to panel from top to bottom, the Active panel slides down the screen or vice versa. Neo is from the Smart Phone from T-Mobile called the Shadow and made by HTC. It’s similar to M2D where there is a list of Icons and a selector with the expanded panel taking up the rest of the screen. NeoTitanium is a revamped CPR layout of Titanium cloning the design of Neo hence why I named it NeoTitanium.

CHome Registry (Titanium): This should cover most of what you’ll need to know about the registry for CHome.

Directories (HKLM = HKEY_LOCAL_MACHINE): List of Directories CHome uses.
HKLM\Security\CHome\DefaultSettings
(NOTE: Any registry entries in this directory and its subdirectories will overwrite those in the Software Directory listed below when you disable and re-enable Titanium or Soft reset. It’s basically a safety backup.)
HKLM\Software\Microsoft\CHome
(NOTE: Also, all of its subdirectories.)

Values:
ACTIONURL= Location of exe/ink/etc for the plugin when you press on the panel or press the center D-Pad Button (Example: ”\Windows\fexplorer.exe” to make the plugin open File Explorer)
SK1URL= Same as ACTIONURL, but for the “Left Soft Key”.
SK1TEXT= The text displayed for the “Left Soft Key”.
SK2URL= Same as ACTIONURL, but for the “Right Soft Key”.
SK2TEXT= The text displayed for the “Right Soft Key”.
DefaultXML/ExtensibilityXML= Active plugins and their order. Also tells CHome which CPR’s to use (filename).
<Plugins Order="CClock;CMyFaves;CContacts;CPhone…" CPRFileName="Neo" DisplayStyle="Titanium" />
Filename is all text before the “ _resolution”.cpr (Resolution = 240x320 etc…).
(NOTE: ExtensibilityXML is the Priority and Default is a fall back in case something in ExtensibilityXML breaks CHome.)
Plugins= List of all available plugins. These are the same as the subdirectory names of CHome.
(NOTE: List of plugins in NeoTitanium that work; CAppointments, CClock, CContacts, CEmail, CHome, CHomeFavs, CInternet, CLinks, CMessage, CMusic, CMyApplication, CMyFavs, CMyPhotos, COffice, CPhone, CTesUIPlugin (Old Titanium Weather uses this), CText, CVoicemail, CWelcomeCenter, CWindowsLive, HTCMUSIC, Settings.)
Pages= Pages and order of pages within a plugin. If a plugin has plugins it’ll have subdirectories for each page.
GUID= Defines how the specific plugin works. What registry entries it “requires”. What layout template in the CPR it uses, etc.
(NOTE: The GUID “{F0A1B246-6E64-40cd-8E15-347D29FF6F18}” (without quotes) is for custom plugins. It requires a registry entry for the layout telling it which custom layout from the CPR to use. There are a few already in NeoTitanium. Use those as a template to make your own. You can add custom Registry values for text and images. If the registry is “CustomImage1”, it’ll look for <Image ID=”CustomImage1” Left…..” in the plugin’s layout of the CPR. It is best to not edit this value unless you are making a custom plugin of your own.)
ICONPATHS/Image/Pictures/Etc= Location of the image to be used. (Example: “\Windows\Neo_SelectionPanel_45x45.png”)
If you see number in this field, they are pointing to that resource in a .dll. Usually it’ll be the Bronzeres.dll.
CONDENSETITLE/TitleText/PluginLabel/Etc= Usually the title displayed for the plugin such as CLinks being known as Launcher or Extras.
DataSource= Specifically for the custom plugin GUID. This tells CHome where to find the registry values for each page.
(NOTE: CondensedPage is a required subdirectory. As these are custom plugins, CHome does not know what information is used in condensed and must be told.)

The CPR XML code: The code inside the CPR’s is XML. If you open the XML with an XML editor such as “Microsoft Visual Studio”, it’ll recognize the code and highlight errors in the same manner “Microsoft Word” does for spelling and grammar. It also color codes the code so it’s easier to read. The CPR’s can be opened and edited with any text editor though like “Notepad” or “WordPad”.

EDIT: XML Notepad 2007 by microsoft for editing the cpr files found by justpctech. Special thanks to him for finding this.

The code: The main parts of the cprs are the left/top (Position) and width/height (size) entries represented in pixels. They control how big something is and where it is positioned onscreen. The left/top values are from the images of the specific layer, not the whole screen. So, if the layer is 240 pixels wide by 100 pixels tall, the left/top value are for within that rectangle. To scale images use this code, ScaleStyle="***". Known working values are Fit and Stretch. Color refers to the color of the text and its offset. OffsetNone is the text itself. Vertical/HorizontalAlignment is the layout of the text within its width/height box. If your image or text gets clipped off, try adding Clip=”False” to the Layer(s) in is inside of. Expanded layers are the layout of the plugin when active and Condensed is inactive. The page arrows are the NPI and MPI layers. TitaniumListView refers to Titanium. If you change both entries to BronzeListView, it’ll act as Bronze does on the Smart Phone as described above.

That should cover the basics of editing the CPR. Just start playing with them and you’ll catch on quickly as did I. If you know html or xml you have a head start.
T-Mobile HTC 8X
ROM: Stock | HardSPL:Stock | Radio: Stock


The Following User Says Thank You to drkfngthdragnlrd For This Useful Post: [ Click to Expand ]
 
drkfngthdragnlrd
Old
(Last edited by drkfngthdragnlrd; 25th April 2009 at 06:19 AM.)
#3  
drkfngthdragnlrd's Avatar
Retired Recognized Developer - OP
Thanks Meter 265
Posts: 2,401
Join Date: Mar 2008
Location: Pacoima, CA

 
DONATE TO ME
Default Known bugs:

Reserves for Bug List and Fixes

NOTE: Disable Titanium before uninstalling. If you still can NOT Uninstall NeoTitanium, it is probably becaused you replaced a file or edited a registry key that the cab made. Since Windows Mobile can't find it, it'll give an error while uninstalling. Try reinstalling and than uninstalling. If this does not work, than you'll probably have to HARD RESET.

Settings tab links broken. Fixed and cab has been updated.

TitaniumWeather Tues/Wed spacing not correct: Fixed and cab replaced thanks to Showaco.

ATFavePeople missing slide bar Icon on certain pages. This is caused by the fact ATFaves.exe deletes the old page value and writes a new value in the registry. Work around, add new registry value in the bugged page(s).
HKLM\Software\Microsoft\CHome\ATFavePeople - Add new string, IconFixed = \Windows\Neo_Favorite.png
T-Mobile HTC 8X
ROM: Stock | HardSPL:Stock | Radio: Stock


 
drkfngthdragnlrd
Old
(Last edited by drkfngthdragnlrd; 25th April 2009 at 06:20 AM.)
#4  
drkfngthdragnlrd's Avatar
Retired Recognized Developer - OP
Thanks Meter 265
Posts: 2,401
Join Date: Mar 2008
Location: Pacoima, CA

 
DONATE TO ME
Changes:

Rev.3
Added layout for Showaco's Opera favorites and AppStar's FavePeople plugins.

Rev.2
Added layout to the cpr's for Titanium Weather V3 by Showaco. Edited Titanium Weather cab in Post 1 (For NeoTitanium ONLY, no regular Titanium CPR's in the cab).
Reduced to touch sensitive area of the screen to just the slider bar with the icons. (Working on adding buttons in the expanded area, to come in future release if possible)
T-Mobile HTC 8X
ROM: Stock | HardSPL:Stock | Radio: Stock


 
nhatt
Old
#5  
nhatt's Avatar
Senior Member
Thanks Meter 11
Posts: 592
Join Date: Aug 2008
NICE!
very great job,you will help many people...
Congrats my friend!
 
nokiarish
Old
#6  
nokiarish's Avatar
Senior Member
Thanks Meter 9
Posts: 102
Join Date: Sep 2007
wao.. te wait is over.. finished instaling.. rebooting....
concratz dude
 
nokiarish
Old
#7  
nokiarish's Avatar
Senior Member
Thanks Meter 9
Posts: 102
Join Date: Sep 2007
working beautifully...... gr8 work dude
 
drkfngthdragnlrd
Old
#8  
drkfngthdragnlrd's Avatar
Retired Recognized Developer - OP
Thanks Meter 265
Posts: 2,401
Join Date: Mar 2008
Location: Pacoima, CA

 
DONATE TO ME
Thank you everyone. Also, anyone who'd like to edit or redo my work, please feel free. All I ask is to give credit and might be a good idea to post your Edits in this thread to keep it all in one place.
T-Mobile HTC 8X
ROM: Stock | HardSPL:Stock | Radio: Stock


 
anryl
Old
#9  
anryl's Avatar
Recognized Developer
Thanks Meter 1,655
Posts: 2,886
Join Date: Jan 2007
Location: prague

 
DONATE TO ME
nice gona link all here
 
GITHUB
HTC EVO 3D OFFICIAL 3.28.404.1 MY ICS ROM

 
deepthroat
Old
#10  
deepthroat's Avatar
Senior Member
Thanks Meter 33
Posts: 1,044
Join Date: Jan 2008
you DID it, finally ... congrats.
Samsung GT P6200
LG Optimus 2x
Xperia Arc

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Add Some Power to First Generation Snapdragon CPUs

Some older devices still remain very popular. Phones like theHTC Desire, Sony Ericsson … more

Android M Mentions Spotted in Android Code Review

While we are still waiting for Android L to be officially released, the first mentions of … more

Create a Simple Custom Launcher from Scratch

When you are starting your journey intoany sort of development, it’s never easy at the … more