yashsingh1/xdaforums huggingface dataset:
[Windows Mobile Apps and Games] reidler:
It started to happen often now. So there are 3 issues but I have a feeling that two of them are the same.

1. Sometimes in portrait mode location # 1 the regular Battclock area (that I have set X=-106, Y=2, W=69, H=49, 2 rows and 1 column) showing my battery meter and temperature will disappear and display the WM clock. Though It will show location # 2 (that I have set to X=0, Y=5, W=120, H=46, 2 rows and 1 column) that I have on the leftmost side correctly. I'm guessing that this problem is tied to the next problem # 2.

2. Sometimes in landscape mode the regular Battclock position near the right will show the WM clock instead of Battclock and display the regular Battclock field that usually goes there in position -106 somewhere in the middle of the title bar (since it's in landscape mode I guess it's around pixel area 400). Location # 2 will display in the normal leftmost position.

So I think problem # 1 is this same problem. It's just that in portrait mode the middle area of the title bar is not showing the location # 1 items. But probably the reason the WM clock is displayed instead is probably because Battclock is trying to display it in a different position that just cannot be seen in portrait mode.

3. Even though I have reset the font and fontsizes several times in landscape mode, it reverts back to that other font and size on its own. I have not figured out why. It's not worth it for me to keep re-setting it because it'll get unset again. (Just happened again - reverted back to that other font and size). Please remember that in Battconfig it still shows my font and size settings.

Also please note: if I notice that the WM clock is being displayed on the top right of a portrait screen, I can open the keyboard and close it and it may be corrected. I might have to do that more than once. If I notice the problem of the wrong location positions in landscape mode when I open the keyboard, I can try closing and opening it again and it may be corrected.

I hope I am giving you useful infromation to help you debug it. Thank you and good luck. If you want to give me any instructions to try or test please let me know.

Eli
[Windows Mobile Apps and Games] ZuinigeRijder:
Driving home and thinking (dangerous :eek:) of the disappearing BattClock I found the problem :) While introducing more BattClock areas I only have one boolean variable for remembering the portrait or landscape position. And that should be one per BattClock area :eek:

I have to look for the Font problem. Probably this weekend a bug fix release will be posted.
[Windows Mobile Apps and Games] reidler:
Great! Thank you. Good luck.
[Windows Mobile Apps and Games] ephestione:
So this means that I have to hold back and wait for the fix release after reflashing my baby which has just come back :p
[Windows Mobile Apps and Games] countalmaviva:
BattClock on Imagio/Whitestone

Thank you VERY much for a fantastic app - donation made! I can't believe I've been a WinMo user for three years and only now have discovered BattClock. I have spent over 12 hours in the past few days configuring my taskbar - so much fun I was forgetting to eat... :eek:

Here are my details:

HTC Imagio

Windows Mobile 6.5 (Energy ROM Titanium 21916 Dec 21)

Titanium homescreen

Settings - see attached .txt file

Screenshot - see attached .jpg

A few observations: After using BattConfig for a while, BattClock occasionally fails to display the background image. Stopping and restarting BattClock always fixes this on my phone. I have the BattClock Press Command set to run ArkSwitch, giving me the 6.5.x functionality of this great taskmanager on my 6.5 phone.

This may have been mentioned in a previous post: when importing a previously saved theme, it is necessary to reset the BattClock first. THEN import the old theme. I have all my themes saved in a folder with descriptive names. When I want to switch to one of these, I copy it to the \Program Files\Battclock folder and rename it to BattClock.reg.txt.

Thank you again for a GREAT app!!!
[Windows Mobile Apps and Games] ZuinigeRijder:
Currently only FontSizeLandscape was supported, not FontNameLandscape and also not FontTypeLandscape. Because I thought it did not make much sense to have another font in landscape, only the size matters?

However, I found a bug in setting the FontSizeLandscape in BattConfig. That I will update in the next fix release.

Is there a special reason you also want a different font and type in Landscape?
[Windows Mobile Apps and Games] ZuinigeRijder:
Good to hear that your phone is back. I hope the touchscreen is ok now. I am testing the latest fixes, hope to post it just before 24:00 :D
[Windows Mobile Apps and Games] ZuinigeRijder:
Thanks.

