yashsingh1/xdaforums huggingface dataset:
[Windows Mobile Apps and Games] android52:
Error When Setting AutoSwitch Time

rlmouse,

Thanks for trying to incorporate some of our suggestions, I've been playing a bit with v1.3 and I'm not quite sure how all the new functions work.

I've been doing some testing on my Omnia II (Bell Canada stock ROM with SPB Shell, Vostradamus WM, etc.) and have been having trouble.

I tried setting the auto-switch time and it doesn't seem to be taking effect. The time passes without the profile switching. I've been inside other programs or the screen has been off on most occasions but also tried just having the system "on and idle" and it still didn't switch. The sound settings stay on vibrate, even though I've set the time for my "loud" profile and have ensured that "Activate 'switch on time'" is on.

I've also gotten errors a couple of times, once I was trying another test of the auto-switch and was going to set the time, I was using the scrolling hour and minute wheels, switch between them rapidly and the program crashed - the error message said:

"An unexpected error has occurred in Profile Switch.exe. Select Quit and then restart this program, or select Details for more information.

An error message is available for this exception but cannot be displayed because these messages are optional and are not currently installed on this device. Please install 'NETCFv35.Messages.EN.wm.cab; for ..."

I know I've installed .Net CF 3.5, is there another CAB I should be installing just for error messages?

The detailed error was "ArgumentOutofRangeException" then another repeat of needing the messages cab.

Then "at System.DateTime.TimeToTicks(Int32 hour, Int32 minute, Int32 second) at System.Date.Time..ctor(Int32 year, Int32 month, Int32 day, Int32 hour, Int32 minute, Int32 second) at StedySoft.SenseSDK.Time.To24HrFormat String() ...

Hopefully that's enough to give you an idea.

Another error (I didn't capture) seems to have happened when I clicked in the profile page on "Phone" and while procesing I also clicked on "settings". The above error may have happened when the system was processing an hour update and I clicked on minutes (or vice versa) as I was rapidly switching between the two input wheels.

I'm trying to understand how you implemented the "do not switch networks" setting. I was hoping that I this would be on each profile so that I could have a "turn connections off" profile (which doesn't modify any settings except turning off the connections, and the I could freely select my "vibrate", "loud", "airplane" settings (and set them to not alter connections) without having them turn the connections back on if off, or off if on. As the setting is in the "general settings" it makes me think that Profile Switch is either set to allow changing connections or not - not by profile. Am I wrong? Is the "Close Data" program to turn off connections? In any case, I've set the "do not switch networks" to on, have a "connections off" profile which turns them off, but the behaviour (with limited testing) has been hard to figure out.

A quick test of the "backup" functions seems to work great.

Sorry for the long winded message. Hope it made sense.
[Windows Mobile Apps and Games] rlmouse:
NETCFv35.Messages.EN.wm.cab is an option of .Net CF. If you install this (separatly) you will get more information if an error occurs.

I can't reproduce that. On my device it's running perfectly. I will change for the next version the routine that stores these informations in the windows notification queue. Could possibly be a problem with the different regional settings.

Ok, that is fixed for 1.4. The other buttens must be disabled for switching time. (Too quickly fingers:))

I switch between them rapidly and the program don't crashed???

On some devices there are more entrys in the registry as needed for data connections. The application reads all. It gives you a chance to ignore these entrys while editing profiles.
[Windows Mobile Apps and Games] Neo84:
great program.

but is there way to store the sim-pin somewhere in the config so that a reactivation after scheduled flightmode does not ask for a manual pin input?
[Windows Mobile Apps and Games] rlmouse:
Sorry, currently not. (exept you generell turn off this function)
[Windows Mobile Apps and Games] rlmouse:
Version 1.4.0.0 is online

Change log:

1.4.0.0

[+] Auto switch to a profile once in a given timespan.

[+] Settings to get (or not) informations, if autoswitch failed.

[-] Mistakes in the English language file (sorry for my bad English).

[-] One Mistake in the German language file (sorry for my bad Ger....).

[-] ArgumentOutofRangeException error while setting times for autoswitch (I hope so).

[-] Error while clicked on "settings" while application is switching a profile.

