yashsingh1/xdaforums huggingface dataset:
[Windows Mobile Apps and Games] lopez1_de:
Thanks for your feedback.

To make buttons continously I used the global mouse down and up events. If I receive a mouse down event I start a timer which repeats every 200ms or so until a mouse up event was received. I used the System.Threading.Timer for this, which is created with the mouse down event and repeats until the mouse up event is destroing the timer. You have to use a global variable for the timer.

In the moment I don't have the sources available. But I can send it to you on monday if you like.
[Windows Mobile Apps and Games] fhs1111:
Mr. Lopez,

i would be very grateful if you do share the sourcecode. i would certainly learn a lot. if possible, please email me at

f a i s a l h s i d d i q u i @ g m a i l . c o m

thanks

Faisal
[Windows Mobile Apps and Games] fhs1111:
Mr Lopez

ok i did what u said and now i am able to increment a value of a label when i press and hold the mouse down button anywhere on the form.

how do i identify which button i have clicked. i mean if i have a up and down buttons, how do i know within the Form1_MouseDown(object sender, MouseEventArgs e) event to figure out if a down or up button was clicked.

thanks

Faisal
[Windows Mobile Apps and Games] ads:
Missing autoreset in timer

Nice application.

But missing autoreset function in timer - for reporting repeating time intervals. Eg. informing me every 5 minutes.

Vladimir
[Windows Mobile Apps and Games] 6Fg8:
digital 7 font problem

Hi,

first of all, congrats, nice app! Comes in very handy in my (real, not ROM) kitchen :) I saw you have the same struggle i had using digital-7 font in PowerRadio, so i thought i leave a comment regarding this. Sure you already noticed when copying it to \Windows\Fonts, all kind of apps simply grab it and use it on places you never wanted (Opera, GoogleMaps, TF3D).

What worked for me was to leave it in the app folder and register/unregister the font during runtime. The calls are AddFontResource and RemoveFontResource in coredll.dll.
[Windows Mobile Apps and Games] TMReuffurth:
Nice App. I use it on my Blackstone. Just a little thing i don´t like so much. The milliseconds are not updating very fast. Would be nicer if the would show faster update.
[Windows Mobile Apps and Games] lopez1_de:
New version!

Version History:

2.34:

* Increased graphics performance by 50%! Milliseconds updating faster now.

* Slightly lower battery usage

* Fixed a bug noticed by trids. If you long-click ("reset") on a timer that is not yet defined, then the app don't crashes anymore.
[Windows Mobile Apps and Games] lopez1_de:
For those who want to know how I managed the button hold code. This is the code:

System.Threading.Timer gestureTimer;
System.Threading.TimerCallback gestureTimerDelegate;
int gestureHoldTimeDiff = 400;
bool stylusIsDown = false;
bool stylusIsHold = false;

gestureTimerDelegate = new System.Threading.TimerCallback(gestureTimer_Tick);
gestureTimer = new System.Threading.Timer(gestureTimerDelegate, null, System.Threading.Timeout.Infinite, System.Threading.Timeout.Infinite);

private void Form1_MouseDown(object sender, MouseEventArgs e)
{
stylusIsDown = true;
gestureTimer.Change(gestureHoldTimeDiff, System.Threading.Timeout.Infinite);
}

private void Form1_MouseUp(object sender, MouseEventArgs e)
{
if (stylusIsDown && !stylusIsHold)
{
stylusIsDown = false;
}
}

private void gestureTimer_Tick(object state)
{
if (stylusIsDown)
{
stylusIsHold = true;
// do your actions here....

gestureTimer.Change(gestureHoldTimeDiff, System.Threading.Timeout.Infinite);
}
}
[Windows Mobile Apps and Games] lopez1_de:
I don't work with the Forms.Button class. I'm using button graphics and draw them in OnPaint event and then recognize x and y coordinates of the "mouse".
[Windows Mobile Apps and Games] TMReuffurth:
Thank you for the changes made to the ms update speed. It looks much better now. Very nice!
[Windows Mobile Apps and Games] A&A:
Excellent application, THANKS :)

