PDA

View Full Version : Creating HTCCPL application shortcuts?


ADB100
14-03-2008, 12:37 AM
I am struggling a little here and don't know why this isn't working, I was hoping someone has been through this before and knows how to do it :confused:

OK, I understand the registry settings needed to add applets to the settings pages for HTC applications. You create two registry keys and increment the 'TotalApplets' registry value to include enough for all the 'applet extensions'. I have backward engineered some existing ones to see this. Now I am trying to add another application without just creating a physical shortcut file. I have created an OEM package that has the following .rgu file:
REGEDIT4

[HKEY_CURRENT_USER\Software\Microsoft\Inbox\Setting s\OEM]
"SMSInboxThreadingDisabled"=dword:00000000

[HKEY_LOCAL_MACHINE\ControlPanel\SMS Mode]
"Group"=dword:00000001

[HKEY_LOCAL_MACHINE\Software\HTC\HTCCPL\Applet16]
"CmdLine"=""
"Name"="SMS Mode"
"Path"="SMS.exe"
"Title"="SMS Mode"

I have then built my ROM and the Icon doesn't appear on the Settings, System page. The application is there as I can use file manager to browse to it and then execute it. I have verified that all the registry settings are there, however the Icon is not displayed. I know I could simply create a physical shortcut and put it in Start Menu\Settings, however I would prefer to get it working this way, and it's bugging me now...

Any takers?

Oh, its the 'sms.exe' application from ce4arab.com that allows you to change the WM 6.1 threaded SMS view settings.

Andy

ather90
25-06-2008, 11:18 PM
i dont know if you found the solution or not..but did u change the " Total Applets " also..because if u didnt..it would'nt read any other added Entries

its in HKEY_LOCAL_MACHINE\Software\HTC\HTCCPL

ADB100
25-06-2008, 11:40 PM
i dont know if you found the solution or not..but did u change the " Total Applets " also..because if u didnt..it would'nt read any other added Entries

its in

I did solve it, however it is a bit of a weird one.... The SMS.exe application I was trying didn't have an Icon embedded in the file so when viewed in Explorer (on a PC or on the Wizard) it just looked like a regular .exe file. I simply swapped the file for another Threaded SMS enabler/disable someone else posted and it all worked.

I am not 100% sure it was just the fact the file didn't have an Icon, however that is all I can put it down to.

I have other issues now though; I can't get .NetCF 2.0 to work in my re-cooked 5.2.19588 ROM :( The Threaded SMS app is a .Net application so it's there and looks pretty, however it doesn't run......... :(

Andy