PPCGeeks Forums HTC Arrive HTC HD2 HTC Thunderbolt HTC Touch Pro 2 HTC Evo 4G HTC Evo 3D Samsung Galaxy S II Motorola Droid X Apple iPhone Blackberry
Go Back   PPCGeeks > Windows Mobile > Windows Mobile Hacks/Tweaks > Titanium Tweaks

Notices


Closed Thread
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 04-12-2009, 05:19 PM
chuggy's Avatar
PPCGeeks Regular
Offline
Pocket PC: Touch Pro II
Carrier: Verizon
 
Join Date: Aug 2007
Posts: 237
Reputation: 365
chuggy is becoming a PPCGeeks regularchuggy is becoming a PPCGeeks regularchuggy is becoming a PPCGeeks regularchuggy is becoming a PPCGeeks regular
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: CHome/Titanium Modifications

Quote:
Originally Posted by showaco View Post
Y'all may have missed it, but there is another GUID that can be used(and should probably be the basis for all custom panels). Its from the htc sliding panels for smartphone and is the GUID that all htc panels are based on. Here's some of the reg files from v3 titaniumweather for example:

Notice that you must specify a data source(in this case is this registry location), and a layout(this would be panel name inside the cpr). It also uses the Updated dword value. This can update the panel when value is toggled. I toggle it between 0 and 1 for the weather app to update when data is downloaded.
Code:
[HKEY_LOCAL_MACHINE\Software\Microsoft\CHome\TitaniumWeather]
"Updated"=dword:00000001
"Pages"="Page1;Page2;Page3;Page4;Page5;Page6;Page7;Page9;Page8"
"DataSource"="SOFTWARE\\Microsoft\\CHome\\TitaniumWeather"
"GUID"="{F0A1B246-6E64-40cd-8E15-347D29FF6F18}"
"Layout"="TitaniumWeather"
"LocName"="TitaniumWeather"
"ICONPATHS"="\\Windows\\Neo_Weather.png;\\Windows\\Neo_Weather.png;\\Windows\\Neo_Weather.png"

[HKEY_LOCAL_MACHINE\Software\Microsoft\CHome\TitaniumWeather\Page1]
"Time"="07:54 PM"
"CurrentTemp"="60°"
"CurrentIcon"="\\Program Files\\TitaniumWeather\\condicons\\06.png"
"TodayTemps"="67°/56°"
"Day1Icon"="\\Program Files\\TitaniumWeather\\condicons\\07.png"
"Highs"="H: 75           75           76           75"
"Lows"="L:    51           49           56           60"
"Day5Icon"="\\Program Files\\TitaniumWeather\\condicons\\04.png"
"Days"="Sun         Mon         Tue         Wed"
"Day4Icon"="\\Program Files\\TitaniumWeather\\condicons\\03.png"
"Day3Icon"="\\Program Files\\TitaniumWeather\\condicons\\02.png"
"Day2Icon"="\\Program Files\\TitaniumWeather\\condicons\\15.png"
"ACTIONURL"="\\Program Files\\TitaniumWeather\\TitaniumWeather.mscr"
"SK2URL"="\\Program Files\\TitaniumWeather\\TitaniumWeatherOptions.mscr"
"SK2TEXT"="Menu"

