Incoming call screen - Windows CE Remote Spy - Windows Mobile Development and Hacking General

Hello,
I'm trying to create a free application which will show the incoming call screen. Here is what I have accomplished:
When a call has been made I can see the hidden dialog with the name "Phone - Incoming" (language dependent), when I use that Window Handle, I can show it again with ShowWindow. However, I can not push the green or red button to let the screen go away.
So I found out that CPROG.EXE contains the layout of the incoming call screen. But when I start cprog.exe it only shows the dialer. So does anyone know some more advanced debug software and perhaps some tutorial?
Or perhaps someone knows how to accomplish it?
Kind regards,
Themuzz

when showing a window I usually call:
SetForegroundWindow
ShowWindow
UpdateWindow
is this working better?

Related

Kiosk Mode Problem

Hi again,
the application which I'm programming shall run in kiosk mode. Currently, I have a quite simple realization by hiding the shell parts (Taskbar, Start-Icon and SIP button), and by resizing the main window to screen size.
That works quite fine, I've additionally deactivated all of the hardware buttons.
But: The application shall access the device's phone application. Every time the phone application is active, there appears the Start-Icon and other items of the standard WCE screen.
How could I avoid this problem?
I'm working on the ARTEMIS device, Windows Mobile 5.0 and I'm programming in native c++ (Visual Studio 2005)
thanks,
Günther
Quick question:
I assume you use SHFullScreen API to hide the taskbar and stuff.
At what point do you call it?
According to documentation and from my experience you need to call it after your window becomes foreground so doing it from WM_CREATE may be too soon. Try returning the HWND from Create window and using it to call the SHFullScreen isntead of WM_CREATE handler.
You can also, move/resize/hide navigation bar window and check it in loop.
Use a Remote Spy++ to determine windows classes.
@levenum: Yes, I'm using the SHFullScreen API. Currently, I'm calling it after pressing a button to toggle full screen mode. However, this doesn't prevent the application to show the taskbar after the internal Phone application has been used. Furthermore, after using the phone, my application automatically swiches back to reduced screen mode in any case.
@THEVK: Well, this also sounds reasonable - I could already acquire the handle of the taskbar and hide/disable the window. Now I still have to think about bringing the phone application or the contacts application to the background when they aren't needed anymore. But I think I could do that by simply adding some buttons to my main application and placing them at the location of the taskbar...
thanks and cheers,
Günther
Taskbar have a code, which bring it on top always, IMO.
I think, the best solution to hide taskbar window and place your custom window there.
disable kiosk
hi a customer brings a windows mobile phone which is in a kiosk mode and he don't know the password for it and i can not take it back again is there any way that i can disable kiosk mode??
It sounds more like the phone is locked by a password than that it is a actually in "kiosk mode".
In such case there is a high possibility the reason the customer does not have the password is because it is not his phone.
But if that is not the case (and I hope so) then you should give details about what kind of phone it is (exact make and model) and describe the kiosk application that is running.
Perhaps then someone will have the answer for you.

Kiosk mode & some questions