Also a nice screenshot! Good use of subtle stripes.

I did not hear from the disappearing back image. Strange, because I read it only once in memory. I will recheck my source code.

I am also amazed, that starting with a simple BattClock, it has grown into a:
[Windows Mobile Apps and Games] countalmaviva:
Indeed, you are correct, sir -- the best part of your programming is that it's geared towards a highly customizable array of options. This is why we all love Windows Mobile so much!
[Windows Mobile Apps and Games] ZuinigeRijder:
Bug fix release

[APP] [Updated 15-01-2011] BattClock version 3.4.2 *NEW* 6 separate BattClock press commands

# Fixed bug that BattClock could disappear when switching between landscape and portrait in combination with more BattClock areas

# Fixed bug that different fonts sizes between portrait and landscape were not working

# Make AppToDate also work when installed on SD Card or via zip file
[Windows Mobile Apps and Games] ephestione:
...off to updating! ;) Touchscreen most OK, they even reset the call timers, I could sell it as brand new :p
[Windows Mobile Apps and Games] reidler:
Hi. I see you released fixes. I will soon get them. I was not using a different font or different size for landscape than for Portrait. Actually I only set up the font and size in Portrait mode. When I went to landscape my font was not being used. So I thought I had to set it up again while in landscape mode which I did. I set it to the same as I had in portrait. But it kept reverting back to that other font and size. I'll load your fix and test it. Thanks. You have a lot of fans.
[Windows Mobile Apps and Games] reidler:
Thanks for showing your settings. I have been looking at them. You used the registers in the content to display the SMS and Emails?

How did you get the background under the battclock settings? I've been trying to use DETEC BACKGROUND but it didn't work for me. I told it to detect the background position Y=-120 X=10. I don't understand how the Detct Background works.
[Windows Mobile Apps and Games] reidler:
So far so good. I installed 3.4.2. I have not had the problem of the missing Battclock location. And the fonts and sizes have been correct in both Portrait and landscape so far.

I found the registry locations for voicemails, missed calls, sms unread and email unread. I cannot find Reminder events. The phone reports to me how many unread reminders but I cannot find it in the registry. I would like to set Battclock to list that number.

Thanks. Eli
[Windows Mobile Apps and Games] ephestione:
From 3.1.2 that I had installed, 3.4.2 logically reset the colours that I had chosen, I just had to change the medium value leaving 0 to both low and high, and after resetting background image battclock didn't immediately take up the change, but at next reboot it worked.

I still need to play with custom positionable info, there are lots of possibilities, I will probably reserve the fun for a future pause ;)
[Windows Mobile Apps and Games] ZuinigeRijder:
Negative values for detectBackground X and Y are not translated currently in BattClock to portrait/landscape orientation, so you need to specify positive values which are in the taskbar area. So in practice this means you can only specify a range in portrait orientation, e.g. X=0..480 and Y=0..50
[Windows Mobile Apps and Games] jcmm:
Hello ZuinigeRijder,

What I have seen with these two latest versions of your excellent program is that I charge my battery lasts longer, keeping the same options that were defined in my device. This shows your internal settings of the program have been very positive. If still not able to adjust more, but any work in this area is always very good. Thanks. :)

Regards,
[Windows Mobile Apps and Games] reidler:
Ok. I found it! First of all - 3.4.2 has fixed the location and font/size problem.

Once again Battclock is solid and robust. Thank you.

I found the Reminders count! Phew it wasn't easy. I got my "unread" reminders up to number 6 and then I used Total Commander to do a registry search for data having a 6 in it. Of course I got a lot. I then patiently looked through the list looking for hints until I found it. On the Sprint Touch Pro 2 WM 6.5 it is in HKLM\System\State\Reminder\Count\APPT.

I'm very tight on space on the Title bar because I still want to see the status icons so I'm using location #3 X=120, Y=5, W=42, H=46. The location #3 is set to 3 rows and 2 columns. I made the fontsize 14 so it'll all fit. I used Content numbers 5 (text messages), 6 (emails), 7 (reminders), 8 (empty), 9 (missed calls) and 10 (voice mails).

So it looks like this:

3T 0E

6R

3M 3V

I'll need to figure out a more pleasant way of displaying these. But at at least for now I have it displayed.

