yashsingh1/xdaforums huggingface dataset:
[Windows Mobile Apps and Games] smithbill:
SMS sending doesnt seem to work v0.9.0.30

Hi,

I'm trying to get CommMgrPro to send schedule an SMS text message for sending based on a scheduled time (using v0.9.0.30, Build time: Jun 6 2007-12:39:16).

I cant get it to create the SMS text message in my Pocket OutLook OutBox.

In the Options tab I have set the Mail Account to be "SMS" and I have created an SMS action to send to a UK mobile number at a certain time.

Unfortunately it never sends the SMS and nor does it create an SMS message in the OutBox.

However I did discover that if I also create an Action to send an email and leave the Options tab Mail Account set as "SMS" then infact it actually creates an outgoing email and files it into my SMS Text Message OutBox in Pocket OutLook.

Am i doing something wrong or is this a bug?

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

Mail Account option is used only for "Send Mail" action. For sending sms CMP create a message and looks for a provider called "SMS". Can you confirm that in "Main account" selector exists an entry with this name?

Just tested again with HTC Arthemis and Athena and no problem. In number field I dont write any international, only the number
[Windows Mobile Apps and Games] tony.wheeler:
Dani,

These are the accounts on my UK T-Mobile Vario II (TyTn) - see attached screenshot. I think this is the screen you wanted to know about - will check to see if texts work here.

Request: Can you please permit pasting into the screen where we actually create that on enter/on exit text mesage? It would then be easier to paste in the contact number - better still would browsing to select a contact be possible?

Regards
[Windows Mobile Apps and Games] danielherrero:
Hi Tony.

Your request is in the "to-do" list. Be able to browse contacts to choose phone or mail. It should be difficult because WM5 has a special API to do it. Did sms work for you? You can try it using menu/test/Send SMS....

Thanks:)

ps: I didnt remember it but finally don sms using "SMS" string but using special WM5 api for sending sms:

void CMessageMgr::SendSMS(wstring& recipient, wstring& text) {
SMS_HANDLE smshHandle;
SMS_ADDRESS smsaSource;
SMS_ADDRESS smsaDestination;
TEXT_PROVIDER_SPECIFIC_DATA tpsd;
SMS_MESSAGE_ID smsmidMessageID;

// try to open an SMS Handle
if(FAILED(SmsOpen(SMS_MSGTYPE_TEXT, SMS_MODE_SEND, &smshHandle, NULL)))
{

return;
}

// Create the destination address
smsaDestination.smsatAddressType = SMSAT_NATIONAL;
_tcsncpy(smsaDestination.ptsAddress, recipient.c_str(), SMS_MAX_ADDRESS_LENGTH);

// Set up provider specific data
memset(&tpsd, 0, sizeof(tpsd));
tpsd.dwMessageOptions = PS_MESSAGE_OPTION_NONE;
tpsd.psMessageClass = PS_MESSAGE_CLASS1;
tpsd.psReplaceOption = PSRO_NONE;
tpsd.dwHeaderDataSize = 0;

// Send the message, indicating success or failure
if(SUCCEEDED(SmsSendMessage(smshHandle, NULL,
&smsaDestination, NULL, (PBYTE) text.c_str(),
_tcslen(text.c_str()) * sizeof(TCHAR), (PBYTE) &tpsd,
sizeof(TEXT_PROVIDER_SPECIFIC_DATA), SMSDE_OPTIMAL,
SMS_OPTION_DELIVERY_NONE, &smsmidMessageID)))
{
}
else
{
}

// clean up
VERIFY(SUCCEEDED(SmsClose(smshHandle)));

}
[Windows Mobile Apps and Games] tony.wheeler:
Dani,

Have not tried in yet as an action on the Profiles tab but just used the CMP Test menu item to send an SMS and it is clearly trying to send but not succesfully because I get a 'Message from Network' that reads "Sorry Destination number format incorrect...." it then offers me example formats that are allowed.

