yashsingh1/xdaforums huggingface dataset:
[Windows Mobile Apps and Games] danielherrero:
Hi.

Which one was the profile activated/locked before enter on car profile? or maybe was unknown?.

I can send you a debug version, with other cab (the logger cab). In debug mode CMP (and other programs) send asynchrously events log the this program. In this program you can see the log files and export them a file...

Dani
[Windows Mobile Apps and Games] danielherrero:
Thanks HimaTech.

I ve tried the situation several times with a TyTn II (newest coocked rom) but I couldnt repeat the issue. Please contact me if It happens again and you know how to repeat it.

Dani
[Windows Mobile Apps and Games] short/y:
Active profile is usually one of the Home profiles, depending on which day it is. It happened again on Monday morning this week so the Monday morning profile was active.

If you think it'll help, I'm happy to install them. Do they uninstall cleanly and not leave anything around in the registry or on the device?
[Windows Mobile Apps and Games] danielherrero:
Well,before of trying the debug version (Its a bit complicated to use the logger app) I will create a new version that will log to the "Events log page" more info about the BT operation. When the operation doesnt work do you see the message "BT manager will try to set....."?
[Windows Mobile Apps and Games] short/y:
The only messages I see in the log are the ones I posted earlier:

06:45:10 Changing Bluetooth manager to Off state

06:45:10 Changing Speaker Manager to On state

06:45:10 Executing end actions for Car-Default(5)

06:45:10 Changing Phone Manager to On state

06:45:10 Changing Speaker Manager to On state

06:45:10 Executing begin actions for Home-Weekday(2)

06:45:09 Executing end actions for Home-Weekday(2)

The last message before 06:45:09 was at around 04:05 when my morning profile turns the phone's radio back on.
[Windows Mobile Apps and Games] himatech:
Some issues and proposed enhacements

Dear Daniel,

Well, I've collected some of the issues that I faced in your brilliant application.

As a reminder, my device is HTC tytn II.

The clock of the HTC Home Plugin stops responding. I can't catch when exactly does it stop responding but I think when I keep the mobile's screen off for a long time >4h.

The alarm clock doesn't start if I leave the mobile for more than 4h. I have to reset the device.

The profile's exit actions doesn't get executed.

As far as I understood from the documentation that if the profile Changes to unknown then the feature that was last set returns back to its last state before entering the profile. This doesn't happen. When I enter in a profile where the Wifi should go on, it doesn't go off when I'm in an unknown profile.

The overall performance of the mobile became very slow since I installed CommMgrPro.

