Jump to content

Question about Comm manager cab


Recommended Posts

Guest frauhottelmann
Posted (edited)

I am making a new home screen, and I have a question! Does anybody know if it is possible to show certain plugins only in portrait mode and not in landscape? So like the calender plugin at the bottom:

<!-- Calendar-Plugin -->


	 <plugin clsid="{865A354A-4A96-4687-B001-C155DC0DBE76}" name="Calendar" height="40">

	 <label halign="left" h="20" x="2" y="22">

		 <text><time/> <location/></text>

	 </label>

	 <label halign="left" h="20" x="2" y="2">

		 <text><subject/></text>

	 </label>

	 </plugin>

Thanks

Edited by frauhottelmann
Guest Pr0sper
Posted

No way that I know of. You could use Facade though, which provides two height settings (so the screen doesn't scroll in both modes).

Guest frauhottelmann
Posted (edited)

Hm, well it's not visible in landscape mode, but when you scroll down too far it destroys everything. And I don't want to use Facade! Oh a different thing how can you make the calender invisible if there is no appointment like the noevent does here:

<!-- All day event plugion -->


	  <plugin clsid="{2FFD93B3-0FF0-4228-A6D6-D2DF177D7D92}" name="alldayevent" height="25">

	  <background>

		  <format state="selected" bgcolor="COLOR_HOMEHIGHLIGHT"/>

	  </background>

	  <format state="noevent" visible="false"/>

	  <label h="22" x="16">

		  <text><subject/></text>

	  </label>

	  </plugin>
The noevent doesn't work with the calender:
<!-- Calendar-Plugin -->


	  <plugin clsid="{865A354A-4A96-4687-B001-C155DC0DBE76}" name="Calendar" height="40">

	  <label halign="left" h="20" x="2" y="22">

		  <text><time/> <location/></text>

	  </label>

	  <label halign="left" h="20" x="16">

		  <text><subject/></text>

	  </label>

	  </plugin>

Edited by frauhottelmann
Guest Pr0sper
Posted
Hm, well it's not visible in landscape mode, but when you scroll down too far it destroys everything.

You want it to be "not in the layout" in one mode - and that's not possible.

And I don't want to use Facade!

Where's the prob?

Oh a different thing how can you make the calender invisible if there is no appointment like the noevent does here:

You can't.

Guest frauhottelmann
Posted

Hm thanks. I think it's fine now the way it is. I just don't like Facade, no special reason.

A different question, I tried to change the comm manger with the one from Dr Martin Gonzo from XDA-Developers (http://forum.xda-developers.com/showthread.php?p=1774560&posted=1#post1774560), so I made a cab. The inf file looks like this:

[Version]

Signature="$Windows NT$"

CESignature="$Windows CE$"

Provider="frauhottelmann"


[CEStrings]

Appname="s730 Comm manager"


[CEDevice]

ProcessorType=0

VersionMin=5.2

VersionMax=6.0


[SourceDisksNames]

1=,Source1,,"Windows"


[SourceDisksFiles]

"CommManager.exe.040C.mui" = 1

"CommManager.lnk" = 1

"Function_AUTD.png" = 1

"Function_AUTD_Disable.png" = 1

"Function_Bluetooth.png" = 1

"Function_Bluetooth_Disable.png" = 1

"Function_DataDisconnection.png" = 1

"Function_DataDisconnection_Disable.png" = 1

"Function_FlightMode.png" = 1

"Function_FlightMode_Disable.png" = 1

"Function_Phone.png" = 1

"Function_Phone_Disable.png" = 1

"Function_Ringer.png" = 1

"Function_Ringer_Disable.png" = 1

"Function_Vibrate.png" = 1

"Function_Vibrate_Disable.png" = 1

"Function_WLAN.png" = 1

"Function_WLAN_Disable.png" = 1

"L_BG.png" = 1

"L_Button_Down.png" = 1

"L_Button_Focus.png" = 1

"p_bg.png" = 1

"P_Button_Down.png" = 1

"P_Button_Focus.png" = 1

"Status_Off.png" = 1

"Status_Off_Disable.png" = 1

"Status_On.png" = 1

"Status_On_Disable.png" = 1

"Status_Unselected.png" = 1

"Status_Unselected_Disable.png" = 1


[CopyFiles1]

"CommManager.exe.040C.mui"

"CommManager.lnk"

"Function_AUTD.png"

"Function_AUTD_Disable.png"

"Function_Bluetooth.png" 

"Function_Bluetooth_Disable.png"

"Function_DataDisconnection.png"

"Function_DataDisconnection_Disable.png"

"Function_FlightMode.png"

"Function_FlightMode_Disable.png"

"Function_Phone.png"

"Function_Phone_Disable.png"

"Function_Ringer.png"

"Function_Ringer_Disable.png" 

"Function_Vibrate.png"

"Function_Vibrate_Disable.png"

"Function_WLAN.png"

"Function_WLAN_Disable.png"

"L_BG.png"

"L_Button_Down.png"

"L_Button_Focus.png"

"p_bg.png"

"P_Button_Down.png"

"P_Button_Focus.png"

"Status_Off.png"

"Status_Off_Disable.png"

"Status_On.png"

"Status_On_Disable.png"

"Status_Unselected.png"

"Status_Unselected_Disable.png"


[DestinationDirs]

CopyFiles1=0,"\Windows"


[RegData]

HKLM,"SOFTWARE\HTC\CommManager","DisableButtonText",0x00010001,"3"

HKLM,"SOFTWARE\HTC\CommManager","SupportedFunctions",0x00010001,"6"


[DefaultInstall]

CopyFiles=CopyFiles1

AddReg=RegData

But when I tried to install, it says it is not signed with the right certificate, but is is signed and my phone is unlocked. Any ideas?

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.