I am certainly entering a correct mobile number - this mobile in fact.

I notice that nothing appears in my sent items when CMP send the message - presumably because you are calling an OS API that does not use the Outlook SMS client? The problem would seem to be that CMP is somehow changing what I enter as the mobile number and this is causing the error (which BTW is not shown in my SMS inbox - just on screen as a pop-up at the bottom of the screen). Curious..:confused:
[Windows Mobile Apps and Games] danielherrero:
Hi.

The sms doesnt appear in poutlook because It send using direct os api, like you said. I ve debugged it and I can confirm CMP uses the exact number that is written. It works here (Spain) so maybe I should use SMSAT_INTERNATIONAL or other config. I will research about it :)
[Windows Mobile Apps and Games] smithbill:
Cant send SMS on O2 Orbit (HTC Artemis)

Hi Dani,

I have checked that CommMgrPro lists "SMS" as an entry in the "Mail Account" popup list in the "Options" tab.

I dont have an 'provider' called "SMS". All I have is as Toni shows in his screenshot: an entry in Pocket OutLook called "Text Messages".

I'm using an XDA Orbit from O2 (aka HTC Artemis) running Windows Mobile 5.

I dont get the pop-up error messages Toni mentions when it tries to send an SMS text message. I simply get nothing apparent happening (I do know that it running the listed actions as I also had it switch on/off WiFi at the same time).

I assume that the SMS sending is either not finding the 'provider' account referred to or else the number or message structure is not formed correctly and so cant be sent by the API??

Is there a work around or fix?

Bill
[Windows Mobile Apps and Games] tony.wheeler:
Bill,

Have you tried sending a simple text with the test function (MainWindow menu item-test-Send SMS...
[Windows Mobile Apps and Games] tony.wheeler:
Flight Mode?

Dani,

Can you create a means to get into Flight mode where all the transmitters are turned off (BT, IR, Radio, WiFi)? This is what the normal Com Manager does and I think CMP should provide this easy means.

Of course when you change the app to oriented on profiles that might change I know. For now I have created a 24hr schedule for a place/profile called Flight and 'on enter' I have created the actions to turn them all off - but it's not too easy to set this as there are 5 button presses to set the profile/place to locked.

BTW - I have just upgraded to radio 1.43 and CMP has no issues. I know you look to interact with the OS but do you also count upon radio functions too?
[Windows Mobile Apps and Games] smithbill:
Test -> Send SMS on O2 Orbit freezes for 3-4mins

Hi Tony and Dani,

I tried using the "Menu" -> "Test" -> "Send SMS" option and entered a mobile number of the form 07720123456 (no international prefix and no spaced) and some text (subject field is locked).

I then pressed "Menu" -> "Save" and it then appeared to 'crash' CMP. I could still open other applications in WM5 but on attempting to start MemMaid to see what processes were running (to Kill CMP) I could not get not a list for a LONG time (busy wheel was up for about 3-4mins).

Eventually it spung back to life and MemMaid showed me that CMP was still running (771.60KB).

No SMS was sent and no error message popups were produced.

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

Microsoft recomends to use the api I posted before to send sms and, in fact, the code I wrote was got from a microsoft example. but there are many posibilities (national, international, different kind of sms, etc). So will change it and if It works here (Spain) I will post here to see if it works in other countries.

Dani
[Windows Mobile Apps and Games] ULI22:
language files

Hello Dani

Here's my latest version of german language file.

regards

ULI
[Windows Mobile Apps and Games] danielherrero:
Thanks ULI :)
[Windows Mobile Apps and Games] danielherrero:
Hi Tony. I will create standard profiles and "Shortcut buttons". I will remove "Hide button" and will place a "Shortcuts button" that will bring a dialog with quick actions.....And the main idea is to put those "quick actions" (that can lock profiles, turn on bt or anything) too in today plugin....
[Windows Mobile Apps and Games] danielherrero:
Hi.

