Tool to listen for Events/Notifications - Windows Mobile Development and Hacking General

I was hoping someone had a small application along the lines of Vijays tools that would listen to for events/notifications and allow you to set the execution of a program. The program would trigger for the following;
incoming/received sms
incoming phone call
ignored phone call
reminders
notices
unanswered notices.
All programs assigned would also have the notice's text information as a parameteer. Any hope in this being created? It would be very usefull for scripting. For example the user can set the "ignored phone call" program to a script that would bring up a dialog box allowing the user to respond with an SMS. S-k tools has something similar but not complete. I've also had stability problems with S-K Tools on the wizard.
- Richard

llestat: I would have recommended sktools, but you've tried it... hmmm, loooong term, I intend to write my own version of such an app, hooking into various system events.
As it stands, I've not seen anything more comprehensive the sktools
V

"Sounds Coolz"...may be the answer till Vijay gets us a cool app :lol:

Related

ringtone programs...

Hi,
I just wanted to have some special ringtones for some contacts or groups...
But so far, I wasn't lucky:
Caller-ID: slow, often didn't show the correct number, lots of compatibilty troubles
RingtoneX: slowed down my device even more than Caller-ID. And it doesn't recognize the ringtone directory, which I moved to \Storage\Rings. If I set the ringtone folder in RingtoneX to this path, it copies the used files to \Windows\Rings - which is slow, useless, and clutters my valuable main memory.
PhonExt: didn't work at all. I could set the ringtones just fine, but they're not used if a call comes in. And it only supports WAV.
Is there any other program I could try? Or are there ways to work around the named troubles?
Bye,
Mirko
Yeah I've been lloking for a good ringtone app as well. Finally stuck with IA CallerID for the same issues you mentioned. Haven't been experiencing a lot of trouble with it though, my tones are also in \Storage\Rings and I have small animated GIFS for groups. Also I only setup the people who ring me the most not all 400+ contacts.
You're not alone. I had hunt and found that IA is the only one that works(buggy).
The caller ID program is lacking somewhat important features such as assigning ringtones by category.
Can you try whether this works for you?
I simply modifiy the registry entry for the ringtone when a call comes in.
Surprisingly this worked for me - I'd have expected the system's call popup to read this entry before I get control...
Nontheless, I'd like to know if I'm just lucky, or if it works generally...
The program interface is a mixture of PhoneExt and RingtoneX.
Like PhoneExt, it must be running to work (i.e. put a link in autostart folder if you want it permanent), there are category ringtones with priorities, and there's a tray icon with popup menu.
Like RingtoneX, you can set ringtones for both groups and contacts.
Currently, the contacts are only read at program launch, so you have to restart it to recognize modifications to the contacts.
In the contacts list, the used catecory ringtone is shown, if no contact ringtone is set. You can tell whether it's a contact ringtone by the "X" (remove) button - it's inactive if the ringtone's received from the categories.
There might be problems with huge contact databases, since I create a number -> ringtone map for performance reasons (searching the number in the contact database would be far too slow, esp. since numbers can appear in different variations, which I unify...).
Another thing to notice: I list all files in the ringtone folder - no matter if they're valid ringtones or not.
Oops: Last not least: The installation. Just copy the contained file somewhere on your PPC and execute it there. You should create a new folder for it, since contacts.dat and categories.dat will be created in the directory where the program file is located.
btw: Except for the modified ringtone entry, there are no modifications to the system, i.e. after exiting the program, all will be like it was before...
Hi !
I've made an app to display picture of contacts to dial, and I'm interested in how you get the incoming call notification (I'd like to make my own calledID). So I you can share source or point me some sites where to find info, ...
I hope my app will be available soon.
Regards,
Olivier.
has anybody tried Mort's application?
Another try...
I'm using lineSetAppPriority now, which should ensure my tools can set the ringtone before the default popup appears. Sadly, on my device it's completely ignored. But maybe it works on other devices - or has somebody here experience with lineSetAppPriority?
If you copy the included mortsms.dll to the \Windows directory, customized SMS signals should work, too.
Programmers: If you create a registry key with <window title>=<window handle> (as DWord) in HKLM\Software\Mort\SMSNotify\Windows, you'll receive a WM_COPYDATA with a string containing "SMS\n<sender>\n<text>" whenever an SMS comes in...
Mort
I've installed MortRing 0.2 on my device (haven't set ringtones yet) it uses CallerID Picture and MortRing ringtone so it works!!! Now I have to find a way to uninstall CallerID without a hard reset. Thanks.
The sms function is not working on my mda compact
sebi112 said:
The sms function is not working on my mda compact
Click to expand...
Click to collapse
Er, right...
To active the mortsms.dll, you either have to do the following:
1. Show "Messaging" and close it again (real close, i.e. Storage - Running programs or any "Close button replacement" like PocketPlus).
2. Copy mortsms.dll to \Windows
3. (Re)start MortRing
Or put the DLL in the \Windows directory, do a soft reset, and launch MortRing...
Mort, your program really rocks! Thanks alot dude 8)
but one thing: when i get a missed call, it says 2 missed calls (one with the number, and the other with UNKNOWN number)!!
otherwise, everyting is COoOoOoOoOoOoOoOoL :lol: thanks
Does even not work. ringtones ok. sms does not work
Here's a version with installer, maybe it fixes the SMS problem (I think the DLL doesn't get registered correctly without installer...). Restarting "Messaging" or a soft reset might still be necessary after installation, though...
It also creates a Startup entry.
@ezzkht: That might be a follow-up error from the lineSetAppPriority problems. I forward the call informations to the next priority program (usually Windows' call popup). If the priority is ignored, I do that after it already got it... But I've got no idea why the number gets lost...
Here's a variation without lineSetAppPriority. Maybe it helps with the "unknown" entry in the call history...
Ringtones works, sms works Thanks, Mort!
Here's a minor update. On some devices, the mortsms.dll did not work. It seems like ole32.dll isn't preinstalled on all devices, but I was able not to require it anymore...
Currently, lineSetAppPriority is removed completely, as it doesn't seem to have any positive effects. Sadly, due to this, it doesn't work everywhere - at least I know of one user with an MDA II and a quite a lot of contacts (about 500), where it doesn't work. I don't know whether it's because of the amount of contacts or the device differences.
(SMS notifications should work everywhere, though)
after a test it plays the sms ringtone that i selecet for one adressentrybut after a while the standat sms tone is gone and for all incomming sms the selecet for the entry is played
cooooooooool, now it works well 8)
thanks Mort :wink:
Now the SMS tone is reset a second after the notifacation and on program exist, so the default tone won't be overridden with the recently used.
Additionally, there are three pseudo categories: *other contacts*, *not in contacts*, and *number supressed*.
Mort!!!! would like to thank you again for this application works very well on my imate JAM! I'm really happy with it!!! Now I have more RAM to play with as Caller ID has been removed! Woooohoooo! Respect! :lol:

