Today Screen Item Disabler - Windows Mobile Development and Hacking General

Ok,
So after digging around and reading a lot on MSDN, I found no way to disable all plugins on the today screen. I also discovered that XML provisioning does not like certian kinds of characters even if you use HTML coding
so... that being said, allow me to introduce my first (and very basic) application to the XDA forums.
TodayDisabler.
What it does is it opens the protected registry keys that control what items appear on the today screen and sets them all to enable = 0
I purposefully wrote this app with no interface so that you can use it in your provisioning to disable all items on your today screen no matter what items are currently enabled.
How To Use:
Place the item on your storage card wherever you want
Use the XML: or CPY1:/CPY2: (SDCondig.txt) commands to copy the file to a location without spaces (maybe \windows)
Use the EXEC: (SDCondig.txt) command to launch the file
I would recomend using XML to delete the file afterwards so its not wasting space on your device (a whopping 9k) or maybe so you dont run it accidentally and disable all of your plugins
Now that all of your plugins are disabled, you can use WAP provisioning, CAB files, or reg files to enable just the ones you want!
I know I am still reletively new compared to others. so if any of you are a bit unsure about running any of my app, I would be more than happy to post the source code to this application

thanks I try..coming soon

So if I understand this correctly once I run TDY Disabler all of my plugins are disabled and won't show in the Today Settings list, so I would have to use something such as SKTools to re-enable the plugin so I can check it off in Today Settings????

Sorry to appear thick, but... why?
I mean, apart from the instructional value writing it, why would someone use it?

NICE
little app

So if I understand this correctly once I run TDY Disabler all of my plugins are disabled and won't show in the Today Settings list, so I would have to use something such as SKTools to re-enable the plugin so I can check it off in Today Settings????
Click to expand...
Click to collapse
No thats not the case, all of your plugins do show in the today plugins list, so you can enable them at any time
Sorry to appear thick, but... why?
I mean, apart from the instructional value writing it, why would someone use it?
Click to expand...
Click to collapse
The point of the app is for those of us who constantly flash and use provisoning scripts. Each rom has different plugins enabled on the today screen. While its not much to just go into the today applet to disable them, it is an extra step to do so.
Running this application simply disables all of them (same thing as unchecking them in the Items tab on the Today settings screen.) This way a frequent flasher can run a cab or XML file to enable only the plugins they use

RickoT said:
The point of the app is for those of us who constantly flash and use provisoning scripts. Each rom has different plugins enabled on the today screen. While its not much to just go into the today applet to disable them, it is an extra step to do so.
Click to expand...
Click to collapse
Oh, got it - thanks for the explanation.

Thanks for the clarification, would have been great if it actually gave you a list and the ones you did not want would be removed from the list entirely.

iggy said:
Thanks for the clarification, would have been great if it actually gave you a list and the ones you did not want would be removed from the list entirely.
Click to expand...
Click to collapse
I was thinking about doing something like that, but all it would do is remove the registry entries, not necessarially the application from your device.

No I did not want the application removed, just the today item disabled and removed from the today settings list. Their is a bunch of today items for installed apps and apps that are standard in the ROM that I do not use at all but they are all listed in the Today Settings. Right now I have to use SKtools and remove the registery entry 1 at a time.

True, I will put something together for you today

Here ya go
http://forum.xda-developers.com/showthread.php?t=404662
Today Item Remover

Related

Mysterious disappearance of a today plugin

I installed a few softwares on my PDA (imate a.k.a. XDA II) yesterday. Some of them had today plugins so they created entries in the today plugin list.
One strange thing that happened is that my Inbox today plugin has disappeared from the today plugin list.
Any idea where it went and how to get it back? And what controls what shows up on the today plugin list?
Limited number of today plugins
First off, I am assuming that you have gone to your settings - Today and made sure that it's not just a problem with checking/unchecking the plug-ins listed. Secondly you will need a registry editing program like PHM RegEdit or Resco Explorer Registration add-in. Find your way to HKEY_LOCAL_MACHINE then SOFTWARE then Microsoft then Today then Items. Delete any keys you are not currently using to bring the list below 13 (If memory serves me it's 13). Whether or not you actually are displaying the plugin or even use the software, as soon as the key is loaded it takes a "slot" on the list and once you reash the limit the OS just remove one to make room for another on the Today screen. To make matters more annoying, it seems that, at least for me, the inbox is the first to go instead of 3rd party plugins. Hope this solves your problem - if not post more details and we'll see where to go next.
Yes an OS problem that a few of us have faced and discussed previously.
If you install too many today plug ins for the OS to handle the InBox is the first to disappear.
If you require additional info there are existing threads dealing with the same issue.
Ed