I plan on setting up Flexmail for my email program. I hope the unread email register count will be the same or easy to find under Flexmail.

I think I found another bug (I'm really so sorry). When I go back in to Battconfig and press on CONTENT, it shows me only the first 6 items that I set up. Item numbers 7, 8, 9 and 10 are shown as empty. I think it should be showing as:

1 Battery%

1 Battery Temperature

2 DateTime format 1

2 DateTime format 2

3 RegKey 3

3 RegKey 4

3 RegKey 5 Battconfig shows this as empty

3 empty this one is correct - it is empty

3 RegKey 1 Battconfig shows this as empty

3 RegKey 2 Battconfig shows this as empty

3 empty the rest are empty and correct.

3 empty

...

Now even thought Battconfig shows those content items as empty the data is still properly displayed in the Title (Taskbar) area.

Thanks so much.

Eli
[Windows Mobile Apps and Games] ephestione:
same thing happens here, I had 8 areas set on 3.1.2, the reg settings were kept the same, I still saw the 8 areas, but they all had the same grey colour instead of the one in 3.1.2, and in "Content" I only saw up to area 6, 7 and 8 were "officially empty" eve if they were showing.
[Windows Mobile Apps and Games] Tokl:
Same here,

i think there are all registry keys of 2.nd and higher area killed after close of Battclock config, because of the registry cleaning of unneeded keys...

Greetz Tokl
[Windows Mobile Apps and Games] countalmaviva:
Exact same thing is happening to me, too.
[Windows Mobile Apps and Games] countalmaviva:
For my background I did not use Detect Background but Back Image. I simply pointed BattClock to the exact same file as my wallpaper, and it magically selected only portion BattClock overlaps. Pretty great!

BTW, there may be lingering Detect Background settings in my .txt file because I had been experimenting with it. It seems that Back Image overrides Detect Background...?

I've also tweaked some more settings, which may appeal to you, reidler. I've now set the phone, wifi, SMS, and email fields to grey out when the value=0. That way, the text color tells me if the phone/wifi are turned off, and unecessary text is less obtrusive. See the attached file.
[Windows Mobile Apps and Games] ZuinigeRijder:
Thanks for the testing effort :) damned I hate if a bug slips in :mad:

In the BattConfig program, only the contents item 1 to 6 are filled when starting BattConfig. Should have been 12 :eek: Will post a new fix in a few minutes.....
[Windows Mobile Apps and Games] ZuinigeRijder:
Indeed BattClock takes out the exact portion of the taskbar of the background image. So you only need to point to the correct wallpaper image.

Good to see that the min/medium/max color for any value is of use.
[Windows Mobile Apps and Games] ZuinigeRijder:
Good to hear you did find the missing reminder key.

You can also use horizontal or vertical stripes to show some of the data. If you do not have a solid line and make e.g. the maximum 5, you can even count the number of items. So you have more space :rolleyes:
[Windows Mobile Apps and Games] ZuinigeRijder:
Bug fix release

Sorry for posting again a bug fix release :mad:

Good to see that people report those problems :) at least that means BattClock is used :rolleyes:

[APP] [Updated 16-01-2011] BattClock version 3.4.3 *NEW* 6 separate BattClock press commands

# Fixed bug that only the first 6 content items were shown in BattConfig when restarted
[Windows Mobile Apps and Games] reidler:
You know, the registry key HKLM\System\State\Reminder\Count\APPT seems like I should I have been able to find it easily. Indeed I had actually looked there. When I saw a key named Reminder I figured it might be there. I wondered how come I hadn't found it earlier. I just discovered why. When the number of missed appointments goes down to 0 - the key (APPT) is deleted! The key is only defined when there is 1 missed appointment or more. When it is 0, it is removed. Just the last level APPT is removed - the path HKLM\System\State\Reminder\Count remains. But Battclock does not make the change once the key is deleted. Battclock leaves it as 1. When it changes to 2 then Battclock will display 2. When back to 1, Battclock will display 1. When it goes to 0, Battclock still displays 1. So when I see a 1 there I do not know if it is a real 1 or merely a false 1 (like a false positive). When the count went down to 0 and the key was removed, I tried setting the APPT key to 0 (DWORD, decimal). It did make the Battclock display a value of 0. But apparently that throws Windows Mobile off - When WM wants to set it to 1 if WM sees the key is defined (even though it is set to 0) it will set it to 2 skipping 1. So it looks like I must allow it to continue working as it does to obtain the correct number.

