yashsingh1/xdaforums huggingface dataset:
[Windows Mobile Development and Hacking General] dt_matthews:
just remove/rename the audio file

cheers,

dan
[Windows Mobile Development and Hacking General] jimmijamz:
hi, not too sure if this is working on the samsung omnia i900

Error:

Method not found:

PlaySound

MT.Common.Methods
[Windows Mobile Development and Hacking General] hubert-bangol:
Very nice, works on a LG-KS20 with WM6.1

Here are my wishes:

- option to hide at startup

- option to modify the ring

- option to change the backlight

- flight mode

- today plugin

- installation/upgrade with a cab

- and later, a visual editor, but the xml file is nice

Thanks!
[Windows Mobile Development and Hacking General] dt_matthews:
you have downloaded the version which had an updated ProfileTimer.exe but I overlooked uploading the PT.dll - if you download the current link in the original post that should resolve it.

let me know!

cheers,

dan
[Windows Mobile Development and Hacking General] jonath2809:
Nice tool thanks !

Any possibilities to add Bluetooth On/Off option ?

Thanks
[Windows Mobile Development and Hacking General] dt_matthews:
ill put it on the feature list, although tbh i was hoping i might have had more donations (from the 600+ people who have downloaded I have had ONE donation) so am a bit disheartened with it!