Phone application cprog.exe

Hi,
I want some information about default phone application cprog.exe.
I want to know how does it communicate with outlook and other application.
I guess most probably it should be via message posting.
But, unfortunately wheni tested the same with spy running on cprog and then i called a contact from outlook contacts.
I see many messages posted to cprog but I found no message or Parameter(WPARAM/LPARAM) to cprog that contains the number to call.
can anyone help me out to get information how to fetch that number? the number passed to phone/cprog.exe from contact.
The same thing i need for sddialer.exe that after matching the sound tag, how it informs cprog that which number to call?
Please help! I am looking these since long...
Good Luck
Best of luck trying to find any doco on cprog (if you do, please post back here!).
If you have a look at this thread you may find what you are looking for (at least how to initiate a call from the PC is there):
http://forum.xda-developers.com/showthread.php?t=295585
Look for LINE_REQUEST message
There a two ways, that an application can make a call; using tapiRequestMakeCall or lineMakeCall. tapiRequestMakeCall is by far the simplest to use. Examples of their use can be found in two sample cellcore progams available from microsoft, CeDialer, and HelloTapi. You could try this and see which produces messages simular to outlook. I'll guess that it's HelloTapi (tapiRequestMakeCall).
When an application uses tapiRequestMakeCall a LINE_REQUEST message is sent to the call-control application. This application must then call lineGetRequest to get information on the request. It then must execute the request.
See the remarks on the lineRegisterRequestRecipient page at microsoft
http://msdn2.microsoft.com/en-us/library/ms736043.aspx
I wish there was a similar Hello USSD example for the lineSendUSSD API. There's very little information on it... No one seems to be able to capture the responses past the first call.
oops missed part of your question
After the call app places the call, it should get a series of messages, mostly LINE_CALLINFO and LINE_CALLSTATE. The messages contain a handle for the call. Once you have the call handle you should be use the lineGetCallInfo and lineGetCallState functions to get info about the call. I think lineGetCallInfo includes the number that was called. The callstate typically goes through dialling, progressing, and then connected. I believe your not supposed to use the call handle until after a LINE_REPLY message is sent, saying the call didn't fail. If there are problems perhaps you should wait a short time.
To find out more about the messages, you could play with the CeDialer sample. It's linecallbackfunc looks at the messages, it would be easy to put in a few logging statements to see what's in each message. It think CeDialer will only get messages for inbound calls, and calls that it originated. (not ones by cprog.) Although you should check to be sure that I'm correct.
Good luck! Please, let us know whatever you might find out.
Hi,
I will look into this and post reply according As soon as possible.
Thanks
Where i can find the original cprog.exe to install in my non phone PDA? it's the dialer for voip.
Many thanks

[Updated - Solution Now Available] Need to dial numbers direct from Notes or Calendar