[HKEY_LOCAL_MACHINE\Software\Microsoft\CHome\TitaniumWeather\CondensedPage]
"PluginLabel"="60° Mostly Cloudy"
With this GUID, you will also need to make your panel layout in your cpr since it won't be using an existing panel. It can read any text string or image location from registry. In cpr file there must be a corresponding image or text line with same name as reg entry. For example, here's my v3 cpr section. You will be able to find the reg values above for page1 listed in cpr along with there position values. You'll notice that there are many image and text files, but the reg above doesn't use all of them. You can define all for all the pages in the cpr, but then use different ones for different pages of the panel. This way you can have different layouts for each page of a single panel.
Code:
  <!-- TitaniumWeather -->
  <Layer ID="TitaniumWeatherExpanded" Visible="False" Width="480" Height="180">
    <Layer ID="Page">
      <!-- Page1 icons -->
      <Image ID="CurrentIcon" Left="10" Top="-10" Width="120" Height="120"/>
      <Image ID="Day2Icon" Left="195" Top="25" Width="60" Height="60" /> 
      <Image ID="Day3Icon" Left="265" Top="25" Width="60" Height="60" /> 
      <Image ID="Day4Icon" Left="335" Top="25" Width="60" Height="60" /> 
      <Image ID="Day5Icon" Left="410" Top="25" Width="60" Height="60" />

      <!-- detail pages icons -->
    <Image ID="ForecastIcon" Left="10" Top="-10" Width="120" Height="120"/>

      <!-- detail pages text --> 
      <Text ID="CurrentTemp2" Left="0" Top="-8" Width="168" Height="50" FontFamily="Segoe UI" FontSize="18" FontStyle="Regular" Wrap="False" HorizontalAlignment="Right" Trimming="EllipsisCharacter">
          <TextStage TextOffsetType="TextOffsetDropBottomRight" Color="#00000000" TextOffset="1" BlurFactor="3" Alpha="1.0"/>
          <TextStage TextOffsetType="TextOffsetNone" Color="#FFFFFFFF"/>
      </Text>
      <Text ID="Temps" Left="5" Top="90" Width="130" Height="70" FontFamily="Segoe UI" FontSize="17" FontStyle="Regular" Wrap="False" HorizontalAlignment="Center" Trimming="EllipsisCharacter">
          <TextStage TextOffsetType="TextOffsetDropBottomRight" Color="#00000000" TextOffset="1" BlurFactor="3" Alpha="1.0"/>
          <TextStage TextOffsetType="TextOffsetNone" Color="#FFFFFFFF"/>
      </Text>
        <Text ID="Day" Left="161" Top="17" Width="470" Height="60" FontFamily="Segoe UI" FontSize="8" FontStyle="Regular" Wrap="False" Trimming="EllipsisCharacter">
          <TextStage TextOffsetType="TextOffsetDropBottomRight" Color="#00000000" TextOffset="1" BlurFactor="3" Alpha="1.0"/>
          <TextStage TextOffsetType="TextOffsetNone" Color="#FFFFFFFF"/>
        </Text>
        <Text ID="Desc" Left="161" Top="43" Width="470" Height="60" FontFamily="Segoe UI" FontSize="8" FontStyle="Regular" Wrap="False" Trimming="EllipsisCharacter">
          <TextStage TextOffsetType="TextOffsetDropBottomRight" Color="#00000000" TextOffset="1" BlurFactor="3" Alpha="1.0"/>
          <TextStage TextOffsetType="TextOffsetNone" Color="#FFFFFFFF"/>
        </Text>
        <Text ID="Winds" Left="161" Top="69" Width="470" Height="30" FontFamily="Segoe UI" FontSize="7" FontStyle="Regular" Wrap="False" Trimming="EllipsisCharacter">
          <TextStage TextOffsetType="TextOffsetDropBottomRight" Color="#00000000" TextOffset="1" BlurFactor="3" Alpha="1.0"/>
          <TextStage TextOffsetType="TextOffsetNone" Color="#FFFFFFFF"/>
        </Text>
        <Text ID="Prec" Left="161" Top="92" Width="470" Height="30" FontFamily="Segoe UI" FontSize="7" FontStyle="Regular" Wrap="False" Trimming="EllipsisCharacter">
          <TextStage TextOffsetType="TextOffsetDropBottomRight" Color="#00000000" TextOffset="1" BlurFactor="3" Alpha="1.0"/>
          <TextStage TextOffsetType="TextOffsetNone" Color="#FFFFFFFF"/>
        </Text>
        <Text ID="Other" Left="161" Top="115" Width="470" Height="30" FontFamily="Segoe UI" FontSize="7" FontStyle="Regular" Wrap="False" Trimming="EllipsisCharacter">
          <TextStage TextOffsetType="TextOffsetDropBottomRight" Color="#00000000" TextOffset="1" BlurFactor="3" Alpha="1.0"/>
          <TextStage TextOffsetType="TextOffsetNone" Color="#FFFFFFFF"/>
        </Text>

      <!-- Page1 text -->
      <Text ID="CurrentTemp" Left="0" Top="-10" Width="190" Height="70" FontFamily="Segoe UI" FontSize="22" FontStyle="Regular" Wrap="False" HorizontalAlignment="Right" Trimming="EllipsisCharacter">
          <TextStage TextOffsetType="TextOffsetDropBottomRight" Color="#00000000" TextOffset="1" BlurFactor="3" Alpha="1.0"/>
          <TextStage TextOffsetType="TextOffsetNone" Color="#FFFFFFFF"/>
      </Text>
      <Text ID="TodayTemps" Left="2" Top="92" Width="150" Height="50" FontFamily="Segoe UI" FontSize="7" FontStyle="Regular"  Wrap="False" HorizontalAlignment="Center" Trimming="EllipsisCharacter">
          <TextStage TextOffsetType="TextOffsetDropBottomRight" Color="#00000000" TextOffset="1" BlurFactor="3" Alpha="1.0"/>
          <TextStage TextOffsetType="TextOffsetNone" Color="#FFFFFFFF"/>
      </Text>
      <Text ID="Days" Left="205" Top="80" Width="370" Height="50" FontFamily="Segoe UI" FontSize="6" FontStyle="Regular"  Wrap="False" Trimming="EllipsisCharacter">
          <TextStage TextOffsetType="TextOffsetDropBottomRight" Color="#00000000" TextOffset="1" BlurFactor="3" Alpha="1.0"/>
          <TextStage TextOffsetType="TextOffsetNone" Color="#FFFFFFFF"/>
      </Text>
      <Text ID="Highs" Left="188" Top="100" Width="370" Height="50" FontFamily="Segoe UI" FontSize="6" FontStyle="Regular"  Wrap="False" Trimming="EllipsisCharacter">
          <TextStage TextOffsetType="TextOffsetDropBottomRight" Color="#00000000" TextOffset="1" BlurFactor="3" Alpha="1.0"/>
          <TextStage TextOffsetType="TextOffsetNone" Color="#FFFFFFFF"/>
      </Text>
      <Text ID="Lows" Left="188" Top="118" Width="380" Height="50" FontFamily="Segoe UI" FontSize="6" FontStyle="Regular"  Wrap="False" Trimming="EllipsisCharacter">
          <TextStage TextOffsetType="TextOffsetDropBottomRight" Color="#00000000" TextOffset="1" BlurFactor="3" Alpha="1.0"/>
          <TextStage TextOffsetType="TextOffsetNone" Color="#FFFFFFFF"/>
      </Text>
      <Text ID="Time" Left="2" Top="113" Width="150" Height="20" FontFamily="Segoe UI" FontSize="6" FontStyle="Regular"  Wrap="False" HorizontalAlignment="Center" Trimming="EllipsisCharacter">
          <TextStage TextOffsetType="TextOffsetDropBottomRight" Color="#00000000" TextOffset="1" BlurFactor="3" Alpha="1.0"/>
          <TextStage TextOffsetType="TextOffsetNone" Color="#FFFFFFFF"/>
      </Text>

    </Layer>
  </Layer>
  <Layer ID="TitaniumWeatherCondensed" Visible="False" Width="480" Height="60">
    <Layer ID="Page">
      <Text ID="PluginLabel" Left="20" Top="8" Width="460" Height="52" FontFamily="Segoe UI" FontSize="16" FontStyle="Regular"  Wrap="False" VerticalAlignment="Middle" Trimming="EllipsisCharacter"  Text="voicemail">
          <TextStage TextOffsetType="TextOffsetDropBottomRight" Color="#00000000" TextOffset="1" BlurFactor="3" Alpha="1.0"/>
          <TextStage TextOffsetType="TextOffsetNone" Color="#FFFFFFFF"/>
      </Text>
    </Layer>
  </Layer>
