Notification Que growing with each reboot!!?? - HTC Excalibur

Hi,
I just purchased SKTools, which allows you to see all the scheduled/event based actions that the dash will do upon time changes, time zone changes, preset time/date schedule, etc. This is the area where all the apps tell the device to do something when something occurs, such as when a reminder is due to sound.
When I used the "Notification Que" feature of SKtools, the que was full of a bunch of duplicate entries, which I would think are just wasting space and possibly harming my devices performance because it will try to execute each one of the duplicate events. So, I deleted all the duplicate ones.
Then a few days alter I saw more duplicate ones. Then I read a thread that mentioned this [almost] extact bug with Pocket PC 2003 devices, in which the notification que grew and grew with each reboot and scarybear software came out with a jerry-rig utility to fix the issue by deleting them automatically upon eeach boot-up.
Well, the entries that the scarybear utility deleted don't look to be the same that I am seeing, so I don't want to experiment with it on my dash because it could possibly mess up my registry or something else.
But, I wanted to find out if anyone else is seeing this?
SKTools has a lite version that fortunately, includes the "Notification Que" feature so everyone can examine their que:
http://s-k-tools.com/index.html?sktools/m_lite.html
Could someone install the run SKtools and see if you see duplicates for these two different entries:
\\.\Notifications\NamedEvents\MSPPDUGateway_TimeChangeEvent
\\.\Notifications\NamedEvents\WLMScheduler_TimeChangeEvent
Thanks!

Yes, I am seeing these as well.

merwin said:
Yes, I am seeing these as well.
Click to expand...
Click to collapse
Well, it's a good thing that it's reproducible on another Dash, but it's a very bad thing that it is happening
So, if someone reboot their phone every night, the notification que will expand by two entries every night!

John, I think I saw that you are running wm6. Is that correct? Looks like you will need to add another catagory in JCA that is not only a reboots but also clears out dup alarms/notications!!!

john1027 said:
John, I think I saw that you are running wm6. Is that correct? Looks like you will need to add another catagory in JCA that is not only a reboots but also clears out dup alarms/notications!!!
Click to expand...
Click to collapse
Yeah, I am running WM6. Unfortunately, the generated dup notification entries are non-file events (they don't seem to run a file when the even occurs), so I don't know how to remove them from the que at this time.
Does anyone know how (programmically) to remove them?

OK,
An update...
I did a hard reset and installed 95% of the apps that I originally had on my phone, and now the phone does NOT exhibit this problem
So, apparently either fidiling with the registry or some app that I installed to test it out caused this issue and it's not an issue with the OS.

I had to do a hard reset as well, and re-installed all of my normal apps, and still have the problem.

Related

MS/WAD/Winterface

Hello again all,
I posted a few days ago about how I was going to move from MS to WAD2.
The thing about MS is although it's stable, and it works well..it's not configurable/customizable without great pain.
WAD is very configurable, but kills my battery in less than a day (with MS I can easily get 2 days or more). It's also very sluggish and doesn't seem to link directly into things eg, in MS hitting the SMS icon takes you into your sms folder, in WAD it takes you to the messages list where you have to select the sms folder adding additional clicks to get to what you want isn't really desirable. This is the same with the email icon.
So I thought I'd try winterface...which is far too complicated and just doesn't seem to be very user friendly
Is there anything else left to try? are these the top 3 that people are using?
Thanks
twisted-pixel said:
Hello again all,
I posted a few days ago about how I was going to move from MS to WAD2.
The thing about MS is although it's stable, and it works well..it's not configurable/customizable without great pain.
WAD is very configurable, but kills my battery in less than a day (with MS I can easily get 2 days or more). It's also very sluggish and doesn't seem to link directly into things eg, in MS hitting the SMS icon takes you into your sms folder, in WAD it takes you to the messages list where you have to select the sms folder adding additional clicks to get to what you want isn't really desirable. This is the same with the email icon.
So I thought I'd try winterface...which is far too complicated and just doesn't seem to be very user friendly
Is there anything else left to try? are these the top 3 that people are using?
Thanks
Click to expand...
Click to collapse
you can configure WAD to go to anything mate. The reason it is going to messaging when you want SMS is because the theme you are running links it that way. You can link to individual files, folders or .lnk files. THe .lnk files are great because you can pass parameters inside which is how the MS sms link is working anyway. There is no "sms" program, it IS the messaging program with a parameter passed upon execution.
I dont get too bad of battery life from WAD but I am nto really runnign aything else that would drain my batter so that may be helping me. There is nothing out there that can even shake a stick at WAD from a customization perspective. I say you stick with WAD and customize the themes yo ualready love with the links you desire.
ok I wanted to go grab more info for you about the sms thing. when looking at the sms.lnk file I created for my iphone theme, properties shows that to bring up sms directly you need to have
"tmail.exe" -service "SMS"
tmail.exe is just the messaging program and the rest tells it what service to start in. I believe setting to "MMS" also works as well as putting the account in the "". If you named you email Yahoo then "Yahoo" would work and th elnk would take you to the inbox of your yahoo account you set up
ok..that's a huge help as despite it's sluggishness and battery hungryness....I love the fact that I can do anything I want with WAD.
If only there was somewhere that told me about that command!!..I've downloaded the manuals etc, and there's no mention in them about how to use such commands, or how to make a meter, etc etc..
and I hate asking people too many questions.
twisted-pixel said:
ok..that's a huge help as despite it's sluggishness and battery hungryness....I love the fact that I can do anything I want with WAD.
If only there was somewhere that told me about that command!!..I've downloaded the manuals etc, and there's no mention in them about how to use such commands, or how to make a meter, etc etc..
and I hate asking people too many questions.
Click to expand...
Click to collapse
lol i hear ya. I learned from here and other forums. I dont know all that much either. I just get an idea, assume it is possible and go search for ways to make it a reality

[Sovled] CAB installer with long_send.lnk included.

Hi all
I've 99% finished an app that I'm about to upload, but have 1 tiny, tiny problem with it.
I've included a "long_send.lnk" shortcut in the CAB file, and it seems to be being duplicated for some reason.
I've got it set to install to the windows folder, and it does this, but it also installs a duplicate one in the Start Menu (I do have 1 other shortcut in the start menu - don't know if this is relevant).
My question is, does anyone have any idea why this would happen and, more to the point, how the hell do I stop it???
It's really annoying to get so close to completion and have 1 silly problem stop me dead, especially after having solved so many issues, like shortcuts that work no matter where you install the app (device or storage), and running the target app with parameters (they were both a pain in the arse to fix!)
Any advice would be very welcome.
Thanks in advance
Edit:
Sorry, I should probably have said that I'm using VS2008.
I should also explain that I'm creating the long_send shortcut in VS2008 as part of the CAB project, not externally, as I want it to point at the application, regardless of where it is installed. If I create the shortcut outside VS2008 then it may not be pointing at where the application is installed.
Just in case anyone stumbles across this with the same, or similar problem, I've just discovered the joy that is setup.dll, where you can code whatever you like for install and uninstall events.