Hi,
my application on Windows Mobile 5.0 shall run in kiosk mode. Therefore, I've disabled the TaskBar and did some other stuff. Basically, it works great, but I'm still having a few problems:
1. When I hide the taskbar, also the "OK" Button which is needed by some dialogs gets hidden. Therefore, when the user e.g. wants to change communication/GPRS settings, there is no way to accept the changes or close the regarding dialogs. (I have to use these sort of things provided by the operating system - thus, the OS is not entirely hidden).
Is there any possibility to simulate the TaskBar's OK button within my own application? (E.g., by sending a certain Windows-Message indicating the OK-Button pressed?)
Or, alternatively, is it possible to just hide some parts of the TaskBar (e.g., the Start Button) and keep the OK button, clock, and GSM status visible??
2. Somestimes, there appears a system-notification window, e.g. notifying the user about establishing a GPRS connection, or regarding failures. Is it possible to intercept these dialogs and to hide them, or just to disable them such that the user can see it, but tapping the "Cancel" or "Settings" button won't cause any action?
I'm working with Visual Studio 2005/windows Mobile 5.0 SDK in visual c++ and I'm using the HTC ARTEMIS device
Kind regards,
Günther
1. You can send WM_COMMAND with wParam = IDOK.
It must work, because it's how app handle it!
Is there anything I have to consider when sending WM_COMMAND system-wide? A simple PostMessage(NULL, WM_COMMAND,...) seems not to work. Do you see any possibility to get a Windows handle to the active application that should receive the WM_COMMAND message?
Or do you have any idea how applications tell the TaskBar to show the OK or Cancel button? I think this happens via system-wide windows messages, doesn't it? But which messages, and how to intercept them???
Any help is still highly apprechiated (it seems that nobody else did ever have this problem, also in various fora I couldn't yet get an answer... )
I have the same problem with the ok buttom. My PDA have 1 buttom for the camera, so I use this buttom like an OK buttom, for now.
But I´m still trying to make the ok buttom be operacional on the blocked taskbar.

Call history

Hello all,
you know that when you tap the button 'call history' in today screen you get back to windows mobile - which is not so finger friendly and not so good lookin either.
My question is this:
Where can i edit the action of that 'call history' button? i wish it to open a different application.
i tryed ssmapa but it cant do it.
i think i need to edit a registry key or a manila file somewhere but i just dont know which one.
oh, i know there is a tweak putting a call history tab - I don like it and i dont need any more tabs.
thank you.
I too would like to know. When I installed Icontact, and the black dialer, my phone goes into Icontact from Phone->contacts in the black dialer, but i would like it to go to Icontacts from call history on the today screen, that would be nice
The author of SSMaPa claims that the call history is too much integrated in the whole system and so it shouldn't be changed. On the other hand - there should be a way.
i think it should be a way. as it knows to open a ccertain app for call history, it can open another
as i said, i think it is a registry key or a manila file
please help
yes i am looking for this information too
anybody?

Disable Incoming Call Notification for certain # mortscript

basically i want to disable the notification for a certain number so that when it comes in no notification pops up and no ring goes for it. If this can be done in mortscript great, but if not that is ok if there is an app. Eventually im tying in my mortscript made with egoist and this concept into the windows mobile SDK to make an app, but just curious on options that can do this.. Thnks!
MagiCall is the programm you searching for. It works great!
taht does look great, but im also looking to implement this into a mortscript also program SDK that im making. So its a callback program, but when a # callsback it does basically what that program does (just no ringer no notification, just either pickup or hangup the call (or just it let "ring silently" until someone presses end or send). Im trying to implement this into a script, aka what are the reg keys for the popup and ringer i guess (to temporarily disable while this goes on? or way to implemnt this into SDK or mortscript (but that program is the concept)
i found HKCU/controlpanel/notification/phone to be where phone notifications are..
how do i disable that for one #? (or disable in mortscript then at end of script renable.
i tried magicall and it did exactly what mortscript did. it still plays the ringtone and notification and then answers. Im looking for an option that completely disables all notificaiton whatsoever on this one number, no rining no sound, (just i guess that little icon on the top that has phone. Because ultimately the reg entry of an active call will tell my script to open the phone program. But i do not want any notification on the phone itself for that particular # (aka with morscript disable the reg before calling of notification, and then after pickup enable the reg agin? idk?
is this even possible?

Hidden Programs

Hey
Have been tooling around on my D2 for a large portion of the day and in particular looking for a way of mapping the save location for .wavs generated by the In-call Recorder but no such luck.
In the process I have found the following programs that are located in the Windows folder but don't appear to be connected to the HTC front-end:
Taskmgr
The WM6.1 version I suspect which can identify Activesync running in the background and also shows processes.
Field Test
Shows loads of data re radio and comms.
Hot Voice
Has a little cassete tape for an icon. Doesn't appear to respond to tapping.
Sim Lock
Has a little key in a circular barrel for an icon. Doesn't appear to respond to tapping.
Restore GPS
Has a little Sat' dish for an icon. Doesn't appear to respond to tapping.
Voicemail
Loads what appears to be a list for visual voicemail! A menu has options for 'Call Back', 'Reply' and 'Forward'. Doesn't appear to be configurable though. I did, however, find a reg' edit for 'Vmail' where you can enter two phone numbers at HKCU\Software\Microsoft\. Entering my number or the message centre number didn't seem to have any effect though but then I don't really know what I'm doing!!
Thoughts anyone??
I'm running the Stock ROM 1.39.405.3 (49068)WWE - 16/06/09
Radio: 3.43.25.19
Can no-one shed any light on any of these? I would have thought the idea of a visual voicemail would have got someone's juices flowing!

Categories

Resources