drkfngthdragnlrd found this GUID and pointed it out to me, so all thanks go to him. Now a panel could be made for almost anything now with this. Use your imagination of what you'd like to see. It would be possible to add Pocket SportsCenter to a panel too, baseball and football scores that auto update=D>

I've been playing with the for a while now, and I just can't seem to wrap my head around it. I think I'm understanding that with the GUID we will be able to create new panels without making anything "invisible". To test it I simply created a "test" panel using that GUID, and then copied my "welcome center" panel in the CPR file and changed it to represent Test at the end of the cpr file. I then pasted my new CPR and I then went through the standard step to set up the panel, and havent been able to get it to show up. I see Test in the configurator, I've added it to the xml file, but i can't get it to show up. Anyone have any ideas? Shawco, am i missing the boat on this or am I on the right track?
  #2 (permalink)  
Old 04-12-2009, 06:59 PM
showaco's Avatar
Lurker
Offline
 
Join Date: Nov 2007
Posts: 20
Reputation: 105
showaco is keeping up the good workshowaco is keeping up the good work
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: CHome/Titanium Modifications

Quote:
Originally Posted by chuggy View Post
I've been playing with the for a while now, and I just can't seem to wrap my head around it. I think I'm understanding that with the GUID we will be able to create new panels without making anything "invisible". To test it I simply created a "test" panel using that GUID, and then copied my "welcome center" panel in the CPR file and changed it to represent Test at the end of the cpr file. I then pasted my new CPR and I then went through the standard step to set up the panel, and havent been able to get it to show up. I see Test in the configurator, I've added it to the xml file, but i can't get it to show up. Anyone have any ideas? Shawco, am i missing the boat on this or am I on the right track?
yeah, this GUID can be used multiple times without losing condensed titles. When you copied the welcome center panel in the cpr, did you rename it to TestExpanded and TestCondensed(in the cpr)? You also need to have the Test key in reg with the same values as first key listed in that reg I posted. So you need the values for: Updated, Pages, DataSource, GUID, Layout, LocName.

