Help with cprog - Windows Mobile Development and Hacking General

Hi, I have started to write a parental control phone application for wm6 which would let my kids answer only selected numbers and dial only a few numbers, however I am having a few issues where I need help:
1- I am trapping the Notification Event for incomming call (RegistryNotifyCallback) and put my window topmost (to hide the Phone Incoming Window) but I don't know how to prevent the use of the Green and Red hardware buttons (I need to disable them so the phone can't be answered if the number is not approved)
2- For outgoing calls, I need my app to be started with the Green phone button instead of cprog, but again, how do I trap those buttons.
Thank you

Replacing CPROG: bad idea
You just need to create a dialParser dll (signed) that will block outgoing calls that are not allowed, and maybe some TAPI wrapper to block incoming calls.
Replacing cprog is just a wrong solution.
How to make a dialParser? look at Google! it's an undocumented API (MS doesn't want you to know how to do it if you don't pay the partnership...) but leaks are everywhere!

Related

replace the caller ID notification screen

Hi,
I need to develope an application that basically replaces the caller ID screen that pops up when you have an incoming call and show some more information on the caller, then let the user answer or decline the call.
any help on where to look first (or maybe code snipets if i'm lucky) highly appreciated.
Cheers,
Shafa
I think you may have a hard time if it is truly a seperate application you wish to write. I have written a program to try to be used at the same time as cprog.exe and when that incoming call window comes up nothing I have tryed will let the user interact with any windows I create. You could stop that process but most users will not want to do this. I ended up having my program automatically determine if it wants to accept the incoming call and answer it itself. This was particularly anoying because my incoming call interest was set to data only and cprog dose not normally even register an incoming call that is purly data. But after I had initialized tapi with my settings cproc unexpectedly shared the same interest for incoming data calls.
Just as speculation - if your program was constantly running, when an incoming call is offering, you could enumerate the desktop windows using EnumWindows and its associated callback function to get the hwnd of the ballon that comes up. Then perhaps you could close the incoming call window or send it to the bottom of the z order and use your own to replace it. I do not know what effect this would have on cprog.
code related to tapi tends to be long so your not that lucky
:lol:

Take full control of an incoming call

Hi guys!
I'm trying to develop an application to control the incoming call flow. That is an easy task in it self, and i solved that by using C++ and TAPI. The problem is that cdialer.exe always disturb me with that annoying ringtone and popup. So basically my question is how i can take full control of a HCALL coming from a TAPI callback, process the call and then simulate a new TAPI callback so the default phone app can get a hold of the call. If you have tried Magicall or any other similar call filter app, you know what i mean. I just can't understand how they do it.
Any suggestions?
I was under the impression that TAPI couldn't handle incoming calls.
TAPI handles both incoming and outgoing phone calls on WM.
You need to use RIL. But it's quite hard (at least for me) to implement as the documentation is rare. Good Luck.
Thanks A_C, i'll give that a try
My bad. TAPI 2.0 introduced Inbound calls support.

Get the incoming call's phone number (Caller ID)

Hi all,
How can I catch the incoming call's phone number (Caller ID) using the MFC?
If I use .NET there is SystemState and the SystemProperty PhoneIncomingCallerNumber. But what is similar with MFC?
Has anybody maybe a code snippet?
Joline
For WindowsMobile 5.0 and above you can read it from the registry.
Don't remember the exact reg key... but look in the SDK for:
SN_PHONEINCOMINGCALLERNUMBER_ROOT
SN_PHONEINCOMINGCALLERNUMBER_PATH
SN_PHONEINCOMINGCALLERNUMBER_VALUE
Best regards
Øystein
Thanks. This works.
I wrote a program which uses notifications and catches an incoming call. To see if that works the program opens a message box if there is an incoming call. But regrettably first I get the notification from the system and AFTER hang up the message box from my program appears.
What can I do that my program catch the call BEFORE all other programs notify this (e.g. to change the ring tone depending on the caller id)?
Joline
IMHO iits not so easy. You must use TAPI library and/or directly Ril.
Where can I find useful information about how to use TAPI and RIL (maybe with examples)?
Joline
For RIL exists only fragmentary informations - good source is forum http://www.teksoftco.com/forum/viewforum.php?f=15.
For TAPI examples search Windows Mobile SDK.
I need the same phone number catching in PHP
Hi ,
I need to generate the popup using PHP while the call is landed in our phone.
how can we do this?
Thanks and Regards,
JayarajMohan.J

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)

WM 6.5 - Hide / Kill CProg.exe

Hi, i know this question might pops up every now and then. Tried hard to find a solution but still can't find anything workable. Here's my issue:
I'm developing an app for Windows Mobile 6.5 (With TAPI 2.0), using Motorola MC65 as target device, that would allow user to make calls and answer calls. For outgoing calls i have no problem whatsoever. For incoming calls, the OS default call answering screen (CProg.exe) will pop up when there's a call coming in.
After googling for solutions and trial and error a whole lot, here's what i did so far:
1. Use lineSetAppPriority to set my app to the top priority for handling incoming call. The call returns 0 (means success) but still the CProg will try to handle the incoming calls. Checked that the application name is correct as well.
2. Tried using FindWindow and SetForegroundWindow to hide the CProg. It works, when there's incoming call, the CProg will be hidden and my app is shown. However the button on my app couldn't be accessed as i think the focus or countrol is still with CProg. Tried using Focus() on my app and still not working.
3. Tried replace the CProg with an empty executable. After restart, my phone can't even access the radio network. Usually when booted up the device will prompt me for the SIM card's pin number, but this is not the case here. Tried calling in and operator's telling me can't reach the line.
Just wondering is there anyone, at all, that has encountered this issue before and get over it?
Thank you.

Categories

Resources