Here goes CMP V1.0 candidate, english, german, spanish, french and italian. Before thursday I ve to replace installers from www.commmgrpro.com and others (softonic, pocket gear, etc) with this one (except if this has bugs, of course) because on sunday all the betas expires.

As you know Active testers and traductors have free lincenses so email me to get the activation code.

Dani

ps: Tony, I ve changed the SMS code following these suggestions (http://www.codecomments.com/archive329-2005-3-425568.html). It works in Spain. Hope It works in UK. Can you test it? thanks :D
[Windows Mobile Apps and Games] cmalberto:
Awesome. The betas have been very stable for me although I haven't tested ever function, the ones I use are great. Glad to see this all coming together.

--Mickey
[Windows Mobile Apps and Games] ahlok_hk:
Hi Daniel,

Thx for implementing the call forward option! I like it very much!

In the call forwarding setting of windows mobile, there are several call forwarding ways (options could co-exist):

1. forward all incoming phone calls

2. Forward phone calls only if "no answer"

3. Forward phone calls only if "unavailable"

4. Forward phone calls only if "busy"

I usually use options 3 and 4 most of the time.

The current version of Comm Manager only supports option 1. Could you add support for options 2,3 and 4 in the next version?

One more question is that will the call forwarding action be executed everying time a cell is changed (even for the same place?).

Is there a way to execute the call forwarding action by command line?

Thanks.
[Windows Mobile Apps and Games] danielherrero:
1)Sure. It has been the first attemp but I will let a total control for Call Forwarding

2) Actions are only executed when entering or exiting a place or changing of time frame not a cell....

3) Not by now....but I will develop a command line interface with CMP.

Dani
[Windows Mobile Apps and Games] danielherrero:
ULLI I ve sent you a private mail to a mail address(dont put name to not expose your mail@a-bc.net) but I dont if It is correct. Did you get it?
[Windows Mobile Apps and Games] smithbill:
Hi Dani,

I too have tested the SMS functionality you have added (from UK O2 mobile network).

Like Tony, I received successfully a message on the other mobile phone where I send it to.

However it is some kind of 'non-standard SMS'. It displays the message differently on arrival and does not save the message in my InBox.

However, I CAN enter the number in International format and it works eg. +44 7720 123456

Can I too have a license key? (smithbill@hotmail.com)
[Windows Mobile Apps and Games] nuttyphilt:
great application!

Just installed version 1.0 and noticed a small bug. I checked for a new version and it told me a newer version is available, however the 'newer' version is 0.9.0.30!

Other than that, so far so good.
[Windows Mobile Apps and Games] danielherrero:
Hi.

The latest "official" is V0.9.0.30 but the latest unofficial is V1.0....Very soon V1.0 will be the latest. (this night)
[Windows Mobile Apps and Games] danielherrero:
Hi Tony.

Yes. If the sms doesnt appear in inbox then this solution isnt valid. I will look for other way.

1) Really exe has same size but the installer brings a new DLL file for customize the installation process. I will try to keep it on SD.

2) Yes. Dialog is shared for mails and SMS but sms doesnt offer subject field.

3) Installer should keep all registry fields, except version. I will take a look at it. Thanks :)

4) By now remove the cell from the xml file and then import the file again. If you cant remove cell 0 then its a bug.

5) Tony send me a private mail with the hardware id and Owner name (you will find this information in license page) and I will send you the activation code :)
[Windows Mobile Apps and Games] Dirk L. A.:
Hi Dani,

With Test > send SMS here in Switzerland (on swisscom network) it does not work. (Send eMail works fine)

Update: As Tony mentioned: it works in local format numbers (starting 07xxx) but not with international extension (starting +xxxx)

Update #2: the SMS is not a real SMS, it is not stored in the SMS inbox. It says in french "Message de réseau" (Network message), you can only close the display and then it is lost forever.