Make those values something like this:
Updated -- make this as dword, value of 0 or 1
Pages -- this is your list of pages your using in this panel
DataSource -- this shoud be set to HKLM\Software\Microsoft\CHome\Test
GUID -- just copy the same
Layout -- 'Test', this tells it the name to look for in the cpr files
LocName -- 'Test'

In the pages registry keys, make sure whatever the image and text lines are called in the cpr are listed here. This GUID reads the info based on name given in cpr. So if cpr says: <Image ID="Image 1" Left="350" Top="-4" Width="100" Height="100" />
then registry needs to have entry called Image 1 for it to read. For text that looks like this in cpr: <Text ID="Text 1" Left="20" Top="52" Width="348" Height="42" FontFamily="Tahoma" FontSize="10" FontStyle="Bold" Wrap="False" VerticalAlignment="Top" Trimming="EllipsisCharacter">
then registry needs entry called Text 1.

The other GUID's used those names in cpr, but in registry they sometimes had different names and must have been loaded by chome on launch. This GUID can have values changed in registry, and if you toggle the Updated value from 1 to 0(or 0 to 1) then that whole panel reloads without needing to restart chome plugin or soft reset. I'm going to try to learn some programming to make a app to allow easy customization based on this GUID, but since I have little experience, it might take week or two.
This post has been thanked 1 times.
  #3 (permalink)  
Old 04-12-2009, 08:00 PM
chuggy's Avatar
PPCGeeks Regular
Offline
Pocket PC: Touch Pro II
Carrier: Verizon
 