Blackberrys hotlink phone numbers, email addresses, and url's automatically out of the box. MarkNDial and TreoSelectText do this on POS but you need to select the text first. I can't find anything to do this on WM. Does it exist?
For those of you not familiar with MarkNDial for the Palm OS, it allows you to highlight a phone number (in a task for a calendar appointment) and dial it directly.
Does anyone know of a similar app for WM (expecially one that works in Notes)? Any help would be appreciated.
What is needed needs to be as simple as a click or 2. Selecting items is too much against my Treocentric ease of use. On Blackberrys it auto recognizes phone numbers, email, and url's in its notepad and other apps out of the box. Scroll to an item, click it, and it asks if you want to do the selected thing. One more click executes the instruction. Beautiful it its simplicity.
I have hundreds of numbers in notes I started in my Blackberry days for contacts I use infrequently so as to not clutter up my Outlook contacts, then I carried them over to my 700wx and found out that this functionality was sorely missing (not a big surprise for WM, but where are the third parties here). I am now a WM/Treo convert and am longing for the 800w.
The pending arrival of the 800w has renewed my interest in perfecting my Treo device and I would love to see this super efficient function added to WM to make the 800w even more useable then it will already be. Of course your device may vary but this would be a boon to all WM devices.
So is there anything out there like this or anyone to write it? I would gladly pay for a program or a script to fix this WM annoyance.
Great Solution
Hannip over at treocentral.com wrote and/or modified a MortScript to perfrom this function from a mapped button. In totally works, and does even more!!!
In summary:
MultiSwitch6 checks what app is running in the foreground and does the following.
1) If mail app - open the folders (fix for a major non-one handed annoyance).
2) If calendar - find phone numbers and prompt to call.
3) If notes - prompt to call the phone number where the cursor is.
4) Else run Pocket Internet Explorer or modify for app of choice.
Follow the thread and get the MortScript here (note: latest script is around post #11):
http://discussion.treocentral.com/showthread.php?t=143164&posted=1#post1455542

call log in contact notes, had it now its gone?

Thanks for a great site!I was a palm user now WM I have been using,trying a lot of pim managers. I have settled on Pocket Informant because of the ability to change an appointment to task etc. I had tried a program that stored call history in contact note but can't for the life of me figure out what it was.
PS I really like callcalendar,needs some new features and callcalendar2 just kept on crashing.
This is how I use these, and there has got to be a better way.
1.get call(logged by call calendar)
2.change date time of callcalendar entry with description and alarm to task.
3. Schedule,copy Task to appointment. Auto journal entry when checked complete.
There are many more steps when I have to add the new call as a new contact, then try to add name and address to the call when on the phone,in a new contact.
Would like to look at a contact and see call history there also.
I have done this but don't know how.
did i post this in the wrong place&?
sorry i found it it is in call calendar2.I surewish this still had support . A great app!!!!! just not very stable

Blocking unwanted incoming calls and sms on HTC Touch Pro2

GodswMobile, the makers of SMS Transfer, have released a new application called Pocket Call Blocker.
As the name would suggest, the purpose of the application is to block unwanted incoming calls and sms. Unlike other software available for doing this, they have managed to keep the application as simple as possible. You simply add numbers to the filter list and the program prevents those numbers from calling you. Also unlike other applications available, the software does not simply ignore calls from those numbers – it instantly hangs up the callers. This prevents the unwanted callers from even reaching your voicemail! BTW, it could also used as a sms spam filter.
Key feature description from pocketcallblocker.com
* Multiple filtering rules - filter by specific numbers, wildcard numbers, anonymous and unidentified numbers, groups/categories numbers, contact/non-contact numbers; all numbers.
* Two incoming phone call block actions - hang up and mute;
* Two SMS block actions - delete and mark as read;
* Built-in phone number block log;
* Run on background;
* Easy way to operate and set up filter rules;
The application runs on Windows Mobile Pocket PC 6, 6.1, and 6.5 and is available from pocketcallblocker.com for $19. But I found a discount order link with 50% off.
Code:
regnow.com/softsell/nph-softsell.cgi?ss_coupon=GODS-Q1JP&item=22132-6
Step by Step guide of blocking unwanted incoming calls and sms
Code:
pocketcallblocker.com/support.html
1 post and it is just an advertisement for a pay program that you can get the same effects for free from other software? Can someone say SPAM?
HERE is freeware
http://forum.xda-developers.com/showthread.php?t=307178
CallFireWall
Teej53214 said:
1 post and it is just an advertisement for a pay program that you can get the same effects for free from other software? Can someone say SPAM?
Click to expand...
Click to collapse
AMEN!!! And SPAM! of course. lol
While we're on the subject, I used to use CallFirewall before changing my number, but never found a similar program for text messages. Does anyone know of one?
joseph881 said:
AMEN!!! And SPAM! of course. lol
While we're on the subject, I used to use CallFirewall before changing my number, but never found a similar program for text messages. Does anyone know of one?
Click to expand...
Click to collapse
now, when recieving an incoming call do you still recieve the initial ring before it hangs up? Because ive yet to find a program that completely blocks a call. They just hang up a split second after. if i blocked a number, i want it to go straight to voicemail for that person, without ringing. ill check this one out
I use Photo Contacts Pro myself...not freeware, but it does the job quite nicely hanging up on unwanted calls and sms...
Magicall from mobiion is doing a verny nice job. you can set up different rules for calls and sms and also tell the program what to do with them (ignore, hang up, delete sms, forward, and so on)

Categories

Resources