Only a couple of minor suggestions:

1) It would be great if the short vibration upon launching the application could be avoided (or enabled/disabled). Sometimes I launch the application when the device is cradled (car holder/or regular desk cradle) and the rattling is really unpleasant and for all it is unnecessary ;) Can this be done via the registry?

2) Even though the number or cycle rings can be increased in the registry I believe that a default value of 4 is a bit little... I say this mostly for the users who are not so familiar with registry tweaking :) . I missed a timer, burned a pizza and decided to set mine to 99 :D

3) When setting (for the first time) a timer, tapping on the down arrow should go: 59 58 57 56 etc. but instead it goes -01 -02 -03 -04 etc. Why?

4) Another plus would be if the mp3 format could be supported in a future release.

Lastly, I enclose for my fellow-threaders the modified "selected.png" file to replace in the installation folder inside the "gfx" sub-folder... Just overwrite the original if you want to add a real :cool: cool :cool: neon green touch!

This is BY FAR the best stopwatch/timer application available, kudos to the developer!!!!!

(Uploaded "selected.png" file both in png and zip format)
[Windows Mobile Apps and Games] lopez1_de:
Thanks for the suggestions. It's nice to hear that you like this app. Oh, and I'm sorry for the burned pizza. :D

to 1) I noticed that the first vibration in my app was always delayed. I don't know why this happens. So I decited to let the device vibrate at startup to avoid this.

to 2) Yes, I have to implement more settings into the GUI. :D

to 3) I'll test this.

to 4) This would be great. I have to investigate into how to play mp3's from .NET without licensing an API for this.
[Windows Mobile Apps and Games] spikeflu:
Great app

Thanx for this great app!!

Love it :)

But is there a possibility to get rid of the s2u msgbox?

I already uninstalled s2u, but I'm still receive the notification?
[Windows Mobile Apps and Games] lopez1_de:
The messagebox should come once only. I will review the code. Maybe I will delete the s2u thing from code. The next version will be released this week. Check back here or install AppToDate to get it. :)

Upcoming changes preview:

2.4:

* Added MP3 support

* Added greek translation (many thanks to dancer_69)

* Fixed AppToDate problem

* Fixed landscape view

* Changed default elapsed alarm cycles to 20 instead of 5
[Windows Mobile Apps and Games] lopez1_de:
Hi!

Currently I have problems with the mp3 support. I have noticed a delay until the sound is playing. I think this is bad, time is running down -2 seconds until you will hear the elapsed sound. I think the device will need some time to load the compressed mp3 into memory. For a alarm this is not a problem if you woke up two seconds later. But for a timer this isn't a good idea.

I have tried to store the mp3 in memory and then play it, but I'm not able to play a sound synchron from memory. It only supports asynch playing. :(

I'm using aygshell for playback. It's part of WM6.

I will have a look into FMOD.

The upcoming release is STOPPED until I have found a sultion for this. :rolleyes:
[Windows Mobile Apps and Games] Banderdragon:
works the trick mate. Been looking for something like this ever since i stopped using Palm OS, and upgraded to the Omnia. No issues, just wanted to say thanks.
[Windows Mobile Apps and Games] olimo:
Hi lopez1_de! I'd like to translate your app into Russian. How can I do this? touchwatch2.resources.dll looks empty in Restorator.
[Windows Mobile Apps and Games] Lauromniati:
This is very nice application, very practical.

Thank You :)

However, in my Omnia i900 vibration doesn't work... This problem remained even I upgraded to a newer version 2.34...

If I could suggest something, I would try to add an option in settings menu in which user could choose a port responsible for vibrations. In Samsung Omnia vibration port ID is 11 :) Could You please try with that?