Help me debug ArkSwitch :)

Hi all,
It seems that certain people (most notably multiple HD2 users) are having crashes and other issues with ArkSwitch. I have a Fuze (Touch Pro), and I'm not experiencing these issues. Therefore, it's virtually impossible for me to fix them.
I ask for your help finding and fixing these bugs, if you have any device that is not a Touch Pro. The source code is available at http://arkswitch.codeplex.com and I would really appreciate some help from any devs that have an HD2 or pretty much any device other than my own.
Let's use this thread to discuss code issues, and the "main" thread for everything else.
Thanks a lot!
Hi ark,
I'll take a look into it (I have an HD2, and sometimes it freezes for me also)
I've coding skills so no worries
See you later
PS. Nice app!
Cool, thanks!
Works fine on my HD
Only crashes when i try to include a image as a selector
hi Arktronic,
I have included ArkSwitch in my ROM v1.8, but have to remove it in next release.
Here are some problems found:
- I have to exclude it from CleanRAM otherwise CleanRAM will take the phone down.
- top taskbar (I'm using WM6.5.5) will be no longer accessible if ArkSwitch has been terminated by other apps (such as Task Manager 3.1, CleanRAM), or sometimes closed by itself.
However, I like the way ArkSwtich "take down" other apps, such as cprog.exe (Phone). It really removes cprog from the memory and free up some RAM without crashing the phone.
Is it possible to make ArkSwitch NOT to stay in RAM?
P/S: Sorry, I'm off topic. You want to discuss coding? Where can I get the code?
If you don't want ArkSwitch to stay in RAM, enable WM65 compatibility mode. Depending on what the user does then, it will either quit or minimize (but be friendly to the system if killed by CleanRAM or others).
Like I said in the first post, the source code is available here: http://arkswitch.codeplex.com/
Okay I did a debug session,
It seems to freeze here:
// Get the window text or else continue enumerating.
if (!GetWindowText(hwnd, WindowTextSb, 1024)) return 1;
in
static int EnumWindowsCallback(IntPtr hwnd, uint lParam)
In some cases the function GetWindowText doesn't return...
If I remove this call, it will load without any freeze
Interesting. Does that happen when there is another app that has frozen, or is it just random?
Maybe I forgot to lock that callback procedure in memory to prevent the GC from moving it around...
Arktronic said:
Interesting. Does that happen when there is another app that has frozen, or is it just random?
Maybe I forgot to lock that callback procedure in memory to prevent the GC from moving it around...
Click to expand...
Click to collapse
Seems that just some apps makes it freeze. I just noticed that an app written by me in c++ makes it freezing every time
If it is closed instead, arkswitch loads up normally.
I forgot:
It is not frozen. But it hosts a IE control in it if that could help.
btw I don't think is a GC problem...
I don't think an IE control would have such an effect. Is it a normal window, and does it have title text?
Arktronic said:
I don't think an IE control would have such an effect. Is it a normal window, and does it have title text?
Click to expand...
Click to collapse
I was searching a way to implement IE Control correctly due to netcf's scrolling bug with it. My exe is a modification of this one http://cid-e91b74403814953e.skydrive.live.com/self.aspx/BrowserWithGestures/BrowserWithGestures.zip which I'm using as support to my main app...
I'll look at that when I get a chance. Thanks again!
Arktronic said:
I'll look at that when I get a chance. Thanks again!
Click to expand...
Click to collapse
I'm going to look again on that piece of your code instead, maybe I will figure it out because it freezes.
I think i found the answer:
Internally, GetWindowText calls SendMessage(hWnd, WM_GETTEXT) to the window.
Since the thread calling GetWindowText (your thread) and the thread that
owns the window are different threads, the SendMessage
internally becomes a PostMessage, which sticks the message in the owning
thread's message queue and blocks until the message is processed by the
owner thread. You are now at the mercy of the owner thread to process that
message. If that thread isn't running a message pump, you're stuck.
Click to expand...
Click to collapse
you should use
SendMessageTimeout(hWnd, WM_GETTEXT, ..., 1000L,...). You'll be blocked for
1 second tops. You can of course send in a longer delay, but 1 second
should be sufficient.
Click to expand...
Click to collapse
Let's fix it
I'll post fixed source as soon as I end.
Wow, great find! I'll change it as soon as I can. This explains why other apps freezing causes ArkSwitch itself to freeze.
EDIT: Oh, if you're going to change it yourself, that works too
Fixed. It doesn't freeze anymore.
I'm doing some other checks, then I'll post corrected source code
w00t! You are awesome
Arktronic said:
w00t! You are awesome
Click to expand...
Click to collapse
I read on codeplex "Removed global memory status information retrieval as a test..."
Why you did so?
Where I need to touch to re enable it?
PS. Thanks, i just like to help
I did it as I was testing various things with Long Zheng to determine why ArkSwitch crashed on his HD2. We seemed to get somewhere with the removal of that, but then it started crashing again. I suggest you just go with change set 44738, as that has the latest stuff in it, except for the unnecessary removal of global memory info.
Arktronic said:
I did it as I was testing various things with Long Zheng to determine why ArkSwitch crashed on his HD2. We seemed to get somewhere with the removal of that, but then it started crashing again. I suggest you just go with change set 44738, as that has the latest stuff in it, except for the unnecessary removal of global memory info.
Click to expand...
Click to collapse
Ok.
Do you know how to detect sliding the finger on listview? I would add a process view which opens on sliding finger from right to left but there is not any mousedown/up event...

Fifa2010.exe can't be found -- improper uninstall: how to fix?

I thought I knew how to fix this sort of thing but obviously I was wrong!
OK, so I installed a couple of World Cup apps, to see which one I liked the best. My first mistake was deleting the cab files from both my PC and device, thinking, "Why do I need to keep these? Once the World cup is over, I'll uninstall the apps anyway." Consequently, I can't remember the name of the one I uninstalled (doh!). It may have been something like "Soccer Updater": I tried searching for it, both in this forum and via Google, but could find nothing that matched -- the closest was something by Emoze, but that looked like a Symbian app, so I discounted it.
The one I kept was "World Cup 2010", from http://www.mobilepractices.com/. The other one I installed never seemed to update -- I even tried setting an option that would apparently do the updates automatically, but that didn't appear to work either. So I uninstalled the app. My second mistake (in case you haven't caught it already) was to have failed to undo the auto-update feature of the app before uninstalling it: what I think is happening is that the auto-update command is attempting to execute, but can't find the app so it complains with a message saying that Fifia2010.exe cannot be found (executing around 03:00, but not every day).
Now I thought there was a way I could fix this using FdcSoft's Task Manager, but I poked around looking for something that would lead me to this executable (the Notifications and Services tabs were what I thought to be the most likely) but no joy. I then searched through the registry for "Fifa201" and "Fifa2010.exe" but there were no matches.
Any help/advice/pointers would be appreciated.
-------
Disclaimer: I posted this about a week ago in "Windows Mobile Development and Hacking" 'cause that's where I think I found the offending app. It was moved (appropriately) by the moderator the same day to "General discussion > Questions and Answers", but has languished there in obscurity, with nobody responding since the move. I'm hoping for better luck here.
bump? (can no one provide any insight?)
You may want to try SKTools, it claims (amongst lots of other functions, it's a really useful app) to clean invalid registry entries and values, bad/old uninstall info, temporary and obsolete files, etc..
Hope it helps
sirgal said:
You may want to try SKTools ...
Click to expand...
Click to collapse
Thanks, Sirgal, just ran SKTools clean function and it certainly found a whole bunch of stuff, most of which I didn't understand, and certainly nothing that had any link (obvious or tenuous) to Fifa2010.exe. sigh.

[Q] Moving the "taskbar" in Dragonstorm

Hi there,
I recently installed a program on my IQ called "QMail". In setting it up, all the documentation says to start by clicking on the "Tools" menu. The problem is, I can't see any tools menu, and I have a feeling it may be blocked by the Windows taskbar, which is at the bottom of the screen in the Dragonstorm roms.
Is there any way to temporarily move the taskbar/start menu location to the top of the screen?
Also, has anyone tried using QMail? I'd be interested in hearing experiences - it sounds too good to be true! (here's a link: modernnomads.info/wiki/index.php?page=Installing+and+configuring+QMail - as you can see, the menus are at the bottom of the screen...)
Thanks!
Mike
Hi, Sandmonkee,
I'm having the exact trouble with viewing the qmail menu bar in EnergyROMs and an HTC Touch Pro 2.
Coming from CE machines, I've always used qmail. Though not as robust as nPop, qmail will do imap, which nPop obviously won't.
Did you ever find a solution to this? I haven't.
Jake
jakfish said:
Hi, Sandmonkee,
Did you ever find a solution to this? I haven't.
Jake
Click to expand...
Click to collapse
I have actually. Using the 2003SE version ended up working for me, the toolbar stays on top. Its this one:
http://q3.snak.org/download/snapshot/q3u-ppc2003se-armv4-ja-3_0_0.zip
When you sync, it'll ask you if you want to update the program. Say no. It still has great functionality.
Good luck!
how is qmail better than the built in windows mobile mail application?
josefcrist said:
how is qmail better than the built in windows mobile mail application?
Click to expand...
Click to collapse
Well I can't answer that really, as I've never tried the windows mail program. I don't use Outlook on my computer (Thunderbird for me) so I was looking for something similar that I could use on my phone. I wasn't able to find any kind of "Mobile Thunderbird" (a real miss on Mozilla's part imho), but QMail is pretty darn close. Plus you can use it for RSS, IMAP, POP3, NNTP and all kinds of other great stuff that I don't think the windows one can do. Look here for more info:
http://pdaphonehome.com/forums/htc-...il-setup-gmail-hotmail-exchange-nntp-rss.html
Sandmonkee, many, many thanks.
This version does work; I have searched everywhere for a solution--you were the only person who had one.
Heh, I'd forgotten what a bear it is to setup qmail. Took the entire evening. Filtering is difficult, especially. The good news is, once you set up, then just copy the qmail directory, along with your Mail directory, to the desktop and upon re-flashing, etc, those two directories will preclude setting anything up again.
It's much faster than Pocket Outlook and with its infinite adjustments to fonts and other visuals, it makes email on a phone almost a pleasure.
I did find that if you commit to a certain filter, say "headers only," and then want to change that to "all," qmail wouldn't recognize the change. I had to delete the entire account and start again.
Too, for a Tmobile TP2 user, I really had to go back and forth b/w landscape and portrait to access all the menu buttons. And the hardkey back arrow is sometimes the only thing that will close you out of a menu. But sometimes not.
It is a crazy program, but ungodly sophisticated. It's so funny to have such a good English translation of the program itself but so little documentation elsewhere.
Again, I'm grateful for your help,
Jake
Glad that got it working for you!
Gmail does work, I use it on my phone. You just need to get the SSL files that are on the download site and copy them to your Qmail directory on your phone.
Hopefully more folks will clue in to this great app!
I'm looking for some keyboard shortcuts. Ctrl-D will delete the message upon next sync, so you don't have to go through the hassle of Marking, etc.
But have you figured out a way to exit the actual program via a keystroke?
I still have to go to File and work my way to Exit.
Another thing I noticed is that if I make a shortcut in /Windows/StartMenu/Programs, I get a trusted certificate error. With keyboard config, however, I can at least map, say, ctrl-e and bring up QMail.
Jake

Categories

Resources