Dirk
[Windows Mobile Apps and Games] hansaplast26:
I installed Commmgrpro yesterday and just registered it, great tool, but now I run into the first issue:

I have two profiles defined, one for work, one for my home.

at work I want to change the volume (to the lowest possible) on weekdays only.

So I selected monday, tuesday, wednesday, thursday,friday and enabled. After saving and reopening I see that saturday and sunday are also checked. besides that when I call the volume is still at normal level.

What did I do wrong.
[Windows Mobile Apps and Games] danielherrero:
Hi Hans.

Let see. What volume are you trying to manage? device volume or ring tone volume?
[Windows Mobile Apps and Games] danielherrero:
Hi Hans.

Bug confirmed. Ring tone action was the last action added to cmp. Today this issue will be fixed and included in CMP 1.01, that will be available today.

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

The bug affected to Ring tone, today theme and backlight actions. Now It is fixed (I hope). YOu can download it using CMP (in about page tap "Check Version" and then "Download/Install"), www.commmgrpro.com, www.pocketgear.com or www.handango.com.

Dani
[Windows Mobile Apps and Games] ULI22:
Hi Dani

Please include latest german.xml - file as well (see post #1076). Release 1.0 contains an older one.

ULI
[Windows Mobile Apps and Games] danielherrero:
Ops, thanks Uli
[Windows Mobile Apps and Games] danielherrero:
Uli the last file you sent me miss some texts. I post 2 files.

german2.xml -> contains the last file you sent me

german.xml -> contains the file I am incluing. Note that, at the end, i ve added some texts (in english) that should be translatted to german.

So I thing you should merge them.

Thanks :)
[Windows Mobile Apps and Games] Dirk L. A.:
Dani,

You didn't use the latest french version with 1.0.1

Here it is again.

Thanks,

Dirk
[Windows Mobile Apps and Games] danielherrero:
Thanks Dirk. I ve just replaced it so in next version (tomorrow, probably) will be present.

Dani
[Windows Mobile Apps and Games] Karl der Käfer:
estoy en madrid hoy. Tomamos una caña esta tarde? Te mandaré mi no. de tfno a tu correo particular.

De paso te puedo dejar un momentín mi tarjeta SIM dual. Tal vez te sirva ...

Saludos

Ralf
[Windows Mobile Apps and Games] Karl der Käfer:
Hello Dani,

I showed CMP to a friend.

We installed CMP S200 with WM6 Beta FOR Spanish by Franlov rev3. and gave it a softreset.

We find CMP in Programs but it doesn't appear in the desktop.

No icon visible. In Today it is marked to be shown on screen.

The we tried to deinstall and it says it cannot deinstall.

So what can we do?

Regards

Ralf
[Windows Mobile Apps and Games] danielherrero:
Hi Ralf. Estoy fuera de Madrid hasta el viernes. Vas a estar aqui el finde?.

In those cases the best way to uninstall is to find any reference to the program in the registry (using resco registry or any other) and delete those entries (Look for CommMgrPro). Finally remove \Program files\CommMgrPro. And thats all. If you have any problem later I will look for the entries and I will tell you the exactly paths.

Dani
[Windows Mobile Apps and Games] ULI22:
language files

Done...

ULI
[Windows Mobile Apps and Games] danielherrero:
Thanks Dirk.

Replaced...
[Windows Mobile Apps and Games] Karl der Käfer:
What a pitty, I'll have to return thursday night.

We'll try the deinstall tomorrow.

Saludos
[Windows Mobile Apps and Games] danielherrero:
It a pitty....I wanted to show you a nice "pintxos" places.......:D
[Windows Mobile Apps and Games] ULI22:
small Bug

Hello Dani

In options-dialog, where you can change refresh time interval, the up arrow DEcreases and the down arrow ENcreases the value.

