HTC Home plugin Alarm configuration - Windows Mobile Development and Hacking General

Hello,
does anybody now where the alarm configuration tool is configured? I mean the application that is triggered when the HTC home plugin clock is clicked.
Nothing can be found in the registry and google and these forums are also 'fruitless'...
It is hard to imagine that HTC has hard-coded such a application in their application...
Greetings,
Peter Vrenken

go to Settings > System > Clock & Alarms.

I would like to start ptravelalarm instead of the standard Windowsclock touching the HTC clock. Is that possible?

This is exactly what i am trying to do... Just not with the ptravelalarm application
Is there anybody who knows how to achieve this?
Greetings,
Peter Vrenken

Is there noone that knows how to achieve this?

People have asked about changing the HTC Home actions before (normally the three buttons on the Home Tab, but I think this will be the same).
A lot of devs have looked at this and cannot find any settings that govern the applications launched.
Only thing left to do is open up your Hex editor and get hacking. (Let me know if you fix it )
Ta,
Dave

Jikes!
no thank you... :-(
Bummer...

you can just overwrite the clock.exe since u cant delete it. i promise u can overwrite it. my htc home opens a diff alarm program for me now . the thing is getting the alarm to change icons and it's just pointing htchome.dll in the right direction. I already have an idea how i just have to be sure how to change hklm to hkcu in registry and point it to where i want it yeah

overwriting clock.exe to the program u want works. only thing is to make the alarm on icon in htc home to pop up. I have located it in the htchome.dll... the thing is to change the values coz it is pointed to hklm for the indicator rather than hkcu where programs would be. any hex "readable" tutorials u guys can point me to so i can look into this better?

Related

How do I remap the PocketIE button on Exec/Jasjar

Got my new XDA Exec today. Keyboard has a button with the Internet Explorer icon on. When I press it I'm taken to http://pda.o2.co.uk/ which is about as much use as tits on a kipper.
Is there any way to reprogram this key to something more useful? Like Google or something? It doesn't appear in the list of programmable buttons in the control panel Buttons applet.
Perhaps it's a registry entry. If so, can anybody suggest a (free) WM2005-compatible registry editor?
TIA
Not sure about the Exec, but this was the registry edit for the JasJar:
Change hardware PIE behavior:
Go to - HKEY_LOCAL_MACHINE\Hardware\OEM\Keybd
Change the string called PieHomePage to the website address of your choice.
If you don't want it to do anything but go back to the spot in IE you left off -
Just edit the dword so that it is blank.
Bonza! That looks about right. Thanks for the info, galt. I'll check it out when I get into the registry.
Now, I just need a registry editor for WM2005. Can anybody suggest one?
Tre. It's freeware.
http://www2r.biglobe.ne.jp/~tascal/download/pocketpc/tre_e.htm
Nice one! Thank you galt and lautunno: I've installed Tre and fixed that registry value and it's sorted! Thanks for your help.

Tip - How to Disable Clock

Hi folks,
You guys might already know about this but I just discovered how to do it after doing some heavy googling over the past couple of days. Many thanks to the guy at this link who made the discovery!
How to lock down the clock on Windows Mobile devices
I was reading through some of the messages on the microsoft.public.dotnet.framework.compactframework newsgroup when I came upon a real gem of a message.
The key piece of knowledge being, that there is a special registry key, that will disable GUI access for the clock on Windows Mobile devices.
Application State Registry Key for Windows Mobile Clock
HKEY_LOCAL_MACHINE\Software\Microsoft\Clock\
If this is set to 0x11 the clock is enabled, as by default. If it is set to 0x30, or probably anything not 0x11, it is disabled and ignores any attempts to run.
If you are writting any kind of salesforce automation applications, or route management software, then you can see just how useful this feature is. You just add a special admin feature to enable and disable the ability to set the time, or handle it entirely from within your application.
Now I just need to find out why this key even exists, since I hate to find out the OS likes to change it under circumstance X.
// disable clock
System.Byte[] offValue = new byte[1];
offValue [0] = 0x30;
OpenNETCF.Win32.RegistryKey registryKey =
OpenNETCF.Win32.Registry.LocalMachine.OpenSubKey(@"\Software\Microsoft\Clock\", true);
registryKey.SetValue("AppState", offValue);
registryKey.Close();
// enable clock
System.Byte[] onValue = new byte[1];
onValue[0] = 0x11;
OpenNETCF.Win32.RegistryKey registryKey =
OpenNETCF.Win32.Registry.LocalMachine.OpenSubKey(@"Software\Microsoft\Clock\", true);
registryKey.SetValue("AppState", value);
registryKey.Close();
Click to expand...
Click to collapse
And the link to the original source -
http://www.cjcraft.com/Blog/PermaLink.aspx?guid=0b590db3-cc90-45fa-822e-acf91f031052
I was pulling my hair out over that one the last couple of days!
Cheers,
Dav
Hi dav!
I am sorry to burst your bubble, but I tried this registry hack, and found there is an easy way around it, with out editing the registry.
If you hold the OK hardware button (in the center of the joystick, on those devices that have it) then tap and hold the clock (in the task bar) you get a little menu with 2 options: Run and Clock.
If you choose clock from this menu, the app will start and the registry setting will automatically be altered so you will be able to open clock settings normally from now on.
Further investigation showed that the lower 4 bit of the AppState walue (ones digit) simply selects on what tab the clock app will open. Legal values are 1-3. Any illegal value (like 0) will jam the app preventing it from opening by tapping the icon in settings. I suspect that if a command line switch is specified it overwrites the registry value and the app opens any way. (that’s how the menu works)
Just thought you should know.
Hi levenum,
Thanks for the insights! I just tried it too and sadly that is the case ;-( Mmmh, I wonder if there is a way to hide 'Clock' from the Run\Clock thingy? or disable the Clock in some other way?
mmh, back to the drawing board...
Dav
Here's what you might try:
Create a cab that deploys an empty clock.exe to windows directory on the device.
Clock.exe is a ROM file, but a cab should be able to overwrite it (it won't work manually). This way no matter who calls it (menu or control panel) they will see the empty exe and nothing will happen.
Sounds like a good idea to me! I'll give it a try and see how it goes. Thanks for your continued help
Dav
Worked nice Thankyou!
btw, do you think that overwriting the Clock.exe would have any effect on the 'displaying' of the date in the Today Screen? By clicking the date we launch the Clock.exe program, but something else other than Clock.exe must control what shows the current date, right? I mean, the current date wouldnt just stay on the date on which we delete Clock.exe?
Cheers and thanks again,
Dav
Actually, if the exe was responsible for the date on the today screen, you wouldn't see anything once you overwritten it. Today date is just another plug-in. I think its clockdll.dll but I am not sure. Whatever the file name, it takes the date directly from the system clock.
As I understand it clock.exe is just a little GUI utility for setting system time, and alarms.
That sounds right and what i was thinking, always good to have a second opinion for confimration.
All the best,
Dav
seems like you guys might know what your doing, so do you know how to get the battery removed and the clock back on the today screen of WM5 latest rom releases....
levenum said:
Hi dav!
I am sorry to burst your bubble, but I tried this registry hack, and found there is an easy way around it, with out editing the registry.
If you hold the OK hardware button (in the center of the joystick, on those devices that have it) then tap and hold the clock (in the task bar) you get a little menu with 2 options: Run and Clock.
If you choose clock from this menu, the app will start and the registry setting will automatically be altered so you will be able to open clock settings normally from now on.
Further investigation showed that the lower 4 bit of the AppState walue (ones digit) simply selects on what tab the clock app will open. Legal values are 1-3. Any illegal value (like 0) will jam the app preventing it from opening by tapping the icon in settings. I suspect that if a command line switch is specified it overwrites the registry value and the app opens any way. (that’s how the menu works)
Just thought you should know.
Click to expand...
Click to collapse
wow..thanx for this. worked like a charm on my wing (and 2 yrs after it was posted i might add =P). i thought my alarm clock was lost FOREVER!
Hi,
I found the following code in this discussion thread:
// disable clock
System.Byte[] offValue = new byte[1];
offValue[0] = 0x30;
OpenNETCF.Win32.RegistryKey registryKey =
OpenNETCF.Win32.Registry.LocalMachine.OpenSubKey(@"\Software\Microsoft\Clock\", true);
registryKey.SetValue("AppState", offValue);
registryKey.Close();
It looks pretty useful to me but It has some OpenNETCF keyword.
Please suggest me what is OpenNETCF? Is it an additional third
party compact framework and how can I get this?
Also, if it is inbuild reference by Microsoft, from where to get it?
-Abhishek Maitrey
OpenNETCF is an extra SDK for WiMo devices. Search for it....
In this situation it's not needed.

Soft Keys

Hey guys hope everyone is doing ok today, just got a quick question about the soft keys. I have just flashed my ROM to RUU_Molski.Biz_226102_22610105_022511_G4_WWE its an excellent rom and would recommend it!
Just one thing tho i have CoPilot the sat nav prog on here and i like to set it to the left soft key so i can just load it quickly. Since i flashed the ROM when i press the left soft key it says "error opening shortcut or locating target filename" just wondering if anyone knows how i could fix this?
Many thanks
More info required.
How to you set the softkey? program or via registry hack? value?
well i set the softkey through the little softkey thing in settings and co pilot was in the list ok it just doesn't seem to work when i click the softkey. Is it a reg setting i need to change?
That is weird, the softkey software should work perfectly. Unless you move the thing away from the application start menu.
Anyway, take a look at the wiki at
http://wiki.xda-developers.com/index.php?pagename=WM5_Tweaks_Other
On the section "Change the application launched by Today screen Soft Keys"
For your case, set it up using the Softkey application, and go into the registry (with any reg edit software) and look at the value of
HKCU\Software\Microsoft\Today\Keys\112\Open
See what is the value being set to.
If it is set to the shortcut, try setting it to the exact EXE file.

How to Change XT9/ABC default settings?

I have the 20 Key Touch Dual (nike) and XT9 works great, but depending on what program you are using some applications start in "abc" mode by default. This seems dependant on what feild you are in; Subject feilds like a new calendar item always starts in "abc" mode, where notes and message feilds start in XT9. If you change the settings it will default back next time you open that application. Is there a way to change the default keypress settings to always start in XT9 for all feilds or a way to remember your preference inside each feild.
Anyone have a suggestions/tweak/fix?
Thanks-
Jcostanza4
i also need to fix this it is really annoying
I think you are right and that it's determined by the field or the application. I've noticed that it defaults to "abc" in fields and applications where non-standard (unusual) language is often used; i.e. calendar entries, phone book, connections settings fields, etc.
There must be a workaround though...
Does anyone found a solution to this??
It's really annonying to have to change everytime for having the xt9 enable. I found a sort of shortcut: long press on the button "*/xt9" and then press "1" but you have to do it each time...
Don't we have a good programmer who knows how to make cab to get rid of this??
i tried this, you can change the keyboard to the normal one, non new htc, this it will be of.
Guys it's simple use file explorer and go to Window\xT9Settings and click to launch settings menu there you can check on/off the following:
-Spell Correction
-Next Word Prediction
-Auto Substitution
-Word Completion
-Multitap Word Completion
Don't know why HTC have hidden it in the windows directory!! it should have been placed in the systems menu in any case you can always create shortcut for it in the programs menu.
gfreek said:
Guys it's simple use file explorer and go to Window\xT9Settings and click to launch settings menu there you can check on/off the following:
-Spell Correction
-Next Word Prediction
-Auto Substitution
-Word Completion
-Multitap Word Completion
Don't know why HTC have hidden it in the windows directory!! it should have been placed in the systems menu in any case you can always create shortcut for it in the programs menu.
Click to expand...
Click to collapse
But the is no option there to disable or enable xT9 in all applications.
I think this is the same issue as being discussed in this thread - maybe they should be merged.
Even though this thread is the 20-key version the way it reads to me we are all looking for the reg key(s) that set the behavior of xT9...
dabs said:
But the is no option there to disable or enable xT9 in all applications.
I think this is the same issue as being discussed in this thread - maybe they should be merged.
Even though this thread is the 20-key version the way it reads to me we are all looking for the reg key(s) that set the behavior of xT9...
Click to expand...
Click to collapse
Im not looking to disable the XT9, but to enable it in every feild by default or ABC mode. Right now certain feilds default to ABC or XT9, so knowing which feild defaults to what is always a pain. If I get used to typing in one mode only everything would be smooth.
This is one of the biggest things that is bugging the hell out of me at the moment with this device. Everything else has been smooth, Really hope HTC fix this in the next version with either a user option to enable the mode you want to use. I am pretty sure that a registry edit could also do this.
gfreek said:
Guys it's simple use file explorer and go to Window\xT9Settings ...
Click to expand...
Click to collapse
no xt9settings program on my traditional chinese version.
Try the link below...^^
http://forum.xda-developers.com/showpost.php?p=2098945&postcount=4
Thanks for the link. It works properly.

change VIDEO CALL SOFTKEY to CONTACTS

Is it possible at all to do this?
Would be really nice
you have to change it in the registry.
some one on here will be able to tell you what bits to change.
i cant as mine is set to something else and you have to
set the right path and mine will be differant to what you want.
964rs777 said:
you have to change it in the registry.
some one on here will be able to tell you what bits to change.
i cant as mine is set to something else and you have to
set the right path and mine will be differant to what you want.
Click to expand...
Click to collapse
I can do better than that. I can point you to the cab I made of the relevant changes so all you need to do is install this one file!
Great job, but do tell if the video call button would come back or not if I uninstall the Cab file.
If not how can we bring it back if and when I want to
This freeware program is a great alternative. Includes a reset to default command.
http://fantasticbytes.com/products/softkeymanager
i got a kinda similiar problem..except i wanna change my left soft key which now says TODAY SCREEN to watever da the default was..i think it was PHONE on my tf3d home screen..the reason it says TODAY SCREEN was after i uninstalled the phone alarm cab i was left wit dat..now i cant figure out how to change it back..i tried da fantasticbytes softkey manager didnt change anything..so if anyone can help or point me to right link link..really appreciate it..thanx
Can someone give me the registry path, so I can choose witch programma I like to map?
I have the new 2.03 ROM installed but want to change the dailer softkeys.
Thanks
You would have to find out a way to edit the DLL from post #4.
Unlike the softkeys from the homescreen the softkey on the dialer work totally different.
I didn't realise we were talking about the dialer when I posted above!
You can change the Left Softkey to the default contacts application (iContact BE on my phone) by setting the following registry DWORD to 1:
HKLM\Software\HTC\PHONE\LSKContact
Cab file attached (my first ever)
Also, you can drop this file in your Windows dir. Just overwrite the original with Total Commander or Resco.
65coupei6 said:
Also, you can drop this file in your Windows dir. Just overwrite the original with Total Commander or Resco.
Click to expand...
Click to collapse
What does this DLL do?
Now I have standard Windows Contacts or Pocket Informant, but I want iContact set as default contact button. This because in the phonepad I can't switch to second phone number when using smartdail...
Davey101 said:
I didn't realise we were talking about the dialer when I posted above!
You can change the Left Softkey to the default contacts application (iContact BE on my phone) by setting the following registry DWORD to 1:
HKLM\Software\HTC\PHONE\LSKContact
Cab file attached (my first ever)
Click to expand...
Click to collapse
That registry key is allready set to 1, but I can't get iContact to start...
What does your cab file do?
Marvie said:
That registry key is allready set to 1, but I can't get iContact to start...
What does your cab file do?
Click to expand...
Click to collapse
It just sets that one registry value, changing the left soft key of the dialer to "Contacts".
This launches the default contacts application - normally pOutlook but it should be iContact if you have installed it.
I installed the new iContact 0.9 and now it is default contact manager
Thanks
Davey101 said:
I didn't realise we were talking about the dialer when I posted above!
You can change the Left Softkey to the default contacts application (iContact BE on my phone) by setting the following registry DWORD to 1:
HKLM\Software\HTC\PHONE\LSKContact
Cab file attached (my first ever)
Click to expand...
Click to collapse
Thank you!!!

Categories

Resources