[-+] Another function to store startup informations to the windows notification queue (Some users had problems with this, I hope it's now working).
[Windows Mobile Apps and Games] Cyclu:
+1 For this option please, exist in program "CT Scheduler" unfortunate is not freeware.

Sorry for my english.
[Windows Mobile Apps and Games] android52:
v1.4 Testing

Hi Again,

Anxiously installed v1.4 and noticed a couple of things in testing it out.

Thanks again for writing this little app - it's great!

The "auto switch" still isn't working, and the "switch once" option doesn't work either. But from the "switch once" settings I think I might know why.

When I select "1 minute from now" the time was set to April 9, 2010 at xx:xx rather than September 4, 2010 at xx:xx. Seems like (perhaps due to regional settings) the month (Sept = 9 and April = 4) and day are being reversed (at least for me).

Love the addition of the "switch once" option by the way.

The "other errors" I had I can't reproduce now, so hopefully they are fixed.

For the connection settings, I understand what you did now. You set it so that you can complete disable changing the connections. So if roaming, one would go in and turn them off manually and then turn them back on when done.

My original thought/suggestion was that I wanted to use a profile to toggle between on/off (one for each) and that the other profiles wouldn't reset them. I guess that's not really beneficial for most people, and since I don't really roam all that often isn't really important.

On the "english" side - in the Profile switch once, you might want to change the text from "No time choosed" to either "No time selected" or "No time chosen". This isn't a complaint btw, your english is WAY better than my German.

Cheers.
[Windows Mobile Apps and Games] rlmouse:
Ok, a very usefull information, thank you very much. Let me have a look ...

Changed for the next version.
[Windows Mobile Apps and Games] rlmouse:
Can you please test this attached files (unzip > program folder)?

But unfortunately now I can only answer this coming Monday.
[Windows Mobile Apps and Games] android52:
Thanks for looking into it so quick, hope you're away from the computer for something good.

Good and bad news...

Good - The new .exe sets the date/time correct in the "switch once" option (i.e. September 4 instead of April 9), but unfortunately the profile still doesn't seem to update.

Also, I did manage to replicate the other error (argument out of range) with setting the time in switch-on-time.

When I have the double wheels (hour/minute) open, scroll the hours past 23 far enough, and before it "corrects itself and brings the 23 back) if I then start moving the minutes the error occurs.

Hope that makes sense...
[Windows Mobile Apps and Games] silence_dogood:
No that's not what I mean. I already have the "roaming only" option, but I want to be able tweak network settings between profiles using your program. So one profile may be for no roaming with wifi off. Another profile may be set up for roaming only with wifi on. These are just examples.

For your program, I simply would like to be able to set specific phone settings when setting up a new profile.

Thanks for your work.
[Windows Mobile Apps and Games] HTCore:
Error

I've got error when I'm trying to open it. How could I send the error log from my phone to here. And also I have Phone weaver installed on my phone, is there any conflict between them?

EDIT: It worked with "Test.zip". It's amazing. I like it, simple design and almost everything I want. Thanks.
[Windows Mobile Apps and Games] rlmouse:
Version 1.4.1.0 is online

Change Log:

1.4.1.0

[+] Now you can force a logfile in settings. It will create a file named 'ProfileLog.txt' in your program folder. If this version don't change the profile, please use this new function and send this created file as attachment here in this forum (there are no private information), included your information of the exact date and time you do this and what time you set. This failure must surely be found, thank you.

[-] It seems that other regional settings have any affect to the notification queue. Just changed some format settings in the program.
[Windows Mobile Apps and Games] mvkirichenko:
Great program! Thank you, my dear, I beg to add some support for the event from the calendar! Sincerely yours mvkirichenko!
[Windows Mobile Apps and Games] android52:
Error Logs

rlmouse,

Here are some logs note that my "starting" state was always my "vibrate" profile.

ProfileLog1 - I turned off "autoswitch" and set the "Switch Once" to 1 minute (set at 9:01 local time to switch to Loud. Switch Once showed 9:02 as time to switch, waited until 9:03 no switch. The log shows 10:00 pm is set to switch which was the time I had for "loud" to auto-switch.

ProfileLog2 - "autoswitch" is off, at 9:09 set a 2 minute delay to switch to Vibrate - switch once showed 9:12 waited until 9:13 nothing happened. Log still looks like it's trying to set to the next "autoswitch" time.

ProfileLog3 - "autoswitch" is off, at 9:15 I set the "autoswitch" time of my "loud" profile to 9:20. Waited until 9:21 and nothing changed - though I thought I saw the window dots circle like the system was thinking, and "autoswitch" was set to off so wouldn't have expected a switch. I even called myself this time to make sure.

ProfileLog4 - "autoswitch" turned on at 9:25, set switch time of 9:28 for "loud". This time the autoswitch worked properly. Then went back in at 9:32 set "switch once" to 9:35 to go back to vibrate. Waited to 9:36 and the "windows circles" didn't show up and no change in profile.

It appears that if there is a "autoswitch" setting applied it overwrites the "switch once" setting.

ProfileLog5 - "reset" all (only vibrate and loud were set) "autoswitch" times to 00:00. Managed to get an error (NullException) while doing this (twice) if I tried to go into profiles to check and "back" and into the next too quickly. And another (twice) when I was working with the "switch once" settings, (second time was an OutOfMemory error) after setting a 2 minute delay and then trying to change the profile. I then powered off and back on the phone. At 9:49 went back in and set a 2 minute delay to switch to silent - shows 9:52 as time to switch. Waited long past 9:53 and nothing happened.

If you want any more tests or logs let me know. I've also included my "backup" of settings if you want to look through them. This was after resetting all times to 00:00.

Cheers.
[Windows Mobile Apps and Games] rlmouse:
Thank you for your efforts.

No, it trys to get the first next event. I think that problem is somewhere in the comparison of the times, as it runs even on a German system. Please try this version of "ProfileCheck", thanks.
[Windows Mobile Apps and Games] android52:
Here's some more testing around 21:00 starting with phone in "vibrate"

ProfileLog1

1 - Installed new ProfileCheck.exe

2 - Activated "switch on time"

3 - Set 6:30 switch to "vibrate"

4 - Set 21:00 switch to "loud"

5 - Set 2 minute delay to switch once to "silent" at 21:04

Waited for 21:05 and no switch occurred

ProfileLog2

1 - Updated "switch on time" for "loud" to 20:10

Realized from reviewing the log I set time to 20:10 when I meant 21:10 so opened another session to reset time to 21:15

ProfileLog3

1- Set "switch on time" for "loud" to 21:15

A little before the clock changed to 21:15 the "windows circles" starting spinning, then ProfileSwitch opened briefly and the profile updated to "loud".

ProfileLog4

Looks like what was in ProfileLog3 (didn't delete it) and the program running to do the 21:15 update.

ProfileLog5

1 - Set "Profile Switch Once" to a 2 minute delay (set to 21:20 ) and to switch from "loud" to "vibrate"

Waited until 21:21 and no switch.

So "Profile Switch Once" still seems to have problems, but the "Switch on time" seems to be working.

It still seems like if there is a "Switch on time" set, that is overriding the "Profile Switch Once" settings.

Cheers.
[Windows Mobile Apps and Games] mvkirichenko:
Good afternoon. Create one House (profile 1) and Work (Profile 2) vary in start time and days of the week. When you try to change the profile to Work profile includes House
[Windows Mobile Apps and Games] mvkirichenko:
I noticed nuance. If the connection settings in the profiles are identical (and all the other settings sound different time, etc.) simply selects the profile order. Ie If the profile 1 and profile 2 differ only in setting up the sound or the time it will select the profile 1.
[Windows Mobile Apps and Games] mvkirichenko:
And please, you can add to the list of sound settings for the profiles of two items: Ring and Automatic.

If you call your phone starts to ring without vibration, and if the sound is automatically adjusted based on subsistent events from the calendar. This is a full-time position of the sound settings in any phone.

And thank you very much for your program!
[Windows Mobile Apps and Games] rlmouse:
Just back from holiday let me check this new version of sdk.
[Windows Mobile Apps and Games] rlmouse:
1. The custom vibrate stops if you reject or answer the incomming call.

2. Just try to increase the number of retries.
[Windows Mobile Apps and Games] rlmouse:
If you disable 'switch on time' until 2011/03/26, there will be no autoswitch before 2011/03/26. Just set this to the current date and the time to '00:00'.
[Windows Mobile Apps and Games] rlmouse:
New version 1.14.5.0 is online

Change Log:

1.14.5.0

[+]Now using the new Sense Interface SDK v1.50.

[-]After a soft reset and also using the custom vibrate settings the program to watch incomming calls etc. was not restarted.

[-]Using the custom vibrate settings for calls and a profile is used to set the sound profile to 'ring and vibrate' this profile was not correctly detected on the startpage.
[Windows Mobile Apps and Games] Albator V:
Litle crash with the last version.

I reboot my phone, i have new mail so vibrate and crash...
[Windows Mobile Apps and Games] rlmouse:
New version 1.14.6.0 is online

Change Log:

1.14.6.0

[-]After a soft reset and also using the custom vibrate settings the program to watch incomming calls can crash.
[Windows Mobile Apps and Games] MajorX:
Im not able to make it work

Hi,

first thanks for this nice app.

I only want to have 2 profiles. 1. for the night (turn sound off) 2. for the day (turn sound on). The profile for the night should automaticly switch at 11pm und the profile for day at 7am. Perhapst i think to difficult but i´m not able to make it work.

Is someone there who can help me?

Thanks,

MajorX
[Windows Mobile Apps and Games] rlmouse:
1. Goto "settings"

2. Goto "Edit Profile"

3. Edit your profile "Day"

4. Goto "Autorun at time 1"

5. Use "Set all days" for the time you want

6. Back to your profile "Day"

7. Turn everything else to "Do not change" or "Ignore" except "Sound"

8. Set "Sound" as you like for the day.

9. Back to "Edit profile"

10. Edit your profile "Night"

11. Same as 4-9, but for "Night"

12. Back to "settings"

13. Turn on "Activate 'switch on time'"

14. Be sure, that the date "Disable 'switch on time' until" is set to the current day and the time is "00:00"

That must have been all.
[Windows Mobile Apps and Games] gtdRR:
Sorry I guess I should have been more clear but either way thanks for your response.

1. I don't want to reject a call but just mute the ringer and vibration. If I reject then the person who is calling me will know I rejected them. This is actually not a big deal just wondering.

2. If I am in the middle of a call and receive a text message the custom vibrate still goes off. I was wondering if it was possible to not have the custom vibrates for emails and text go off during a call.
[Windows Mobile Apps and Games] Albator V:
rlmouse, it will be interresting to have "timer" in profil.

So at 10, profil night starts and switch back after x hours (back to prev profil or can choose profil)
[Windows Mobile Apps and Games] rlmouse:
Currently I try to add vib functions for appointments and tasks. In this step I also add two buttons for 'do not vib during call' and 'remember me when call is finished'.
[Windows Mobile Apps and Games] rlmouse:
It is built-in. Just go to 'edit profile' - 'profile xyz' - 'switch back to profile'.
[Windows Mobile Apps and Games] Albator V:
Oups sorry lol
[Windows Mobile Apps and Games] poplite:
Error

Hi rlmouse, thanks for your fantastic app.

In my TP2 italian stock rom, the "Switch back to current settings" function, don't works: after the requested timespan, the temporary profile remain active. After this, when I try to activate manually a profile, I obtain the following error:

Profile Switch.exe

IndexOutOfRangeException

in ProfileSwitch.Verbindungen.ProfileClick(ISenseListItem Sender)

in ProfileSwitch.Verbindungen._Lambda$__5(Object a0)

in StedySoft.SenseSDK.SensePanelItem._notifyClick()

in StedySoft.SenseSDK.SensePanelItem.OnMouseUp(Int32 x, Int32 y)

in StedySoft.SenseSDK.SenseListControl.OnMouseUp(MouseEventArgs e)

in System.Windows.Forms.Control.WnProc(WM wm, Int32 wParam, Int32 lParam)

in System.Windows.Forms.Control._InternalWnProc(WM wm, Int32 wParam, Int32 lParam)

in Microsoft.AGL.Forms.EVL.EnterMainLoop(IntPtr hwnMain)

in System.Windows.Forms.Application.Run(Form fm)

in ProfileSwitch.Verbindungen.Main(String[] args)

Where is the error?
[Windows Mobile Apps and Games] nvx2004:
Profiles are not switched when device is suspended

Hey there,

First of all I'd like to thank rlmouse for this great app. However, the auto-switch feature does not always work. I am not sure about the exact terminology, but:

when the display is on, auto-switch works;

when the display is off for less than ca. 30 minutes (sleep?), auto-switch also works; but

when the phone is left with display turned off for more than ca. 30 minutes (suspend?), auto-switch does not work.

Is this normal or should I enable/disable something in the app's settings to get profiles switched also when the phone is suspended?

A bit of info just for completeness' sake:

Device: HTC Touch Diamond2 w/ official ROM (WM6.5Pro)

PS profiles: 2 (time-based switching only); both almost the same with the exception of sound settings (one with sound on, the other with sound off, everything else is set to 'Do not switch'; events and calendar categories are ignored)

Auto-switch enabled, profiles set to be switched at 6 AM (-> sound on) and 11 PM (-> sound off)

Thanks for any help.

nvx
[Windows Mobile Apps and Games] rlmouse:
Was Profile Switch running in memory while the profile are changing?
[Windows Mobile Apps and Games] rlmouse:
The suspend or idle mode is automaticly repealed by events from the notification queue. Please enable the logfile in settings and look to the ProfileLog.txt what happens if you can reproduce this malfunction.
[Windows Mobile Apps and Games] nvx2004:
Thanks for such a prompt response. I'll try it as soon as possible (probably tomorrow or during the weekend) and post the results here.

Best regards,

nvx
[Windows Mobile Apps and Games] tzaq93:
Hi,

This app is a great ideea, but sadly it doesn't work..

The "Switch Once" option works but it is not handy. For example i want to have my Resco Pocket Radio alarm to ring at 6:20. So i need to set Profile Switch to enable wifi at 6:17 but it is very odd. i have to calculate how many hours/mins are from the time i set it, to the time it should make the switch (6:17)

It would be great if the Autorun option would actually work :( But it doesn't.

Even if i set the autorun to be today, after 2 minutes, and my phone screen is on (backlight setted to turn off after 5 mins) it won't turn on wifi or put my phone on silent.

Is it posible that this happens because i click the "close" button after making settings? But the "switch once" option works as advised even if i click "close" and lock my phone.. :confused:

Phone model: Toshiba TG01

OS: WM 6.5.5
[Windows Mobile Apps and Games] rlmouse:
I can add a second input here to use a date and time.

You must use the "back" and "close" softkey in the program. If you close it from outside, your settings will not be saved in this case!
[Windows Mobile Apps and Games] poplite:
I think no.

Try to describe the operations:

1. having auto swith activated, I open the program

2. select the Switch back to current settings function

3. select 3 min (or more, is the same) for timespan and a profile (different from the current)

4. control if the Profile switch is in the list of active process or active apps and no I don't see it

5. after the 3 min the profile selected at the point 3. is still active

6. reopen the program for select another profile and the program crash

7. I do to perform cleanRAM for restore the normality

For the rest, all is ok.

Thanks
[Windows Mobile Apps and Games] tzaq93:
Yes, i am using the "close" key at the bottom of the screen. The settings are saved. When i open the program, the settings are just as i left them.

It seems that the switch once function, which is working great, is switching the profiles using a different command than autorun.

But maybe i should do more than selecting the days/hours for the autorun to work??
[Windows Mobile Apps and Games] rlmouse:
http://xdaforums.com/showpost.php?p=12141242&postcount=571
[Windows Mobile Apps and Games] rlmouse:
Oops. There is something lost. I must check this for the next update.
[Windows Mobile Apps and Games] mike2nl:
Hi rlmouse,

i see you are allways busy and i am back the 4th time to your thread to see what's going on. And the thread is up allways. That's very good.

One question:

i have read the first post so good as i can :p.

Is there the possibillity to change the ringtone?

I have not read it, or i am blind.

Please give an old man some light ;).
[Windows Mobile Apps and Games] rlmouse:
Here is a little bit light for the old man: You are (currently) not blind, you cannot read it, because this is currently not possible. It is also somewhat problematic, because that in the profile selected and stored file can be deleted. What shall we to do in this case?
[Windows Mobile Apps and Games] nvx2004:
I did a bit of testing and, strangely enough, auto-switching seems to work just fine now. :confused: Since I normally do not need the events to be logged, I switched the logging off again.

Anyway, I guess something might had been wrong with Windows on my phone back then when auto-switching did not work, because at that time I was using TProfiler to switch profiles and this app failed to do its job several times in a row. That's why I started using rlmouse's app. Nevertheless, I have not either switched my phone off and back on or soft reset it since ca. two or three days before auto-switching stopped working and now it all works again. What can be causing this?

From what I've read so far the switching is backed up by Windows notification queue so that the app does not have to be running in the background. Is there anything that might prevent queue events from being processed?

nvx
[Windows Mobile Apps and Games] rlmouse:
Sorry, but nothing that I know.
[Windows Mobile Apps and Games] rlmouse:
New version 1.15.0.0 is online

Change Log:

1.15.0.0

[+]Added an option to use also vibrate settings for the reminder (appointments and tasks).

[+]Vibrate functions during calls now can set separately.

[+]Added a function to choose date and time for 'Switch profile once'.

[-]Function 'switch back to current profile' can crash.