ULI
[Windows Mobile Apps and Games] danielherrero:
Thanks ULI. It seems the normal behaviour of that microsoft control but I can try to change it.....:)
[Windows Mobile Apps and Games] cmalberto:
Rediscovered old bug that I know was fixed...

It appears that the SCHEDULE does not start my phone radio after stopping it either manually or through CMP. I know we had the problem in the past and it was corrected. Well it is back. It happened the last two days plus during my test at home tonight. Not sure when/what release that this started with.

--Mickey
[Windows Mobile Apps and Games] danielherrero:
Hi Mickey.

Strange because I use it every night. IN my case I set up a time from from 00:30 to 7:45 called night. On enter Phone off and On exit Phone on. Can you export to xml your actions and send me it?

Dani
[Windows Mobile Apps and Games] cmalberto:
It is on it's way...

Thanks.

--Mick
[Windows Mobile Apps and Games] danielherrero:
Thanks Mickey :)

I will take a look at it
[Windows Mobile Apps and Games] samsat:
Hi Dani,

I have tried to install CMP 1.0.1 (VGA) on my TYTN and it when I try to run it says

Error locating skin file etc. etc. please install valid skin file for your resolution device.

By the way I will be visiting Madrid for a few nights in a few week's time.

Cheers

Joel

South Africa
[Windows Mobile Apps and Games] danielherrero:
Hi Joel

Hope you enjoy the nights of Madrid:D

Your device is QVGA resolution so you ve to download qvga version.

Direct Link: http://www.commmgrpro.com/db5/00454/commmgrpro.com/_download/CommMgrPro_V1.0.1_Theme_SkizZO_QVGA.CAB

Best regards

Dani
[Windows Mobile Apps and Games] samsat:
Thanks Dani,

As I sent the last message I realised my mistake.

We will be in Malaga for a few nights and then on to Madrid staying in the city. Should be fun.

Cheers

Joel
[Windows Mobile Apps and Games] danielherrero:
You will enjoy it. Sure. IN those day I will be father, for first time....:)

ops, specially in Malaga. Go to Marbella and Puerto Banus if you ve chance......
[Windows Mobile Apps and Games] smithbill:
Phone didnt switch-on OnExit from Schedule

I think I may have had this problem too. CMP would fail to turn the phone back on the next day OnExit from the scheduled event.

I too had a "night" schedule. My schedule, unlike Dani's, ran from 11pm the day BEFORE and ended at 7am the next day ie. it ran over midnight. Could the day change be causing a problem?
[Windows Mobile Apps and Games] smithbill:
Download-Install in V1.0 reports error and freezes CMP

Daniel,

CMP v1.0 is telling me on the main screen that "There is a Newer Version available" in red text.

When I go to About and click the "Download-Install" button in order to download the v1.0.1 version, it asks me to select a folder.

After selecting a temp folder on my storage card it reports in a popup message: "Wrong Size" - sorry, I cant get the exact message as on trying it a 4th time it has now 'crashed' and frozen CMP.
[Windows Mobile Apps and Games] smithbill:
BackLight stays on after OnExit event

Daniel,

What exactly does the 'Backlight driver' under Options(1) do?

I've notice since installing CMP that the screen will not turn off on my O2 Orbit (HTC Artemis). This is inspite of the fact that I have the WM5 Power Settings set to turn the backlight off after 2mins.

The screen will Dim after 30secs (based on the WM5 settings I have).

When CMP turns on my WiFi automatically for me at 7am in the morning it switches on the backlight. The OnExit event switches off the WiFi but the backlight remains on FOREVER (although it does Dim after 30secs).
[Windows Mobile Apps and Games] danielherrero:
No. Dont worry, I am studying the mickey database trying to repeat the scenarie....
[Windows Mobile Apps and Games] danielherrero:
I saw it once trying to download cmp using a s200 over gprs. Which device you have?. I will study it...
[Windows Mobile Apps and Games] danielherrero:
Hi again.