[New release] Registry display plugin

Ok, most of you may find this totally useless as a plugin, but it was a combination of a request by user Treo_newb and a desire to create a sample plugin project that could be used as a base / example for plugin writers (I plan on doing an article on codeproject.com and this will be the source for it).
What does it do?
This plugin displays a string stored in registry.
The path is:
HKEY_CURRENT_USER\Software\RegDispPlugin
Value name: DisplayString
It checks if this string has changed several times per second when today screen is shown (as the system sends refresh message to all plugins) and displays the updated message if a change occurred.
What is it good for?
First, if you write apps using mortscript or similar like the user who requested this it will let your script display stuff on today screen.
Alternatively it could be used to mark your device today with a string that isn't as easily changed as user info.
The source is basically a skeleton plugin you can use to build your own plugin on (no license / copyright to limit you) and it already has several tricks needed for the plugin to display correctly:
VGA compatibility
Text size matching system settings
Proper header in settings dialog (like on system plugins)
Proper text color when selected (according to theme)
No blinking all today screen on change
Proper resize when switching between landscape and portrait
When I was writing my first plugin I could not find all these little fixes concentrated in a single article so I had to fish for each one as the bug reports came in.
Hope you will find this little project useful.
The plugin:View attachment RegDisplay.CAB
The source (eVC 4 project): View attachment RegDisplay.zip
Thanks for this!
Thank You Lev.
Thanks, Thanks, Thanks,
You are a legend.
I was almost through with my today plugin and was trying to figure out reading registry values and all of a sudden I get a PM from u about the plugin !!!
Very Cool !!!
OK a few questions,
1. I know that WM_TODAYCUSTOM_QUERYREFRESHCACHE is called for refreshing the today plugin, any ideas about when is it called.
I read somewhere that it was 2 seconds. Is it true?
2. I saw ur code and u have exposed CustomItemOptionsDlgProc in RegDisplay.def, but when I installed the cab file the 'options' is not enabled.
I manually changed the resistry and changed options to dword = 1 and saw ur name and email address.
u might want to enable that by default so that people can notice ur work.
I am planing a commercial release of a new project on basis of this.
Thanks again,
Shailesh
First, you're welcome.
shaileshashar:
1) I ran a debug print on this message once on an iPaq 1710 and it seems to be sent several times per second. This could differ from OS to OS or even from device to device, I am not sure.
If you need specifically timed refresh, or you have an event triggered on new data, I suggest using a timer or maybe a thread that will wait on an event. You can refresh your plugin from anywhere in code by calling InvalidateRect with your window handle.
2) I messed up the cab at first, forgetting to add the Options reg value. Then when I went to upload the fix, I couldn't access the site for about an hour (no idea why, I even rebooted the PC to Ubuntu). Should be fixed now, but I will check it later again (I have to go back to XP for that).
Good luck with your program.
Suggestion
levenum said:
First, you're welcome.
shaileshashar:
1) I ran a debug print on this message once on an iPaq 1710 and it seems to be sent several times per second. This could differ from OS to OS or even from device to device, I am not sure.
If you need specifically timed refresh, or you have an event triggered on new data, I suggest using a timer or maybe a thread that will wait on an event. You can refresh your plugin from anywhere in code by calling InvalidateRect with your window handle.
2) I messed up the cab at first, forgetting to add the Options reg value. Then when I went to upload the fix, I couldn't access the site for about an hour (no idea why, I even rebooted the PC to Ubuntu). Should be fixed now, but I will check it later again (I have to go back to XP for that).
Good luck with your program.
Click to expand...
Click to collapse
Thanks for the help, will check the fixed cab.
Also a suggestion:
A custom icon could also be incorporated. You can give a option to load a custom icon next to the text in the today plugin.
I know anybody can modify ur code and do it but still.
Actually, I probably should have mentioned this in the original post but I have no intention of adding options to this thing.
This would only complicate the code and turn it in to an actual app instead of a sample project.
But by all means feel free to make suggestions. If this thing does become popular, when I am done with my other projects (like LVMTopBat) which won't be any time soon (unfortunately) I will release a separate version of this plugin with all kinds of options that can be controlled both by user (form the options dialog) and by other apps through registry.
Maybe things like text alignment, size, bold / Italic / underlined.
P.S.
The reason I put the string this plugin loads under HKEY_CURRENT_USER instead of the HKLM where the rest of the plugin registry resides is because by default the HKEY_LOCAL_MACHINE on WM 5 and higher has a security restriction. For example you can not write to it using RAPI, only by authorized (or signed) app on the device. The HKEY_CURRENT_USER on the other hand is open for all.
levenum said:
P.S.
The reason I put the string this plugin loads under HKEY_CURRENT_USER instead of the HKLM where the rest of the plugin registry resides is because by default the HKEY_LOCAL_MACHINE on WM 5 and higher has a security restriction. For example you can not write to it using RAPI, only by authorized (or signed) app on the device. The HKEY_CURRENT_USER on the other hand is open for all.
Click to expand...
Click to collapse
Thanks for the info, I never knew that.
Thank you so much! This was exactly what I was looking for!
levenum said:
...But by all means feel free to make suggestions.
Click to expand...
Click to collapse
As a frequent mortscript user I think, this great app might be even more usefull, if the string was shown in an "allways on top" message box instead of the today screen. The Today screen might be obscured by other active windows during the scripts runtime and the plugin eats precious today screen estate also while being unused, doesn't it?
In that case (of a standalone application) I would furthermore introduce some kind of termination string (or reg. value) to end the display application.
Code:
- start mortscript
- writes first string to registry
- starts display application (run)
- updates string in registry whenever appropriate
- ...
- writes termination string to registry
-> display applications self-terminates
- ...
- end of mortscript
Honestly, I already do use something comparable with mortscript (employing a conditioned sleepmessage loop and reading from the registry too), but this could be much nicer and more elegant.
Just my 2 cents... What do you think?
I think something like that would be better implemented by the mortsrit program it self.
It could be a function like MessageBox API in windows which you could then command on and off. Having it built in would save precious resources on the device that would be wasted by having an extra app run constantly in background.
This is just my thought though.
I'd suggest contacting the developer of mortscript and discussing it with him.
levenum said:
I think something like that would be better implemented by the mortsrit program it self.
...
I'd suggest contacting the developer of mortscript and discussing it with him.
Click to expand...
Click to collapse
Mort knew about that request and by chance just announced to so.
Thanks anyway.
Hello levenum,
I just joined the community. Reason being, I found your RegDisplay plug-in
You call it a sample project, but the impact is that of an awesome solution.
Great for MortScript, but equally useful in BASIC applications that write
messages to the registry which is show upon screen minimization.
I regret not being a C programmer (mainly BASIC), else I'd love to further
develop this jewel.
Your plug-in runs flawlessly in an iPAQ 210 under WM6 Classic.
Cheers and Respectful Greetings
Robert
CLSID for registry display plugin
What is the CLSID for the Registry Display Plugin? I am going to have to edit the XML file that defines my home screen in order to get the plugin to show up. I am using Facade to control my home screen, and the only plugins that it will show in its list are those currently in use in one of the XML files in the Application Data\Home folder. All other new plugins require editing the XML. Thanks for your help.
levenum said:
Ok, most of you may find this totally useless as a plugin, but it was a combination of a request by user Treo_newb and a desire to create a sample plugin project that could be used as a base / example for plugin writers (I plan on doing an article on codeproject.com and this will be the source for it).
What does it do?
This plugin displays a string stored in registry.
The path is:
HKEY_CURRENT_USER\Software\RegDispPlugin
Value name: DisplayString
It checks if this string has changed several times per second when today screen is shown (as the system sends refresh message to all plugins) and displays the updated message if a change occurred.
What is it good for?
First, if you write apps using mortscript or similar like the user who requested this it will let your script display stuff on today screen.
Alternatively it could be used to mark your device today with a string that isn't as easily changed as user info.
The source is basically a skeleton plugin you can use to build your own plugin on (no license / copyright to limit you) and it already has several tricks needed for the plugin to display correctly:
VGA compatibility
Text size matching system settings
Proper header in settings dialog (like on system plugins)
Proper text color when selected (according to theme)
No blinking all today screen on change
Proper resize when switching between landscape and portrait
When I was writing my first plugin I could not find all these little fixes concentrated in a single article so I had to fish for each one as the bug reports came in.
Hope you will find this little project useful.
The plugin:View attachment 41592
The source (eVC 4 project): View attachment 41583
Click to expand...
Click to collapse
This is great! I was asked if I could write a today screen plug-in for my weather application (http://forum.xda-developers.com/showthread.php?t=445576) - I couldn't since I don't have the skills and I'm writing .NET code - but this is exactly what I needed.
I'm adding support for this plug-in and will of course give credits to you.

PointUI - New Version 1.01b - Now with customization

Here's the new version of PointUI.
New Features
- Weather update frequency now includes "Manual".
- Customisation (yes, we are Aussies so spell it with an 's'): Media Player - ok, a little techy at this stage, but you can now specify the path of your media player in the registry:
- In the key: HKLM\SOFTWARE\Pointui\Home\{your version} (i.e. version = 1.01b) create a new String value called App.Path.Media
- You can include in your path {Windows}, {Programs}, {ProgramFiles} which will get replaced with your device specific folders but if you do use them then don't start the path with a backslash
- The path can be to a shortcut or exe, and include spaces, but don't use any quotes
- An example value is: {Windows}\wmplayer.exe
- You don't need to restart Home for this change to kick in
- Customisation: Email account
- You can specify a store name in a String value called App.Email.StoreName
- This will then launch to the specified inbox instead of Outlook mail
- The store name is CASE SENSITIVE
- It doesn't appear to break if you enter a dodgy store name - just doesn't do anything Smile
- Unread message count indicator will be count of TOTAL emails across all accounts
- You NEED TO RESTART Home for this one to kick in
- Customisation: Tasks and Calendar
- You can specify an alternative app for Tasks and Calendar using the registry keys App.Path.Tasks and App.Path.Calendar
- If the alternative app requires command line args then you can supply them with the corresponding keys App.Path.Tasks.Args and App.Path.Calendar.Args
- You don't need to restart Home for this change to kick in
- Customisation: Phone
- To use an alternative dialer (or if your device has the problem of when you click the Phone icon it freezes for 8 seconds, then you can specify an alternative dialer (or any app really) using the registry key App.Path.Phone
- You don't need to restart Home for this change to kick in
- Customisation: Lock Screen
- To use an alternative lock screen application you can set the registry key App.Path.LockScreen. This should provide a workaround for Smartphone users who cannot get out of our lock screen.
- You don't need to restart Home for this change to kick in
Changes
- Clicking calendar icon from Home screen will go to the day view instead of week.
- When browsing applications, sometimes you would see a file called "icon" that didn't launch anything - it's actually on your device and is a real file but is hidden, so hidden files are now excluded from the list.
- Updated fonts to include extended characters.
Bug Fixes
- Support for special folder locations other than the default English ones.
- Phone numbers now include all characters in addition to standard digits.
- When the Phone icon is clicked and there are no phone calls in the history it now works correctly instead of showing a grey bar at the top.
- Japan added to weather locations.
Known Issues
- Not enough time in the day.
- Red Bull wearing off.
- VGA
- Devices without Phones
- Recurring Appointments
- Uninstall - we'll need to get the uninstall sorted out soon. All Pointui apps have a command line switch -uninstall that will prompt it to remove itself, registry settings etc, so you can use Update Manager to uninstall Home (through it's interface), and then get rid of Update Manager with command line. That will still leave the left soft key reverting to Phone, but pretty much everything else should be gone.
Head over to www.pointui.com for more info.
installing now.. thanks
Hi,
This version still doesn't show hebrew letters, Please give a chance to change the software fonts....
to Tahoma, since SEOGE (Or the fon't u'r using) doesn't have the hebrew letters.
Thanks.
Nadavi
Will finally get a chance to test now - was trying to wait for initial bugs to get fixed... Heard lots of great reviews on this app!
Thanks for the changes.
I will try this evening (german time)
This version introduces new problems. I'm enjoying SPB Backup like never before
Anyone had success removing this after install I have tried uninstalling via phone/ computer and it removes it from the list but does not remove the program. I would love not to have to hard reset.
you dont...
after normally uninstall on your phone/pda you can
delete the registry-keys under
HKLM\Software\PoitUI and the Home-directory
located under "Prgram Files" or "Programme" or
whatever language you have...
After reboot, all is like befor....normally
On my deinstall it worked so
CABs Please
Hi,
I don't use Windows and will be better if somebody post th eCABs files.
Regards,
Taguapire.
haiopei said:
you dont...
after normally uninstall on your phone/pda you can
delete the registry-keys under
HKLM\Software\PoitUI and the Home-directory
located under "Prgram Files" or "Programme" or
whatever language you have...
After reboot, all is like befor....normally
On my deinstall it worked so
Click to expand...
Click to collapse
Jesus it puts the lotion on its skin. Where being held captive by a piece of software gotta love that. Talk about nazi'ism feels like AOL for mobile devices go ahead install if you dare will require a format if u want to get rid of us though.
Easy to remove if you do it the right way. You would have found this if you would have looked on the forums for the program.
To Remove .Home
Drop back to the default Windows Mobile Today Screen
Start > Programs > .Update Manager
Pointui Products > Home > 1.0 Free > Uninstall
Perform a Soft Reboot after the uninstall and Home will be removed.
To finish the uninstall, use Remove Programs to uninstall the update manager, you can delete the installation folder if you so desire and the icon form the start menu.
To bad this procedure does not work on the 6800 there is no uninstall option in the update manager.
Custom Program?
Can someone make a program that you don't have to go in the registry and make it easier to change on the fly.
blazingwolf said:
Easy to remove if you do it the right way. You would have found this if you would have looked on the forums for the program.
Click to expand...
Click to collapse
Yeah, but going to the devs own forums and reading their instructions actually requires more than the single braincell a lot of people seem blessed with these days...
FloatingFatMan said:
Yeah, but going to the devs own forums and reading their instructions actually requires more than the single braincell a lot of people seem blessed with these days...
Click to expand...
Click to collapse
I love when jackasses speak about things they dont know.
NexVision said:
I love when jackasses speak about things they dont know.
Click to expand...
Click to collapse
And I love it when people with the IQ of a zit ask questions that are actually answered several times by several people on official forums.
NexVision said:
To bad this procedure does not work on the 6800 there is no uninstall option in the update manager.
Click to expand...
Click to collapse
It is there on my 6800.
Yup a IQ of a zit because the uninstall instructions do not work for me or hundreds of others and we want this off of our device so we ask for help. Real good insult there dont quit your dayjob (if u even have one) anyways I am done with you thanks for being a complete and utter waste of space.
Thank you blazingwolf for your attempt although it did not work.
This method did though.. Still had to alter the softkey though but no biggie.
haiopei said:
you dont...
after normally uninstall on your phone/pda you can
delete the registry-keys under
HKLM\Software\PoitUI and the Home-directory
located under "Prgram Files" or "Programme" or
whatever language you have...
After reboot, all is like befor....normally
On my deinstall it worked so
Click to expand...
Click to collapse
@Nexvision,
Did you go to the right location? It took me a minute to relize that I clicked on the wrong item one time.
blazingwolf said:
It is there on my 6800.
Click to expand...
Click to collapse
HMMMMMMM maybe it was the version I downloaded then I even tried downloading a new version today reinstalling and uninstalling no dice still for the uninstall method posted (other then manual delete). Oh well.

Pocket PC Shortcuts

Is there a desktop program that creates Pocket PC shortcuts? Just enter what you want it to point to, and the icon for it, and it spits out the file?
By "just enter what you want it to point to" do you mean you type in the full path?
I have written a utility that creates the lnks for the full path, although no icons are created: http://forum.xda-developers.com/showpost.php?p=2102312&postcount=117
That's pretty much perfect! But does anyone know how to incorperate a .ico?
Whatever icon the program has will be included when the shortcut is placed onto the device...
I see... so there's no way to include an icon in just a shortcut, huh? Interesting
There probably is I just haven't worked it out!
I have worked out how to do it now: http://oldsap.blogspot.com/2006/07/customising-icons-on-your-ppc-shortcut.html
Problem is, it needs the icon to be stored in a dll...
Huh... fair technique, I suppose, although having a third file aside from the program and shortcut can make things hard to manage when file numbers grow to the double digits. Thanks for looking around... good find!
l3v5y.. thank you very much. the app is very useful.
xd1936 said:
Huh... fair technique, I suppose, although having a third file aside from the program and shortcut can make things hard to manage when file numbers grow to the double digits. Thanks for looking around... good find!
Click to expand...
Click to collapse
The dll can be used for multiple images...
xd1936 said:
That's pretty much perfect! But does anyone know how to incorperate a .ico?
Click to expand...
Click to collapse
Have a look at the attachment...
It does just what you are searching for....
Shortcut Creator crashes under Windows Mobile 6 Standard
Just to let you know - I was able to install this application on my phone (Verizon SMT5800 smartphone, running Windows Mobile 6 Standard (i.e., no touch screen). However, when I ran the application, it crashed immediately, and locked the phone up so that I had to take the battery out in order to reboot the phone and regain control.
there is an OLD WinCE program called 'Launch Pad' that does this, but will it run on a smartphone? I guess you could try and see. check this link:
http://www.onhiatus.com/Software/
this requires 'Pocket C' runtime here:
http://www.orbworks.com/wince/index_20.html

TMoUS HD2 WishList

These are my requests that I have which would actually "complete" my perfect HD2... if any members here would like to contribute some info as to how I may go about and fulfill them, then I would have much gratitude. Thanks
-Aside from the volume control that MysticGenious posted along with his taskbar, is there any other cab or registry change that will allow me to change my volume in increments of 1 as opposed to 3 bars each time? I am familiar with the paid app, but I do not want to go that route.. If mysticGenious created something that works when you use his taskbar, then I'm sure someone else has created something.
-Take the application "FootPrints" for example... Unless I have that activated on my tab screens, I am unable to create a shortcut so that I can save it on as a quicklink. This is the same with the HTC Calender App and any other tab application. If its not active in the Tab menu then the shortcuts doesn't exist. Is there a workaround? I would like to use Foot Prints, but I only want it as a quicklink, NOT as a Tab folder. I have already tried activating the tab and creating the shortcut to the quicklinks, but as soon as i removed it from the Tab Menus, it disappeared. There has got to be a way for this to happen. Cause I mean the program is there, but for some reason it only works if its active in Tabs.
-Transformers... I have tried reinstalling the Transformers cab but that didn't work. I just want to be able to click the Transformers shortcut and be able to select either 1 or 2 and then the movie instantly pops up. I have the movies saved on my sd card now, but because i moved them out of the SD card and onto my computer at one point in time, the link that connected them is no longer there. Basically I have all the components, I just need some guidance on how to make the shortcut link and work again... I'm assuming that i have to direct the file via registry editor "Total Commander" or something, I am just confused when it comes to that stuff on my HD2
and believe it or not, thats actually the only issues I have left with the phone, I'm sure that someone has a suggestion, or knows an answer... thanks a lot guys

Categories

Resources