The question is what should be the way Battclock works when it is set to display a

registry key that is not defined? I'm requesting of you that a non existant key should be returned as 0. Or at least maybe it should be returned as a null. But if returned as null (which maybe that's what is happening now), it should atleast clear the previous value. So %d should clear what was there before. So if I showed 1R, and then the number goes to 0 and the key is deleted, either it should display 0R or at least just R. What do you think?

Thanks alot.

Eli
[Windows Mobile Apps and Games] reidler:
Wow! That's brilliant! I had not thought of that idea. Wow is this program sooooo versatile! I wonder if even ZuinigeRijder could have known how many possible wonders could be designed out of this. Amazing!
[Windows Mobile Apps and Games] reidler:
First - thank you so much for such a fast fix of the 6-12 Content problem!

Thank you for this idea. I will think about how I can consider this. It will certainly make better use of the space that I have left. I'm thinking something like this:

| | | | |

| | | | |

| | | | |

T E RMV

My symbols (Text,Email,Reminder,Missed calls,Voicemail) on the bottom and the stripes going upwards. I have to think about the maximum 5 limit. I usually have more. I've never experimented with vertical stripes yet so I have to play with it.

The problem I mentioned that I'm having about the deleted registry node (APPT)

I have to see how that manifests itself.

That registry node - APPT - is a strange entry. I cannot get a handle on it yet. When I soft reset the phone WM might show me some missed appointments but that registry entry was not yet updated. Then all of a sudden it was updated and Battclock displayed the number. Still the deleted node is a problem. Can the inginuity of the people on this forum give me ideas please? The main problem is the 1. 1 might be 1 or it might really be 0. Thanks so much.
[Windows Mobile Apps and Games] RobTsintas:
I've been trying everything I can to get volume displaying as a stripe. But no luck. The problem seems to be the values used in the registry:

Volume:

0% / 20% / 40% / 60% / 80% / 100%

Value (Hex):

00000000 / 33333333 / 66666666 / 99999999 / cccccccc / ffffffff

This should translate to decimal values:

0 / 858993459 / 1717986918 / 2576980377 / 3435973836 / 4294967295

But the actual values shown in the registry, and when this key is displayed in BattClock are:

0 / 858993459 / 1717986918 / -1717986919 / -858993460 / -1

This makes it impossible to set up a stripe, since the decimal values are not uniform.

Is there anything that can be done? Can Volume be set as a pre-defined option, which looks at the Hex value?

I really want to get a permanent volume indicator display on my screen, as I keep forgetting to adjust the volume after reducing it (eg. while using a media player).

Cheers
[Windows Mobile Apps and Games] ZuinigeRijder:
Currently BattClock checks at startup if the key and value exists. If not, they will never be updated with BattClock. When the value is not found later on, indeed the value is not updated, it will keep the previous value as-is. Returning 0 would also be arbitrary, I think.

The problem lies in the fact that the calender application is not updating the value correctly. A similar problem lies in the fact that e.g. the signal strength is not updated in the registry to 0 when you disable the radio (flight mode). As BattClock does not know the logic of the registry key, it cannot do much about it.
[Windows Mobile Apps and Games] ZuinigeRijder:
Problem lies in the fact that the numbers are sometimes too big, so they are seen as negative number.

What would work, I think, is display the volume as a number. In the "Display Formats" setting screen, you can set the "DivideBy" to 10000000, so you get a number between 0 and 15. With 15 the volume is highest.

Another solution would be to handle stripes (and the min/medium/max values) as unsigned numbers. I have a test version attached (only BattClock.exe, which you can overwrite after unzipping where you installed it). Maybe it works?