I would appreciate your effort in this direction, good luck :)
[Windows Mobile Apps and Games] 1104:
Touchwatch 2 2.34 also for Smartphone (HTC Snap with Ookba's ROM

Looks nice; is it also working on a Smartphone without touchscreen (HTC Snap)?

Thanks!
[Windows Mobile Apps and Games] Fragone:
Hi lopez1_de!

It would be very nice if you could add a clock in this fantastic program! Maybe you could add an option to change the topmost timer to the system clock? There's no app which can do that yet!

Thanks!

Fragone
[Windows Mobile Apps and Games] lopez1_de:
It is designed to work with a d-pad also. :)
[Windows Mobile Apps and Games] lopez1_de:
I will add an registry entry for changing the port in the next version.

Thank you for reporting this problem.
[Windows Mobile Apps and Games] lopez1_de:
Just go to the first post in this thread. At the bottom you will find the english translation. Just send me a PM with yours. Thanks very much.
[Windows Mobile Apps and Games] lopez1_de:
To make things easy for me I will add a clock to last item. Wait for the next version.

EDIT: There is a problem. If I add a clock, I have to update the screen if no timer/stopwatch is running too. This will drain the battery. You will not be able to have TouchWatch in background while no timer is running, without draining the battery a lot. Have to think about this.
[Windows Mobile Apps and Games] A&A:
Just a short note to remind you two small things which would be nice to have in the next version:

1) It would be great if the short vibration upon launching the application could be enabled/disabled (either from Settings or from the registry).

2) When setting (for the first time) a timer, tapping on the down arrow should go: 59 58 57 56 etc. but instead it goes -01 -02 -03 -04. Bug?

Thanks again for this great application which I use very often :)
[Windows Mobile Apps and Games] samplews:
Fantastic app mate, works great on the HD2.

Couple of little points though:

a) Could you put a bigger, finger friendly 'OK' button on the screen to enter a new timer name. Also, maybe make the name easier to tap to begin with? If you give a time an empty name then it's impossible to tap on it to change it!

b) Optional auto resetting timers would be a really great addition.

A good, easy to use timer was the one thing I was still missing from my old Nokia N95 and now I miss it no longer :)

Sam
[Windows Mobile Apps and Games] popoffka:
Here's my Russian(ru-RU) translation:
[Windows Mobile Apps and Games] Fragone:
You could prevent this by add it as an option for the last item. So, only if the item is choosen as a clock it will need refreshs. So by default, there's no battery drain.
[Windows Mobile Apps and Games] gidano:
TouchWatch2 2.34 hungarian translation

Here's my Hungarian(hu-HU) translation:
[Windows Mobile Apps and Games] jukefox:
feature requests

Hello lopez1_de,

first of all I want to thank you for the nice software.

I want to be able to add any number of additional timers. Six timers are not bad but nevertheless I need a bit more. I think of a scroll touch mechanism to access the timers that do not fit on a single screen.

Furthermore it would be great to have lap-support for the stop watch function similar to MyStopwatch.

Last but not least I want to recommend an exort / import function for backup purposes as I do a lot of ROM-upgrades.

Thank you so much for your work.
[Windows Mobile Apps and Games] likandros:
very usefull tool,works great too.thank you very much
[Windows Mobile Apps and Games] andreatozzi:
fantastic app

But, as some other users, i "hate" the vibration when your app starts:o
[Windows Mobile Apps and Games] Oskar_Sch:
TouchWatch v.2.34 und AppToDate

AppToDate shows TouchWatch2 v.2.34 as "Out of Date".

A new installation shows also no effect.

But TouchWatch works wonderful on my Damsung Omnia i900.
[Windows Mobile Apps and Games] Dr.Hadr:
TouchWatch2 Czech (CZ) translation

Ok, here's my contribution :)

It won't be perfect but it will serve well :)

cs-CZ translation