Backlight driver is the normal way for "no-artemis" users :) ( I use a artemis too for testing and this device is making me crazy). CMP uses backlight driver for changing backlight in "Backlight action". This is a direct way. But It doesnt work in artemis. For this device this option should be unchecked(its is documented in the manual). But if you have scheduled this action then it doesnt mind. Have you used this action? or Have you used test menu for changing backlight?. If yes then I will try to solve your problem.

There is other problem in artemis. There is a standar api to receive notifications about gprs/umts connections opened and close. In this way CMP updates the Connections button. Well, in this device this notification doesnt work so connecitons button always shows "Off " state. Why? I dont know. I continue researching.....
[Windows Mobile Apps and Games] cmalberto:
Wouldn't you just know it..at 1455 today the Phone Radio came on as scheduled. I am now thoroughly confused. I hate it when there is no consistency as it is next to impossible to trouble shoot.

--Mickey
[Windows Mobile Apps and Games] danielherrero:
Wellcome to developers world :)

By now no luck repeating the problem...hope to catch it....
[Windows Mobile Apps and Games] danielherrero:
but now I dont have a definite diagnostic but I can see you (Mickey) have set phone on /phone off in non adyacent schedules and all my tests have tested 2 situations.

1) On enter phone off and On Exit phone on (My case)

2) On exit Phone off and On Enter of next schedule Phone on.

So I am going to test that situation. I supose CMP is too much time blinded. But I will make it works (always).

Dani
[Windows Mobile Apps and Games] danielherrero:
well, thsese are my conclussion.

I ve set 4 time frames, a, b, c, d. Each one of 2 minutes.

I added on enter action for "a" phone off

I added on enter action for "d" phone on, so there are 2 periods between them. And It worked, on A the phone turned off and on D the pone turned ON.

But one suggestion Mickey. This is (partially) your schedule for work:

4) Name:"Turn Phone Off" [07:45 - 07:46] -> On enter "Phone off"

5) Name:"Work Hours 2" [07:46 - 14:55] -> On enter Call forwarding ON.

6) Name: "Turn Phone On"[14:55 - 15:00] -> On enter Phone on, CF Off.

I see two problems:

1) First you turn off the phone and one minute later you try to set call forwarding ON. When the phone is off is imposible to set call forward. I thing this is stressing cmp :).

2) On enter 6 you mix "Phone ON" and CF actions. Its very recomended not to mix those actions. The effects are impredecible. Soon I will allow to set delays for the actions....

I suggest you this:

3) Name "Call Forward On" [07:44 - 07:45] -> On enter Call forwarding ON.

4) Name:"Turn Phone Off" [07:45 - 07:46] -> On enter "Phone off"

6) Name: "Turn Phone On"[14:55 - 15:00] -> On enter Phone on

6) Name: "CF Off"[15:00- 15:01] -> Call forward OFF.

Please try it and tell me

Dani
[Windows Mobile Apps and Games] tony.wheeler:
Dani,

I have seen this problem many times and with older versions too:( . I have dismissed the warning then tried again (it never saves my 'save to' location - would be nice) and it offers to overight the last version. If you select OK then in fact it appears to start off where it left off. This process always results in the same warning 'wrong size' and each time if you dismiss and start again it downloads a bit more......

Eventually you can end up with the whole file and then it can be installed. BTW - it only seems possible to download via a data conenction on the phone - through Activesync it does not download at all.

I now have a problem with the installation of the latest version - the installation routine (v1.01) tells me that it is "Unable to remove the previous version of Daniel Herrero CommMgrPro......" Any ideas? It offers me the chance to install regardless - should I accept that?

Regards
[Windows Mobile Apps and Games] danielherrero:
Yes, the problem of "invalid size" is in the list, dont worry.

Also the "unable to uninstall" but dont worry. Dismiss the message and continue.....It works. But I will fix it