Because I did not test it myself, it is advised to remove the shortcut to autostart BattClock (or use the zip install version after deinstalling BattClock)
[Windows Mobile Apps and Games] reidler:
Ok. I was going to tell you my observations but I see you know about this already. My phone runs a backup program every night and then resets itself. This morning the reminders field was 0 (not 0R like I have it set to in Display Formats to %dR). As the phone came up with two reminders Battclock still displayed 0 and was not updated. So I figured exactly what you wrote that since it did not see the registry node at startup it ignores it. I opened Battconfig and adjusted something and then immediately Battclock displayed 2R in that field. I understand that this is a WM anomaly for doing this in a strange way. Is it not possible for Battclock to probe more often the registry keys that are set up by the user in Content or in Stripes? It must be probing the registry values to update them on the screen. Could it not recheck if they are defined rather than just checking at startup? Seems that method would correct more than just this one WM problem alone.

<Returning 0 would also be arbitrary, I think>

Maybe if Battclock knows that the registry key holds a numeric value then if the key disappears then logically it would mean 0. Or at least it would mean null (blank). So Battclock could return 0 or at least return blank telling it to clear the numeric part of the field. The software that I work on does have this same type of situation occassionally. In my software I must always check if the value exists and that's exactly how I handle it. If I know the field is numeric and it does not exist then I return 0. If it's a string field then I return a null (blank) and clear the field out.

Of course you have done an excellent job on this software so it is entirely your decision (of course). I hope you don't mind my asking or suggesting.

I played with the stripes last night and had a lot of fun getting the vertical stripes to display bottom to top. I changed the numbers to get a bigger or smaller stripe. But I don't know how to put a letter somewhere near the stripe to indicate what the stripe is displaying. It's not like the Display Formats that lets me add a letter indicator to a field. This is so neat and I'm enjoying playing with all these capabilities.

Eli
[Windows Mobile Apps and Games] reidler:
How about in Display Formats - you can choose the item and edit it using the divide by (or mutiply by -1) and get the numbers down to something more reasonable. Once you get a number in a decent range you can assign that field to a stripe. Good luck. Let us know.

Eli
[Windows Mobile Apps and Games] ZuinigeRijder:
I could keep the registry key when the at least the key exists. So then I could probe (once per second) the value name. I will put this on the wish list.

When a value does not exist, in principle it could also have been a string value, not a numeric value. But most likely a numeric value is what you configure in BattClock. In that sense I could fill a empty string in the field. For stripes this is not possible and a 0 is something then. I will put this on the wish list too.

You must make a small BattClock area below the stripes, with e.g. 5 columns and just one letter with s small font/size. And just draw the stripes just above them on the right place.....
[Windows Mobile Apps and Games] ephestione:
Ok, request post: as it seems stripes cannot have a background extracted from the wallpaper image, and you can just choose a solid color for the background.

Why not make them take up the sprite background off the same image used for the info areas? Or would it be overkill to manage sprites also for stripes?

(bah, sprites/stripes, sounds like a speaking excercise :p)
[Windows Mobile Apps and Games] reidler:
Ok. Thanks for the advice. I did it. I had to pick a Content item and then I went in to Display Formats and chose that item. I chose d-m. I then changed the display format from %d-%d to the TERMV letters. Is that correct? Or is there a better way to put letters there that I am missing? I chose the Arial Bold font and size 10. I did not make the location into 5 columns only because I think I would have had to choose 5 content items and to edit each one to a letter - one for each column. But I think your way might have had it more aligned. Though it's pretty good this way too. I put the stripes on top of each letter going up. I worked on the colors also. As I work on it I keep thinking of different approaches and ideas. I'm not an artist so I need others to tell me what to do to make it nice. I think I'd like to also put the count number on top of the stripe or maybe on top of the letter under the stripe. (That'll only work if the number is a single digit under 10). I mean how much fun can I have with this?

Would Battclock work on other WM phones? A friend of mine with a Palm Treo Pro might want to put it on his phone. (300x300 resolution). He's amazed at this program.

Thanks so much for considering those two registry issues for your (my) wish list. If you can do it, I'll appreciate it and I'm of course willing to discuss it and help you with it.

Eli

P.S. Please look at the Detect Background screen. For the X position number - push the + sign. Is that working?
[Windows Mobile Apps and Games] ZuinigeRijder:
I think this is only relevant for non-solid stripes. The question is if those few pixels between the stripes are noticeble enough to implement the requested feature :confused:

Aah, of course, you mean the space which is not occupied by the stripe, because the value is too low. I will put it on the wish list.