OK - OK
Click - Kliknutí
Elapsed alarm - audio - Zvuk alarmu
Elapsed alarm - vibrate - Vibrovat při alarmu
Elapsed - Zvuk alarmu
Hide - Skrýt
Set alarm volume to maximum - Nastavit hlasitost na maximum
Remove - Vymazat
Click response - audio - Zvuk po kliknutí
Click response - vibrate - Vibrace po kliknutí
Font was installed. Please restart TouchWatch. - Byl nainstalován nový font. Restartujte prosím TouchWatch.
Slide2Unlock was found on your device. This program is known for causing timer problems. TouchWatch is now trying to adjust settings from S2U. - Na vašem zařízení byl nalezen Slide2Unlock. Tento program způsobuje problémy v časovači. TouchWatch se nyní pokusí přizpůsobit nastavení podle S2U.
Settings - Nastavení
Stopwatch - Stopky
Timer - Časovač
Homepage - Domovská stránka
[Windows Mobile Apps and Games] lopez1_de:
Thanks for reporting this. Had the same experience.
[Windows Mobile Apps and Games] lopez1_de:
Thank you very much. Will release a new version with your translation soon.
[Windows Mobile Apps and Games] lopez1_de:
Have fun with the new version 2.4. ;)

I hope that AppToDate is now working well... Can't test it anymore, because AppToDate stopped starting for me. :(
[Windows Mobile Apps and Games] gidano:
Hungarian translate

I made a Hungarian language file, sent it up.

I hope that would be included under the next version, for example. in Czech or Greek translation.

Did you go for? :(
[Windows Mobile Apps and Games] dickbaua:
S2U2 Settings

Touch Watch tells me that it tries to alter S2U2 settings when I start it. Which settings exactly would it change. And would it be possible to make a reale Exit Function. Not just a minimize. Would it be possible to reset the S2U2 settings on Exit of TochWatch2?
[Windows Mobile Apps and Games] A&A:
Hey lopez1_de,

Thanks for the improvements you introduced in TouchWatch 2.4 but MOSTLY a big thanks for having added the option to disable the short vibration upon launching the application!

There is still an unresolved matter: When setting a timer (00:00:00), if I tap on the down arrow the numbers should count down in this way: 59 58 57 56 etc. but instead they count down in this way: -01 -02 -03 -04 (see attached screenshot).

So if you have to set a timer to 55 minutes you have to tap 55 times on the UP arrow INSTEAD of tapping only 5 times on the DOWN arrow!

I really hope that you will fix that bug ;)

Thanks again for this great application which I use very often :D
[Windows Mobile Apps and Games] lopez1_de:
thank-you A&A for your advised. To set the timer to 55s you can add one minute and step 5 seconds down. ;) I know this seams to be strange, but made the coding much easier. And it is possible to have negative counters.
[Windows Mobile Apps and Games] lopez1_de:
It is adding an exception for touchwatch. with this exception s2u don't lock the device while touchwatch is running. No need to remove that after exiting.

You can change the behavior of the X button to close apps. Maybe this is a good solution for you?
[Windows Mobile Apps and Games] lopez1_de:
ups, I missed this. Will add it soon. :)

Thank you!
[Windows Mobile Apps and Games] A&A:
Hey lopez1_de,

Thanks for suggesting this easy workaround ;) now I know that if I need to set a 55 minutes timer I can simply set 1 hour and (with the minutes DOWN arrow) count 5 minutes backwards!

And the negative counters, which indicate (by counting in red digits) when the alarm went off are also very useful indeed!

THANKS again for this great application... It is simply the best stopwatch/countdown timer available!

Happy HOLIDAYS to all the readers of this nice thread :D
[Windows Mobile Apps and Games] crites:
Application installs the digital-7.ttf font on my HTC TouchPro 2 which is in turned used by my Facebook and Google Maps applications. This font is very nice in TouchWatch but really sucks in Facebook and Google Maps. I'm thinking this is more a problem with FB and GM but the result is I'm probably going to have to uninstall TW.
[Windows Mobile Apps and Games] A&A:
Allow me to suggest a workaround which worked perfectly for me (and might be interesting also for other readers):

1) BEFORE uninstalling go to TouchWatch's install dir and copy the entire folder

2) 'Park' it somewhere safe (SD card or on your laptop)

3) Uninstall TouchWatch