Join Date: Aug 2007
Posts: 237
Reputation: 365
chuggy is becoming a PPCGeeks regularchuggy is becoming a PPCGeeks regularchuggy is becoming a PPCGeeks regularchuggy is becoming a PPCGeeks regular
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: CHome/Titanium Modifications

Quote:
Originally Posted by showaco View Post
yeah, this GUID can be used multiple times without losing condensed titles. When you copied the welcome center panel in the cpr, did you rename it to TestExpanded and TestCondensed(in the cpr)? You also need to have the Test key in reg with the same values as first key listed in that reg I posted. So you need the values for: Updated, Pages, DataSource, GUID, Layout, LocName.

Make those values something like this:
Updated -- make this as dword, value of 0 or 1
Pages -- this is your list of pages your using in this panel
DataSource -- this shoud be set to HKLM\Software\Microsoft\CHome\Test
GUID -- just copy the same
Layout -- 'Test', this tells it the name to look for in the cpr files
LocName -- 'Test'

In the pages registry keys, make sure whatever the image and text lines are called in the cpr are listed here. This GUID reads the info based on name given in cpr. So if cpr says: <Image ID="Image 1" Left="350" Top="-4" Width="100" Height="100" />
then registry needs to have entry called Image 1 for it to read. For text that looks like this in cpr: <Text ID="Text 1" Left="20" Top="52" Width="348" Height="42" FontFamily="Tahoma" FontSize="10" FontStyle="Bold" Wrap="False" VerticalAlignment="Top" Trimming="EllipsisCharacter">
then registry needs entry called Text 1.

The other GUID's used those names in cpr, but in registry they sometimes had different names and must have been loaded by chome on launch. This GUID can have values changed in registry, and if you toggle the Updated value from 1 to 0(or 0 to 1) then that whole panel reloads without needing to restart chome plugin or soft reset. I'm going to try to learn some programming to make a app to allow easy customization based on this GUID, but since I have little experience, it might take week or two.
Wow! I'm actually quit amazed how clear this seems now. I'm going to start from scratch on StarMans new rom, and see if I can make this work. As far as experience goes, you seem like you know what you are doing to me! Thanks!
  #4 (permalink)  
Old 04-12-2009, 10:09 AM
myshinynewtouch's Avatar
PPCGeeks Regular
Offline
Pocket PC: HTC Touch Pro
Carrier: Sprint
 
Join Date: Jul 2008
Posts: 70
Reputation: 35
myshinynewtouch is just getting started
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: CHome/Titanium Modifications

AAAAAAAAAAAHHHHH.... forgot that the new version is only for VGA and installed it and now my weather plugin is messed up - instead of the weather i just see a huge stop sign... anyone got the qvgs version of it - i know about the neoweather but it is toooo flashy - i like the simple msft stuff...
  #5 (permalink)  
Old 04-12-2009, 10:28 AM
chuggy's Avatar
PPCGeeks Regular
Offline
Pocket PC: Touch Pro II
Carrier: Verizon
 
Join Date: Aug 2007
Posts: 237
Reputation: 365
chuggy is becoming a PPCGeeks regularchuggy is becoming a PPCGeeks regularchuggy is becoming a PPCGeeks regularchuggy is becoming a PPCGeeks regular
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: CHome/Titanium Modifications

Quote:
Originally Posted by myshinynewtouch View Post
AAAAAAAAAAAHHHHH.... forgot that the new version is only for VGA and installed it and now my weather plugin is messed up - instead of the weather i just see a huge stop sign... anyone got the qvgs version of it - i know about the neoweather but it is toooo flashy - i like the simple msft stuff...
http://forum.ppcgeeks.com/showthread.php?t=62814

I think this is what you want.
  #6 (permalink)  
Old 04-12-2009, 11:26 AM
bx718bklyn's Avatar
PPCGeeks Regular
Offline
Pocket PC: Touch
Carrier: Sprint
 