I receive some notification errors like can not execute ../../../*.exe (example: /program files/CommMgrPro/commmgrpro.exe). Note: This is just an example it can popup this notification for other programs. Also if I try to press ok it keeps popping up.

Your application is really great but I think it needs a lot of enhancements.

Allow me to propose changing the following:

In the option window, there are three tabs with the name Option. Why don't you call the first tab "Places", the second tab "option", and the third tab "Advanced" for example.

When you press Menu --> Option. Why don't you call this item "configure" instead of Option.

I will keep checking the application and will let you know whenever I have other comments or issues.

Good luck and kind regards,

HimaTech
[Windows Mobile Apps and Games] danielherrero:
Hi himatech.

Thanks for your comments. First of all let me tell you that I think there was a problem in the installation or there is some program fighting against CMP because.

1) I aswered by email. All my devices are htc ones with htc plugin and I ve never seen that issue and this issue has never been reported.

2) Alarm clock is used by me and many other (test and no test users) and no problems

3) Exit actions are very important and I can ensure you It has been tested in many devices/users and during more than one year.

4) You didnt understand correctly "unknown" profile. When you enter in this profile simple are executed the scheduled actions for this profile but old actions arent restored (that feature is being developed right now :D)

5) Performance of the device has been tested with spb benchmark with and without CMP installed in many devices (from universal to kaiser) and the results are almost the same. In fact all the CMP's threads are stoped until you change the cell or something like this.

6)Messages like "can not execute ../../../*.ex" are a tipical result when something is wrong (wrong installed or some interaction with other program or a problem with the language.

7) Totally agree with you in english texts. There are a english.xml file with all the english files. I take all the suggestions and send them to the people that translate CMP to other languages.

Of course, I am not telling you that you dont have those issues. I am telling that your installation has any problem. Like I told you before, may corrupt install? maybe other program?, maybe the rom?. I will try to discover it with you.

ps. Which CMP version are you using?, device and rom?

Dani
[Windows Mobile Apps and Games] danielherrero:
Hi. But I cant see the message "executing begin actions for car default"..and how the car profile was activated? (by cell or callendar event).btw, I ve solved a bug on calendar appointments profile: When a calendar profile begins then current one ended, calendar profile begins, calendar profile ends, current one begins, ends and finally calendar profile begins. It was executed on one second so you didnt notice it except if you see the log. There days I ve been very occuped with other projects but tomorrow I will upload the fix and I will continue developing the "restore state" action....

Dani
[Windows Mobile Apps and Games] short/y:
That was what confused me, too, Dani. I think, somehow, CMP got confused, executed end actions for Home-Weekday(2) and then executed begin actions for Home-Weekday(2), thinking it was Car-Default(5). For some reason, after executing begin actions for Home-Weekday(2), it executes end actions for Car-Default(5).
[Windows Mobile Apps and Games] danielherrero:
Hi Tony.

There must be some detail we are missing. First of all. Please tell me how the car profile is triggered (by cell or by calendar appointment or....)

I ve loaded you database in my test Kaiser and I ve added my work cells to your "Home" profile.

I ve craated a calendar appointment called 'commute' that will be triggered at 09:15. Now Its 09:08

At 09:15 the end actions for home profile were executed correctly as well as being actions for car profile

I ve uploaded V2.01b because this is the one I use currectly and It fixes the "duplicate executions in appointments profiles" bug. Maybe you should install it to discard version problems. And renember my question :D : How should be triggered car profile? by appointment(like I did)? or by cell?

DAni

pd: This is the log file of the test (with your database and your profiles)

2008-06-26 09:00:15 INFO. Changing Phone Manager to On state. The element Phone Manager will try to change Its status to On.
2008-06-26 09:15:03 INFO. Executing end actions for Home-Weekday(2). Executing end actions for place Home and schedule Weekday(2).
2008-06-26 09:15:04 INFO. Executing begin actions for Car-Default(5). Executing begin actions for place Car and schedule Default(5).
2008-06-26 09:15:04 INFO. Changing Speaker Manager to On state. The element Speaker Manager will try to change Its status to On.
2008-06-26 09:15:04 INFO. Changing Bluetooth Manager to Connectable state. The element Bluetooth Manager will try to change Its status to Connectable.
2008-06-26 09:15:04 INFO. Changing Phone Manager to On state. The element Phone Manager will try to change Its status to On.
2008-06-26 09:15:05 DEBUG. Bluetooth Manager changed to Connectable. The element Bluetooth Manager changed its status from Discoverable to Connectable.
[Windows Mobile Apps and Games] short/y:
I've downloaded the beta and will install and test with it as soon as I can, Dani. I think I've got a screenshot utility so if this version fails, I'll take a shot of my event log, and post it.

When it fails, the Car profile is triggered by calendar appointment. I maually trigger it at other times and it always works correctly, turning on Bluetooth as it should. Failures only occur when it's triggered by calendar.

EDIT: The problem's gone with your new beta, Dani! At 08:10, I created an appointment that started at 08:25 and put commute in its title. When 08:25 arrived, CMP changed the profile to Car and turned on Bluetooth, just as it should. We'll see how it behaves tomorrow morning when it encounters my regular commute calendar entry :) You da man, Dani!

A question: Let's say I start a meeting and CMP isn't running. When I start CMP shouldn't it look to see if any calendar entry is "active" and execute the appropriate begin/end actions if there's a match?
[Windows Mobile Apps and Games] kssxs:
Contact list missing - caused by CMP!

Hey Dani...

I've been using the last v1.x and have now upgraded to v2.0 on my TyTN. I don't know what started causing this, but it's happened in the last week or so. Whenever CMP is running, my contact list shows empty. It took me a few days to figure it out, and I almost did a hard reset and start over, but it turned out to be problem caused by CMP. At the same time as this problem, I also found that my TyTN would not sync with ActiveSync. As soon as I exit CMP, my contact list is visible again, and sync'ing works as normal. I'm not sure what in CMP could cause this, but I can replicate the issue by starting CMP, contact list goes missing, and then exiting it, and the contact list comes back. I originally thought it was a problem with my phone or WM6, and so I did a contact list restore from a previous backup.. only to find out afterwards that it was CMP. I lost a bunch of contacts and information as a result :eek:!

Anyway, let me know how you want to diagnose this issue and let's get it fixed before it affects anyone else.

Thanks!
[Windows Mobile Apps and Games] himatech:
Thank you for your help in advance :)

I don't think it's related to the installation because this is the third time I installed CommMgrPro on the latest ROM.

I'm using the latest CMP version. My device is Kaiser TYTN II. My ROM version is 1.56.405.5.

The second error notification is about WMScheduler.exe on WorldMate directory. Do you think it's conflicting with CMP?
[Windows Mobile Apps and Games] danielherrero:
Hi kssxs.

Sincerily, I cant understand the relation between both programs because CMP doesnt access PIM info except the plugin but we can do a test. Even the plugin is only related with calendar, not with contacts. I am going to upload a version without Pocket Calendar integration. Please install it and let me know if the problem remains.... :).

The fixing procedure will be the normal:

1) Identify what component is causing your problem

2) Identify why happens in your device and not in others (test devices)

3) Fix it, of course ;)

Dani

ps. Fist uninstall current version. Soft Reset. Ensure the menu option "CommMgrPro profile" has been removed when you are editing a celendar appointment. Install the new version. Soft Reset. Ensure the menu item ISNT there.

ps. Does someone see the same issue with his contact list?
[Windows Mobile Apps and Games] danielherrero:
Well, probably.

The problems you talk about sounds to me like the old problems between SPB Pocket Plus and CMP (Well, between Pocket Plus and many other programs.).

If you have some minutes and want to help me :) the procedure is simply. Uninstall WorldMate, reset and check if the problems remain. Which other programs you ve installed?

Dani

pd. Unfortunatelly all my test devices are clean, I mean, they havent installed any third party program. Only if some user detects a conflict then I load it
[Windows Mobile Apps and Games] short/y:
2.1b1 did it!

Just wanted to let you know that all is well this morning, Dani. the 2.1b1 you posted appears to have fixed the problem I was having with my calendar-initiated Car profile! So, both tests I ran (setting a calendar event yesterday and my regularly scheduled calendar event this morning) worked just fine. I'd say the problem's fixed! Thanks again. You da man!

A question: Let's say I start a meeting and CMP isn't running. When I start CMP shouldn't it look to see if any calendar entry is "active" and execute the appropriate begin/end actions if there's a match? Similarly, if CMP was running when a meeting starts but isn't running when the meeting ends, shouldn't CMP execute the End actions for the profile that was begun when the meeting started?
[Windows Mobile Apps and Games] danielherrero:
Happy to know the issue seems to be fixed. My tests ae correct too. I will continue testing it.

When cmp It always checks the current appointment or It should do. Warn me if It doesnt. But it you shutdown cmp being in a meeting when It boots again cmp will lock the profile because It thinks It is how the user wants it. Maybe I should save a flag when cmp shutdown and a profile is locked because of an appointment....

Dani
[Windows Mobile Apps and Games] himatech:
Thank you so much for your help! I uninstalled WorldMate and so far CMP's response is normal.

But I still need for both apps. Are you planning to fix this problem in future versions?

Regards,

HimaTech
[Windows Mobile Apps and Games] danielherrero:
Hi.

I will install WordMate and will try to see the conflicts :D

Dani
[Windows Mobile Apps and Games] danielherrero:
AS some of you ve reported the action "Call forward" didnt work for some WM6.1 devices. Tired to check the code without errors I finally decompiled phone.dll to see how Microsoft did the job and I saw they dont use his official TAPI functions but the unofficial RIL functions to manage call forwarding ¡¡¡. So I ve fixed it and I ve extended to all the options of standard call forwarding dialog as you can see in the picture. I continue developing the actions "Restore state". This option will be specially interesting for call forwarding. For example, on enter call forwarding inconditionally to 91-5555555, on exit restore state to previous values....

Dani
[Windows Mobile Apps and Games] contextus:
some questions for you:

what's function of the world icon(the first from left)?

what's function of menu->test-> dec. battery and dec. signal??

thanks a lot
[Windows Mobile Apps and Games] danielherrero:
Hi. If you are talking about the the today plugin then Its the Connections button. It allows to connect the device to internet using GPRS/HSDPA, close an active connection or disable this kind of connections.

Test menu is used by me(developer) and testers because It gives direct access to some features but It isnt useful for normal use. "dec. battery and dec. signal" makes CMP think those values decreased just to check the visual effect. Nothing important....Probably It will be removed in next version (test menu).

Dani
[Windows Mobile Apps and Games] contextus:
thanks for the informations!!!

I set connection button on OFF and if I use an internet browser after I close it the connection is ON (green icon) even if the browser is closed!!

Without your programm windows turns off the connection automatically!

I have to set "close idle connections"? How many seconds? In default windows settings How many is it?

If I set connection button on OFF Can I receive sms and mms?

thanks again
[Windows Mobile Apps and Games] danielherrero:
Hi

If you set connections to OFF then cmp will close any stablished connection but It will allow future connections so you can open a web browser and It will create a new connection. If you want to block any request connection then you ve to use the the option "Disabled" (gray world globe)

If you set "Close idle conn" then cmp will monitor any gprs/hsdpa connection and will close it if the traffic flow is minor than 1KB. Tipical time is 30 seconds. There isnt a standard windows behaviour. It depends of the device/rom. Personally I used many registry tweaks im the past for my htc devices byt they didnt work more than 70%.

Connections isnt related with sms but if you disable the mms connection (red colour in enable column for the mms connection) then you cant send/receive mms for that time....

Regards

Dani
[Windows Mobile Apps and Games] contextus:
If I set connections to ON then cmp will allow all connections but after I used, for example, a web browser cmp don't close connection so I keep on paying for connection or not??

What do you think about 30 seconds? isn't too low to surfing the web? Every 30 seconds (for example I need more than 30 seconds to read a web page) the pda has to connect again!!
[Windows Mobile Apps and Games] danielherrero:
Hi.

This is how Windows Mobile works. If some program (for example CMP using connect button) request a internet connection then it will remain connected until this program releases the connection or that program is closed.

Tipically you pay for data traffic (except some operators) so you wont pay more if you reading a a loaded web page and the connection remains active. The feature "Close Idle connection" was designed to reduce the battery waste while the pda is connected, not to reduce the bill. In this way the pda will be connected only if there is data activity so the user is using the connection. Once the user doesnt use the connection during sometime then CMP will close it to save battery. Well, you can set the timer to 120 seconds or similar to read the page ......

Dani
[Windows Mobile Apps and Games] Karl der Käfer:
Hey Dani, I'm back again.

I was trying with several WM6.1 and acutally I am testing one that seems to be quite ok, but not too reliable (see signature).

One problem is that some programs won't go to background, but simply killed.

Between others, that happens with the phone radio. Suddenly I see that the phone is switched off since 1 or 2 hours, as CMP log says. There I find an entry with the remark "Debug" about switching off and little time later "info" about having switched the phone really off.

But may be WM6.1 is not the one to blame, but me, clicking phone off accidentally, when the phone is in my pocket.

To avoid this, I had the following Idea:

Could you include in options, below the

[] Tray icon an switch box

a new switch box like

[]Today plugin just for info, no actions possible

The principal reason is that I want to keep on seeing what's on with the connectivity.

Regards

Ralf

P.D.: Qué tal Charo?
[Windows Mobile Apps and Games] danielherrero:
Hi Ralf

Happy to see you again hehe

Good idea the option to block the today actions. I will do it. Talking about the phone off....Probably not related with your issue but listen....

I am using smansung i780. Nice device!!. But take a look at the forum (in xda general thred). Those people dont use cmp and are crazy with the radio. It turns off randomly. Why? wm6.x? Radio rom? This last option is considered guilty bu the owners. But if you see the message....'phone manager will try to change...' then the action is started by cmp. Probably a involuntary button or action but dont discard other reason....

Charito is very very big. 90 percentil. I named her Gotzlla hehe. She breaks all.....

pd. My house in Asturias is going on hehehe
[Windows Mobile Apps and Games] danielherrero:
Hi.

The improved Call forwading is ready and working on WM5, 6.x. Because of Its complexity and OEM dependent it would be nice if some people could test it. It can be test directly from menu/test/Call forwarding but better if tested creating a new action for a test profile. IN this way you can test too how to edit the action, etc...

Greetings
[Windows Mobile Apps and Games] danielherrero:
Hi again.

People having problems with phone going off can install this version. In this version I ve added many log lines to detect the source of the problem (button clicked blinded or others reasons)...

Dani

pd:Caution. Because of the change on a shared dll between cmp and cmp today plugin you MUST turn the plugin off before reinstall (start button/settings/personal/today). Then install the new version. Well, no problem if you dont it in this way. Simple CMP wont run ("Isnt a valid pocket application") because the dll couldnt be overwritten. Then just the steps again.

Dani
[Windows Mobile Apps and Games] danielherrero:
Phone going off

Hi.

I ve detected a situation that makes CMP turn the phone off in a strange situation. Fixing it...
[Windows Mobile Apps and Games] danielherrero:
Hi Ralf.

Fortunately the "phone off" issue is fixed. It was caused for delayed notifications. I cant upload a version now because I am working in the "restore state" option for all the actions. It seems a easy thing but Its complex because I ve to save the state of all the "devices2 (BT, Wifi, ring tone, today theme, etc, etc) before tha user makes any change.

Talking about the xml.

I cant use the same ID or/and name for the unknown place after import xml because the native database (EDB) is similar to a rational Data Base. The key for the profiles table iis a Auto incremental field. So if I remove all the rows and then I insert a new one the id will be 134, for example, not 1. But.

1) I will create a dialog to confirm or cancel the import process.

2) When a xml is imported CMP will use the same unknown profile using the last "default profile" registry field. It was your problem. After reimport and using a different language you get duplicated profiles for unknown .

3) I will allow to select the place to put the xml exported.

4) dual sim. Finally I couldnt get the dual pda but now Its very interesting because I need it...

pd: De momento tenemos varias sillas compradas por familiares pero se lo dire a Isa, mi mujer, que lo mismo se lanza a por ella :)
[Windows Mobile Apps and Games] kssxs:
Hey Daniel... just so you know, I've been testing this version for a couple of weeks now, and it works just fine; the contact list is no longer missing. Whatever you did to make it work did the trick! I hope you can find the reason why it happened in the first place, and can include the Calendar features and still work for me.

Thanks! (using v2.1b2 that you posted as a fix)

PS: I'm afraid of upgrading to the latest beta, because I don't want to 'break' my current, working version.
[Windows Mobile Apps and Games] danielherrero:
Hi

happy to know it. In a few days a will upload a candidate release with some new features and much bug fixing althought your issue with the contact list is a mistery for me. Then install the new version. If you have the same issue then reinstall again the B2 version and I will publish two cabs, one with the plugin and other without the plugin.....:).

Dani

pd: Really It wasnt a fix. CMP cab is compound of varios cab. One of the them is the cab that integrates cmp with pocket outlook. I simply removed the reference :)
[Windows Mobile Apps and Games] danielherrero:
Ok, Its the prerelease version.

Please report any bug, suggestion...(Specially before it becomes the official version ;))

Version V2.1(2008-07-17)

1) Improved call forwarding action. Now you can choose the same kind of options like standar phone program

2) New "Restore" actions. You can choose to restore any option to previous state. pe: On enter Speaker off, on exit Restore Speaker (to same value as it was).

3) The user can reassign a profile as "default profile" int the profiles tab (menu/profiles/mark as default profile). This profile hasnt cells associated and is applied when the location is unknown.

4) CMP ask confirmation before importing a xml data file found on the device.

5) English and German translation and help files have been fixed by Ralf Rutkat. Thanks¡.Some dialogs without help page now have it.

6) Test menu disabled. Ask me if you need access to it (testers, traductors, etc).

7) Bug fixing
[Windows Mobile Apps and Games] Dirk L. A.:
French translations

Hi Dani,

Attached the updated French translations (quite a lot... :eek:)

Could you send me per email the unlock method for the test menu please?

Kind regards

Dirk