i thought giving, for example, a pound, for a useful app would be reasonable but only one person agrees evidently... :(
[Windows Mobile Development and Hacking General] dt_matthews:
Latest build:

# Includes Volume control (0-5) for both session and the default device settings (via config.xml)

# Audio alarm when switching profiles is now optional, simply remove or rename pt.wav if you dont want to get an audible notification

# Tweaked performance

Cheers,

dan
[Windows Mobile Development and Hacking General] Mr_Gee:
Welcome to the freeware club.. I've had 2000 downloads in total and 0 donations...
[Windows Mobile Development and Hacking General] lastnikita:
it's only been a week :-/

I as an example downloaded that but didn't have time to test it yet.

And I would not donate if it's not useful for me, however I have to download to try.. I agree devs do miss some donations, but your request happens way too early.
[Windows Mobile Development and Hacking General] Phil82de:
Hey!

Great work! Seems to be a great programm after needing some time to understand how it works (what about a small help-txt?). What a pitty that it don't have a invisible&autostart-mode!

Uhm, where can I download the new Version? The rapidshare-links don't work any more?
[Windows Mobile Development and Hacking General] dt_matthews:
updated;

http://rapidshare.com/files/193050164/pt.zip
[Windows Mobile Development and Hacking General] Mr_Gee:
Just noticed something, in the morning I want the phone to be loud,

but the profile does not change until I wake up the device first..

It is probably the same issue as :

http://www.ageye.de/index.php?s=galarm/manual/limitations#AlarmBug

:-/
[Windows Mobile Development and Hacking General] Phil82de:
Thank you verry much for the Link!!

Here are some Bugs I found in 0.1.223.1653:

- It seems that the app needs much batterie power!? The full Battery gone almoust empty over night with onlny Pt running.

- I know its not easy to include a invisible mode - but can't you change the "X" in the statusbar to an "OK" so that the Programm just goes into the background and don't close?

- I set the xml file to set the phone silent at 7.50 but I just changed to silent when I put the Display on and unlocked the keys at 8.26.

<session activate="07:50" deactivate="17:10" vibrate="on" ring="off" volume="0" />

06:58 03.02.09	* Event scheduled*	Created a scheduled event using 'CeRunAppAtTime' to run at 07:50:00

08:26 03.02.09	*Schedule executed*	Performed profile action on timed schedule [vibrate].

08:26 03.02.09	* Event scheduled*	Created a scheduled event using 'CeRunAppAtTime' to run at 17:10:00
[Windows Mobile Development and Hacking General] dt_matthews:
hey Mr_Gee,

the UI will update as per the updatetimerinterval tag in the config but, if the device goes to sleep (very likely) then the UI is not refreshed till the next tick of the timer ocurrs - HOWEVER, the actual ringer profile change is done using a scheduled API call which is unaffected by the power state of the device... let me know but I think this is what you were describing?

(not easy to do much about the UI being 'frozen' when the device sleeps (except preventing sleep and that would kill battery life!)
[Windows Mobile Development and Hacking General] dt_matthews:
hi peeps

just to say I have modified the app to start minimised. i am just doing some testing and hopefully will ***upload it on thursday*** if its working as intended.

cheers,

dan
[Windows Mobile Development and Hacking General] Mr_Gee:
The thing you are describing doesn't seem to work on my phone...

and apparently Phil82de has the same issue :

While the "scheduler.exe" should run it doesn't untill the device is awake

if you are using the notification queue the link i posted earlier could be the solution...
[Windows Mobile Development and Hacking General] dt_matthews:
it runs fine on my (asleep) device every time! I dont use the notification queue as per your previous GAlarm (but thanks for the interesting) link. can you post your config and log file?
[Windows Mobile Development and Hacking General] dt_matthews:
if you send me your config and log files I will try and understand what is happening ;-)
[Windows Mobile Development and Hacking General] dt_matthews:
...the 'X' does not close the app, it merely minimises it to the system tray...
[Windows Mobile Development and Hacking General] dt_matthews:
updated version;

http://rapidshare.com/files/194867145/ProfileTimer.CAB

Including;

# CAB installer - n.b. when prompted, install to DEVICE NOT card

# Minimised on startup (minimises to the system tray after initialisation)

# updated volume handling logic

n.b. the CAB does NOT place a shortcut in your Startup folder as that is potentially quite intrusive if not desired! obviously just create a shortcut manually if you so desire.

cheers, dan
[Windows Mobile Development and Hacking General] dt_matthews:
UI bug fixes;

http://rapidshare.com/files/195121506/ProfileTimer.CAB
[Windows Mobile Development and Hacking General] dt_matthews:
updated (see post 1 for URL)

# added a 'Kill' functionality - gives the ability to terminate an app in XX minutes.

apps are specified in the config.xml

cheers,

dan
[Windows Mobile Development and Hacking General] Mr_Gee:
thanks, ill have another look..

btw you do know you can attch cab files to your posts...right

rapidshare sucks :-)
[Windows Mobile Development and Hacking General] Phil82de:
That depends on the Phone settings... On my phone its closing. =(
[Windows Mobile Development and Hacking General] N!ghty:
app really sounds awesome, i just installed it and noticed what i think everybody means when they talk about the minimizing.

can u program it as a service so that its not shown in the task list? kinda like g-alarm or whatever app that really runs "in the background"

i hate programs i dont "use" (which operate on their own) and show in the task list :(

would be awesome :D
[Windows Mobile Development and Hacking General] dt_matthews:
updated:

http://rapidshare.com/files/196138274/ProfileTimer.CAB

added ability to sleep the device in XX minutes
[Windows Mobile Development and Hacking General] dt_matthews:
I wouldnt want an app running and not shown in task list since i wouldnt know if it was mis-behaving and needed to be killed. the app now runs (starts) minmised.
[Windows Mobile Development and Hacking General] dt_matthews:
hmm. I have a PPC so that might account for it - havent had a smartphone for a while. i thought the last one i had still minimised apps rather than actually cosing them though, is is configurable or have MS changed the behaviour?
[Windows Mobile Development and Hacking General] Phil82de:
Hmm, the htc diamond is my first Windows-Mobile-Device. I don't know if it was different in older versions but in WM 6.1 configurable. I set it to close the Apps with the X so I can't forget them and they can't use to much Memory.

I would prefer ProfileTimer running as a process and not been shown in the taskbar, but thats not so important for me.

Since Yesterday I use Version 0.1.306.1403 (stoped the programm, deleted the old files in the "intern Memory", installed the new Cab to the "phone-memory", copied the old xml-file to the new pt-program-folder and changed the autostart-link).

This morning PT crashed. It should be loud again at 6 in the morning. At 6:45 I got a call and missed it becose the phone was still silent. At 7:05 the alarm clock belled, but stopped after a few seconds. When I unlocked the phone I saw this Error Message:

Source: 2_action_ring- v0

Destination: \Programme\ProfileTimer\1_action_ring-v0

After I pressed OK, PT was not running any more. I started it again at 8:05.

It was the second time such a Message appeared since yesterday. With the older Version (from 02-02-2009, 08:46 PM) I never got anything like this.

I will attach the txt and xml file, so perhaps can you see anything more what happened. (In the xml I deleted the disambiguation id.)
[Windows Mobile Development and Hacking General] dt_matthews:
those messages werent errors they were debug messages which should have been removed after I had done some testing! if you download the latest version this shold not occurr, let me know if you still have any issues

cheers,

dan
[Windows Mobile Development and Hacking General] Phil82de:
Hi Dan,

I think I already have the latest Version running - its 0.1.306.1403 ...could you write the version number next to the link next time? ;-)

I installed it again now, and made a soft-reset. I will tell you if the messages will appear again.
[Windows Mobile Development and Hacking General] Phil82de:
Hey!

I had this messages again - with the newest Version from here: http://rapidshare.com/files/196138274/ProfileTimer.CAB
[Windows Mobile Development and Hacking General] dt_matthews:
new version - 0.1.0309.1752
[Windows Mobile Development and Hacking General] dt_matthews:
hi Phil, let me know how you get on with the new version above

cheers,

dan
[Windows Mobile Development and Hacking General] ZaLiTHkA:
Hey dt_matthews,

Thanks for an awesome app! I love it... First stumbled across it at www.freewarepocketpc.net, but I came looking for more info when I couldn't figure out how to run it. This thread actually has a lot of useful information in it! I'm surprised so many people ask the same questions over and over.... Lol...

Anyway, just to confirm something; I've downloaded the .cab installer for it (version at FreewarePPC only had the .zip version), I ran it from the memory card on my HTC Touch (Elf) without too much trouble. Doesn't look like the scheduler works correctly, but I can run it and change profiles easily.

My question though, is about removing the old one before installing the .cab file. I tried to remove the folder (keeping a backup, of course), and then my phone kept randomly telling me it can't find a file to run... I think it was pointing to the ProfileTimer.exe file. But if I install the .cab version to my device as you recommend, will that be updated automatically....?

PS: I'm quite new to advanced stuff on WM6... Only had this phone for 2 weeks now. I'll never go back though! I love the freedom and power of touch screens.

EDIT: Out of curiosity, can someone give me a basic run-down of what to edit in order to set up the profile changes? If I understand it correctly, it doesn't work if you set the vibrate and sound to '1' (on) as the cancel each other out...? I take 'vibrate' as silent and 'sound' as volume on.. Also, how would this affect the fact that my ring tone is set to "vibrate and ring"? Thanks in advance...
[Windows Mobile Development and Hacking General] Phil82de:
Hey Dan!

Thanks for your fast reply. In the new Version (0.1.0309.1752) I don't get this Messages any more. =)

Really not important, but perhaps it helps you: The disambiguation id have to be written OVER the appsInKillList now to be right identified. And there is a second program-folder called "ProfileTimer by dan matthews" with just PT.dll inside, beside the other normal "ProfileTimer"-folder.
[Windows Mobile Development and Hacking General] ZaLiTHkA:
Another quick question..... Inside the config.xml file, does the "deactivate" time change the profile back to whatever is specified inside the <default> xml tag? That's the way I understand it, but I'm not too familiar with xml..
[Windows Mobile Development and Hacking General] dt_matthews:
cheers for the feedback....

re installing, i only run from the devce (not storage card), but that said, if you have run it ok from the storage card then if you install to the same location again (make sure ProfileTimer isnt running) then it should overwire it ok (it installs to %\Program Files\ProfileTimer).

re the profile setup, the 'ring' setting will always take precedent over the vibrate setting but if you set the vibrate on and ring off volume can still be present in the xml element, it just wont be used.

hth,

dan
[Windows Mobile Development and Hacking General] dt_matthews:
thanks for that Phil, I'll correct the CAB And upload in due course ;-)
[Windows Mobile Development and Hacking General] dt_matthews:
corrected the config loader bug kindly reported by Phil.

version 0.1.0310.2039

Phil, I think the folder with the lone pt.dll can be deleted as it should all install to one directory now and that is just an porphan from a previous build config (maybe just rename it just in case it complains without it)!

cheers,

dan
[Windows Mobile Development and Hacking General] ZaLiTHkA:
I know I'm quoting myself here, and for risk of sounding like a nag, I don't normally... But just to expand on this question, is it possible to get Profile Timer to activate the silent profile at 10pm on one night, and go back to normal the following morning at 6am?

As an example, here is how I have it set up at the moment for the weekdays (I've only included two days as the other three are identical anyway):

<dayProfile day="Monday">
<session activate="00:00" deactivate="06:00" vibrate="on" ring="off" volume="0" />
<session activate="08:00" deactivate="17:00" vibrate="on" ring="off" volume="0" />
<session activate="22:00" deactivate="23:59" vibrate="on" ring="off" volume="0" />
</dayProfile>
<dayProfile day="Tuesday">
<session activate="00:00" deactivate="06:00" vibrate="on" ring="off" volume="0" />
<session activate="08:00" deactivate="17:00" vibrate="on" ring="off" volume="0" />
<session activate="22:00" deactivate="23:59" vibrate="on" ring="off" volume="0" />
</dayProfile>

My only problem with this is the fact that at midnight each night, the screen lights up and it beeps.. I know I can disable the sound notification, but as Dan has mentioned previously, it is nice to know during the day when the profile changes.... Would it work to have a line that contains the 'activate command along with 'vibrate', 'ring' and 'volume', then the following morning have the 'deactivate' command? Keeping in mind that on Sunday night the phone will be set to 'vibrate' only, as with all other days... For example:

<dayProfile day="Monday">
<session deactivate="06:00" vibrate="on" ring="off" volume="0" />
<session activate="08:00" deactivate="17:00" vibrate="on" ring="off" volume="0" />
<session activate="22:00" vibrate="on" ring="off" volume="0" />
</dayProfile>
<dayProfile day="Tuesday">
<session deactivate="06:00" vibrate="on" ring="off" volume="0" />
<session activate="08:00" deactivate="17:00" vibrate="on" ring="off" volume="0" />
<session activate="22:00" vibrate="on" ring="off" volume="0" />
</dayProfile>
[Windows Mobile Development and Hacking General] dt_matthews:
When I get time I'll try and update the logic to handle the session spanning over in to the next day
[Windows Mobile Development and Hacking General] ZaLiTHkA:
You're a legend, thanks very much.. Now I just need to sort out a PayPal account so I can give you a very well deserved donation... Living in South Africa makes it a bit difficult to transfer funds into a PayPal account though, so it may take me a while. It'll come in handy with buying things online too...

One tip to anyone reading this thread: don't move to SA, it sucks here. Lol...
[Windows Mobile Development and Hacking General] dt_matthews:
latest version; (see post #1 for cab)

# added ability to set a session which spans days (i.e. past midnight)

# ui bug fix

# added 'Adhoc Tasks' to Tree - allows selection of task which then prompts for the time (in minutes) to execute task

n.b. I havent had time to test the day-spanning session code yet so please be aware it might not work as intended - i will hopefully get a change to either write some automated testing or just set some tests manually asap! :D

Adhoc task are read from your config.xml - just add/remove them from there as per your requirements!

any q's please feel free...

cheers,

dan
[Windows Mobile Development and Hacking General] ZaLiTHkA:
Thanks for the fast update.. That really was a nice surprise.

Just to check; could you give us a basic idea of how it now span past midnight? You mentioned it may not work 'as intended'; how was it intended to work?

Does it work with regards to the 'deactivate' XML command? Or is it as simple as leaving out the 'deactivate' option to allow it to keep the same profile until the next is 'activated'?

Sorry for all the questions, I'm by nature an overly curious person...
[Windows Mobile Development and Hacking General] dt_matthews:
sorry, documentation always painful ;-)

to 'span' days, simply put in an entry as before but with the deactivate attribute being the time the following day, this one for example activate late on Thursday and will deactivate on Friday when I get up...

e.g:

<dayProfile day="Thursday">

<session activate="07:30" deactivate="12:45" vibrate="on" ring="off" volume="0" />

<session activate="23:00" deactivate="05:40" vibrate="on" ring="off" volume="0" />

</dayProfile>

with regards to working as intended, I mean it might not do what you want as i havent had a chance to test it yet! in other words, feel free to try it but just be aware its not tested as yet as I am still using non-spanning sessions.

hth,

dan
[Windows Mobile Development and Hacking General] dt_matthews:
corrected an installer property error;
[Windows Mobile Development and Hacking General] ZaLiTHkA:
Ah... That's awesome, I'll try that.. Thanks.

And I'll let you know how it goes in a day or two.. :D

EDIT: So far it doesn't look too promising.... I set up the schedule as you suggested, using my own times, as seen here:

<dayProfile day="Monday">
<session activate="08:00" deactivate="17:00" vibrate="on" ring="off" volume="0" />
<session activate="23:00" deactivate="05:40" vibrate="on" ring="off" volume="0" />
</dayProfile>

When inside PT, the two schedules for each day show the times that the profile will run for: first schedule for Monday shows 540 mins, second schedule for Monday shows -1040 mins.....? When I tried something like this previously, the negative timed schedules didn't activate. But, as I said, I'll leave it til tomorrow morning and see what it does.
[Windows Mobile Development and Hacking General] ZaLiTHkA:
Looks like it doesn't want to activate the profile if the start time is later than the end time. No big train smash really, I use it mainly for putting my phone on silent while I'm at work; and for that it works like an absolute dream. While having a profile stay past midnight would be handy, I'm sure I can live without it.. :D

Just as a thought though: if you're looking for a way to do this, what about setting schedules to only 'activate' a profile? Instead of setting a start and end time, simply set at what time the phone changes to one particular profile? Or would that involve re-writing most of the code....? I'm not a programmer in any way, shape or form (though I do drink a lot of coffee....), so I'm not sure about that.
[Windows Mobile Development and Hacking General] lello73:
Span days

For me it has not worked. This profile has been activated, but then in the morning not disabled.

<dayProfile day="Monday">

<session activate="22:00" deactivate="06:00" vibrate="on" ring="off" volume="0" />

</dayProfile>

Now I try it as follows:

<dayProfile day="Monday">

<session activate="00:00" deactivate="06:00" vibrate="on" ring="off" volume="0" />

<session activate="22:00" deactivate="23:59" vibrate="on" ring="off" volume="0" />

</dayProfile>

<dayProfile day="Tuesday">

<session activate="00:00" deactivate="06:00" vibrate="on" ring="off" volume="0" />

<session activate="22:00" deactivate="23:59" vibrate="on" ring="off" volume="0" />

I will report tomorrow.
[Windows Mobile Development and Hacking General] dt_matthews:
new version - 0.1.0317.2009

corrected a day-spanning bug (well, tested it for the first time!)

minor ui update

any issue pls report

cheers,

dan
[Windows Mobile Development and Hacking General] TheMorpheus:
I have uploaded to the last version but it still doesn't work to me!!

This is the config file:

</dayProfile>

<dayProfile day="Wednesday">

<session activate="22:10" deactivate="22:12" vibrate="on" ring="off" volume="0" />

</dayProfile>

It goes to vibrate but it doesn't come back to normal!!
[Windows Mobile Development and Hacking General] dt_matthews:
i just tried that scenario and it worked as expected, can you attach your config file to check?
[Windows Mobile Development and Hacking General] ZaLiTHkA:
Well, good news so far! Just installed it now... With the same config file that was showing a negative profile run time from 11pm to 6am, and the run time in brackets is 420 mins (instead of the -1040). Looks promising.. :D
[Windows Mobile Development and Hacking General] dt_matthews:
hmm, i managed to recreate this later last night - I will have a look at this tonight to find the culprit! ;-) thanks for your feedback

dan
[Windows Mobile Development and Hacking General] TheMorpheus:
Here the config file! Thanks
[Windows Mobile Development and Hacking General] dt_matthews:
new version;

bug fix

moved UI elements around for easier thumb navigation (for touchscreen users that is!)
[Windows Mobile Development and Hacking General] ZaLiTHkA:
You are a true visionary.... :D I honestly can't even remember when last I used the stylus pen on my Touch... :eek: Wait, is it still.... Oh, it's still there. Good.
[Windows Mobile Development and Hacking General] dt_matthews:
update version;

cleaned up UI

added task UI input form

cheers,

dan
[Windows Mobile Development and Hacking General] lello73:
Spanning Days

Still the same problem: My profile will be activated in the evening, but the morning is not deactivated. The annex my config file. Thanks for your help...
[Windows Mobile Development and Hacking General] ZaLiTHkA:
Hey Lello73... That is very strange, I've got mine set to activate silent at 22:00, deactivate at 06:00 and it works perfectly. Only difference I can see is that I have profiles during the day as well... Maybe try add one of an hour or so during the day to go on silent and see if that works?
[Windows Mobile Development and Hacking General] lello73:
Sorry, I should clarify. It works, just that the profile change after a call incomming or i turn on the display. Probably the problem is that the device is in sleep mode and only when I use the device, it can change the profile. But so i will always miss the first call or message. :(
[Windows Mobile Development and Hacking General] ZaLiTHkA:
I think I've noticed that from time to time on my Elf (HTC Touch), for me it's not all the time though, very erratic.. When I say very erratic, I mean it probably happens once or twice every couple of days.

I didn't think it was something worth complaining about, but: thinking more about this now, quite often when my alarm goes off in the morning, I hear the typical sound from PT of the profile change. (PT set to 06:00, alarm set to 06:30). It's never caused a problem though, and it's only with the overnight profiles that I've noticed it so far.

Dan..? Being your program, you got any ideas on this one?