Join Date: Mar 2008
Posts: 55
Reputation: 20
bx718bklyn is just getting started
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: CHome/Titanium Modifications

still can't these ishh to work
  #7 (permalink)  
Old 04-12-2009, 12:06 PM
Hafrust's Avatar
VIP Member
Offline
Pocket PC: Fuze
Carrier: AT&T
Threadstarter
 
Join Date: Dec 2007
Posts: 2,197
Reputation: 3856
Hafrust is still contributing even after becoming a VIPHafrust is still contributing even after becoming a VIPHafrust is still contributing even after becoming a VIPHafrust is still contributing even after becoming a VIPHafrust is still contributing even after becoming a VIPHafrust is still contributing even after becoming a VIPHafrust is still contributing even after becoming a VIPHafrust is still contributing even after becoming a VIPHafrust is still contributing even after becoming a VIPHafrust is still contributing even after becoming a VIPHafrust is still contributing even after becoming a VIP
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: CHome/Titanium Modifications

Quote:
Originally Posted by bx718bklyn View Post
still can't these ishh to work
Hmm...well, I know others who are using the same ROM you are have got it all working, maybe they can give you some pointers?
__________________
If you are new to the site, take a look at the PPCGeeks New User Guide to get an overview of how to use the forums.

Having problems finding what you're looking for? Here are some tips on how to search the site more effectively.
  #8 (permalink)  
Old 04-12-2009, 12:03 PM
myshinynewtouch's Avatar
PPCGeeks Regular
Offline
Pocket PC: HTC Touch Pro
Carrier: Sprint
 
Join Date: Jul 2008
Posts: 70
Reputation: 35
myshinynewtouch is just getting started
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: CHome/Titanium Modifications

is anyone able to get the mnemonique version to work on ur qvga phones ? i can't seem to get the cool new updates from showaco to show on my qvga phone...
  #9 (permalink)  
Old 04-12-2009, 12:09 PM
Hafrust's Avatar
VIP Member
Offline
Pocket PC: Fuze
Carrier: AT&T
Threadstarter
 
Join Date: Dec 2007
Posts: 2,197
Reputation: 3856
Hafrust is still contributing even after becoming a VIPHafrust is still contributing even after becoming a VIPHafrust is still contributing even after becoming a VIPHafrust is still contributing even after becoming a VIPHafrust is still contributing even after becoming a VIPHafrust is still contributing even after becoming a VIPHafrust is still contributing even after becoming a VIPHafrust is still contributing even after becoming a VIPHafrust is still contributing even after becoming a VIPHafrust is still contributing even after becoming a VIPHafrust is still contributing even after becoming a VIP
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: CHome/Titanium Modifications

Quote:
Originally Posted by myshinynewtouch View Post
is anyone able to get the mnemonique version to work on ur qvga phones ? i can't seem to get the cool new updates from showaco to show on my qvga phone...
I don't think mnemonique has finished v3 for qvga yet, has he?
  #10 (permalink)  
Old 04-12-2009, 12:46 PM
myshinynewtouch's Avatar
PPCGeeks Regular
Offline
Pocket PC: HTC Touch Pro
Carrier: Sprint
 
Join Date: Jul 2008
Posts: 70
Reputation: 35
myshinynewtouch is just getting started
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: CHome/Titanium Modifications

Quote:
Originally Posted by Hafrust View Post
I don't think mnemonique has finished v3 for qvga yet, has he?
thats the confusing part - his pictures look like the latest ones from showaco but his cab doesn't look like it yet - hopefully mnemonique gets out a new version today - can't wait now....
Closed Thread

  PPCGeeks > Windows Mobile > Windows Mobile Hacks/Tweaks > Titanium Tweaks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT -4. The time now is 08:12 AM.


Powered by vBulletin® ©2000 - 2025, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.6.0
©2012 - PPCGeeks.com