4) Now pick up the TouchWatch folder you saved and place it anywhere you want (SD card / Device Program Files... Its original location before you uninstalled it... Anywhere you like)

5) Leave inside the folder ONLY the executable file... Delete ALL other files.

6) Now from the .exe file make a shortcut to Start Menu (so that you will see TouchWatch's icon among the other programs)

7) Launch TouchWatch from your (newly made shortcut) and ENJOY TouchWatch 'Portable' (so without installation... and most importantly WITHOUT the font!).

Let me know if it worked for you too :D
[Windows Mobile Apps and Games] venkatrambs:
works godd to me... had to update the .Net Framework though...
[Windows Mobile Apps and Games] billyJ:
polish translation

OK

Kliknij

Alarm, czas upłynoł - dźwięk

Alarm, czas upłynoł - wibracja

Czas upłynoł

Ukryj

Ustaw dźwięk alarmu na najwyższy

Usuń

Reakcja naciśnięcia - dźwięk

Reakcja naciśnięcia - wibracja

Czcionka zainstalowana. Uruchom ponownie program.

S2U został wykryty. Program ten powoduje problemy w działaniu TouchWatch. Probuję zmienić ustawienia S2U.

Ustawienia

Stoper

Czasomierz

Strona domowa
[Windows Mobile Apps and Games] lopez1_de:
New version is out. Thanks for the contributions.

2.4.2:

* Added polish translation (many thanks to billyJ)

* Added hungarian translation (many thanks to gidano)
[Windows Mobile Apps and Games] RobWu:
Hi,

Not sure if this is a coincidence, but every time I use this, I get bitten by the SMS bug on the HD2.

As long as I don't use this app , SMS is just fine. But like I said, it might be a fluke and nothing to do with this app.

Running the 1.66 WWE Rom, with Cookie's Home tab 1.6 as well. More or less stock rom for the rest of it.

Anybody came across this, or is it just my HD2 acting up? :confused:

I really like this one, but not liking the hard resets ;)

Rob
[Windows Mobile Apps and Games] lopez1_de:
Mh, this is strange. There isn't any code relating to phone functions.

Also I never noticed the SMS bug all the people described in other threads. I'm using 1.48 shipped ROM with all hotfixes installed which are available on htc.com. never had a problem.

EDIT: Which radio rom are you using? Mine is 2.05.51.05_2.
[Windows Mobile Apps and Games] RobWu:
HI,

Like I said, it could be a big coincidence ;-)

The 1.66 WWE ROM is using radio version 2.06.51.07

cheers,

rob
[Windows Mobile Apps and Games] Lauromniati:
Could you please explain how can I do that? Which key, where?

And how can I change language?

No idea :|

Thanks in advance

EDIT:

Ok, never mind, I found the directory ( M_G - Your initials I guess ;) )

All work fine!

By the way - I found mistake in polish translation ;)

in 3 lines the same word:

"

Alarm, czas upłynoł - dźwięk

Alarm, czas upłynoł - wibracja

Czas upłynoł

"

Should be:

"

Alarm, czas upłynął - dźwięk

Alarm, czas upłynął - wibracja

Czas upłynął

"

THX
[Windows Mobile Apps and Games] lopez1_de:
Hi Lauromniati,

sorry for the late reply. But you found the regkey already. :) Yes, M_G are my initials. I have added the registry path to the first post.

Thanks for the language correction. I will add it into the next release.

bye
[Windows Mobile Apps and Games] Ethermind:
May be planning to add background picture for skinning? :)

WVGA
[Windows Mobile Apps and Games] lopez1_de:
Hi Ethermind,

no I don't want to support this. I have to support many different resolutions then. The are now supported on thy fly. If I add background graphic, I have to resize it or add one for every resolution. And this would result in some more battery usage.

But you can change the colors in the registry and change all the other graphics. You will find the registry key for colors here: HKLM\Software\M_G\TouchWatch2\

To change the button graphics, just replace the original files in the program folder.

Hope that helps. :)
[Windows Mobile Apps and Games] lopez1_de:
New version 2.43 is out.

* Fixed polish translation errors.
[Windows Mobile Apps and Games] Ethermind:
Ahaha! : ) ) ) "rushian" sounds very funny : )

ps rus

s

ian )
[Windows Mobile Apps and Games] lopez1_de:
wahhh. sorry for this. :)
[Windows Mobile Apps and Games] Ethermind:
You are right by the way : )

Is the best timer app i ever seen )

something interesting in "To do" list ? :rolleyes:

:)
[Windows Mobile Apps and Games] jukefox:
endless number of timer / stopwatches

Would be a great app if you could define endless number of timer / stopwatches. Moreover this would be a unique feature no one else would have integrated in their watches, I guess.

What do you think of it? It shouldn't be too tricky to realize that.

Then, of course I would make a donation on it:D.

Thanks.
[Windows Mobile Apps and Games] lopez1_de:
Hi jukefox,

I was already thinking about endless number of timer. But what is the advantage of it? Do we really need so much timers?

I learned a lot while coding this app. And what should I say. :rolleyes: If it should have endless number of timer, I have to write the code from scratch. Touchwatch is coded very static in the moment.

I could do the trick by adding multiple pages with six timers each. But a scollable list would be much better I think.
[Windows Mobile Apps and Games] jukefox:
I do "need" some more. Because of your greatful labelling functionality I am thinking of serveral cooking products, dishwasher, egg-timer, washing machine, dryer and other things in household you may want to assign an individual countdown. I definitely do not want to share a specific timer for serveral purposes because of clarity.

Well, if I had time, I would be interested in refactoring your code, but at the moment it is hard for me to help.

If you do not want to write it from the scratch and the solution with a scrollbar would make too much effort then the solution to add an additional page or two would also be sufficient for me.

Btw: Other enhancements would be an individual icon for each timer and sorting the timers after creation. But these two ideas are just some nice to have gimmicks which are really not that important of course!
[Windows Mobile Apps and Games] Ethermind:
Nice idea! Although is not necessary : )
[Windows Mobile Apps and Games] cukierkas:
hello there.

new member at xda, and WinMo, but anyway, your app looks really nice. and works fine, even if power button pressed. i'm using this app and g-watch together.

here is my lithuanian translation. hope u'll add it in future

lt-LT

OK

Click [bakstelėti]

Elapsed alarm - audio [praėjęs laikas - garsu]

Elapsed alarm - vibrate [praėjęs laikas - vibruoti]

Elapsed [praėjęs]

Hide [paslėpti]

Set alarm volume to maximum [nustatyti garsą ant maksimumo]

Remove [pašalinti]

Click response - audio [bakstelėjimo reagavimas - garsas]

Click response - vibrate [bakstelėjimo reagavimas - vibravimas]

Font was installed. Please restart TouchWatch. [Šriftas jau instaliuotas. Prašom perkrauti TouchWatch]

Slide2Unlock was found on your device. This program is known for causing timer problems. TouchWatch is now trying to adjust settings from S2U. [Slide2Unlock yra rastas Jūsų įrenginyje. Ši programa gali sukelti taimeriui problemų. TouchWatch dabar bandys prisitaikyti prie S2U nustatymų]

Settings [Nustatymai]

Stopwatch [Laikmatis]

Timer [Sekundometras]

Homepage [Namų puslapis]

thow, if u having problems with LT letters, like įšųūž, use english ones, like isuuz instead.

thanks in advance ;)

good like
[Windows Mobile Apps and Games] Ethermind:
I think previous idea is very useful.

It is not screen size dependent, and you even don't need add any icons - default release can use only existing icons. Looks pretty I think:
[Windows Mobile Apps and Games] lopez1_de:
Ethermind, jukefox

this is a very nice idea. I don't have any time in the moment. But if I have some, I will add this (and the lithuanian translation).

Please feed me with some free to use images (the one you used are very nice!). :D Size 96x96 and png or ico is perfect.