Send key during a call? - Windows Mobile Software Development

Hey all,
In my app, I want to make a app for a pocket PC WM6 which do that:
I call from a phone. The app in PPC will hang up. When I press some keys on my phone. The app will know which key I pressed.
My idea same a call to switchboard. Switchboard will auto-response my call by a guide voice: "for ... press 1, for ... press 2...". The switchboard will do certain job according to my choice (press a certain key).
How I the app on PPC can detect the pressed keys during a call?
Thanks a lot!

Nobody can help me?

Hey,
Sorry, but I don't fully understand what you are trying to do? [Your english (or punctuation at least) is a bit choppy).
As far as sending Key presses during a phone-call, you can use RIL for that (Radio Interface Layer). First you initialize RIL and get the notification of a call going on, and if there is a call going on, then you use the RIL_SendAKey() function.
Look up info on RIL (C++). That should get you where you want to be
Hope this helped,
CycloneZephyrXZ7

Thank Cyclonezephyrxz7.
Sorry because my English is really bad. I have never heard RIL but I will check RIL.
In my case, I have a phone and a PPC. I intend make a software will run on PPC (with WM6). The software will work as:
+ When there is a call going on from my phone, the software will auto connect.
+ After that, if I press any key on my phone, the software will know which key was pressed. Example: I press 1, the software on PPC will show "1", I press #, the software on PPC will show "#".

Related

Blank Button on Phone Dialer

I am wondering if blank button on the phone dialer of my Magician can be remapped to something like the loudspeaker (instead of 'Hold' which appears after a call connects) so that when i make a call I can switch directly to loudspeaker at the touch of a button?
Thanks
Rob
Rob,
I think it's generally thought that enabling the loudspeaker is a hardware limitation, not software. I'm not sure if it is, my VJPhoneShortcuts will do it on WM5, and I just got bored and never tried to find out how to do it on the Magician. However, for remapping the blank button, Mamaich has made a contacts dialler or something similar that can be mapped onto that button. It's an amazing program. If you can't find it on the board, shout out.
V
tnx 4 the feedback, yeah it's a good idea to use the button for speed dialling (if the speakerphone is not an option) and i found the link for that MaMaich thingy but it's dead http://mamaich.kasone.com/imate/cproghook.rar Couldn't find it anywhere else. if u have any hints plz tell

AE Button 2.6.6 - 2.2.09 - Experiences

there is a new version of AE Button! The Button map application! Any experiences? Is there an improvement for the HD? Let´s test
Anyone tried?
I wish to know too =)
Is it free?
I have this registered.
The unregistered version is actually almost fully functioning and well worth trying.
I choose to register since I found the application useful and it seemed fair to pay the developer.
THANKS, for the new version alert. But, I suspect there is little new as the history details for this version are:
02.02.2009(v2.6.6):
Fixes:
Backlight works on HP 612c now
Languages:
Updated Traditional Chinese resources (thanks to Chow Yuh)
AE Button
I find this software very useful. It completely eliminates the need of locking/unlocking software for me.
I just set double or triple tap to answer and hang up keys. This will prevent accidental key press when taking HD out of pocket. To answer call, simple double/triple tap on answer key or simply slide on screen to answer (built-in screen lock will be unlocked during incoming call).
Set press and hold volume up to toggle wireless and down to toggle bluetooth.
This one single software solved all my screen locking + lack of buttons issues!! Believe me i tried touch lock pro, sensor lock, slide to unlock and what ever you can think of (I didnt like because I think its not really practical for me to be rolling phone 180 degrees or shaking back n fourth in meetings to answer a call.)...I know you guys may argue it has light sensors to unlock, but I'll be in meetings and presentations which might be low light conditions. I do not want to set very small for polling interval either. If you have tried all else, no harm in trying this.
if you guys face the same problem like me, this tiny software might be the right solution for you.
The best combination for me:
Gyrator2 (fine tuned based on my apps) + Lumos + AE Button Plus + Touch Response (for onscreen keypress only).
The only flaw that i could find to complain is that they should really change the icon...it looks like bread/potato/or whatever...
Headset Buttons
Hi there,
is this program able to capture the button press events from a headset wired/wireless?
What I'd like to achieve is, to switch to the next song in Mediaplayer as long there is no incoming or active call.
Is that possible?
Thx in Advance
Steve
noctifer said:
Hi there,
is this program able to capture the button press events from a headset wired/wireless?
What I'd like to achieve is, to switch to the next song in Mediaplayer as long there is no incoming or active call.
Is that possible?
Thx in Advance
Steve
Click to expand...
Click to collapse
Hi, I believe not. I understand the press events from headsets and bluetooth AVRCP are actually trapped in the hardware by HTC and by-pass the operating system and are sent directly to TF3D music or WMP.
If you check on the AEB plus site: http://ae.inc.ru/ it says the app is not for specific applications.
(Also: the AEB+ icon does look like a loaf of bread !!)
Will it allow me to remap the Home button on the Touch HD?
CorruptedSanity said:
Will it allow me to remap the Home button on the Touch HD?
Click to expand...
Click to collapse
Nope. All the others but not the home button.
I have:
1. volume up. 1 press = arrow up, 2 press = volume up, long press = plamp (flash light)
2. volume down. 1 press = arrow down, 2 press = volume down, long press = resco notes recorder (auto)
3. OK / back. 2 press = rotate screen 90 deg
I keep the long press on phone end and long press on phone start handled by the system.
Dave, thanks a lot and you have some very smart short cuts
I may very well adopt them too.
CorruptedSanity said:
Dave, thanks a lot and you have some very smart short cuts
I may very well adopt them too.
Click to expand...
Click to collapse
Thanks, but I'm needing a suggestion for replacing the flash light. Never used this now "for real" so I shall find something else for the long volume up press ...
I have almost identical settings but use the long up as a bluetooth toggle. This is a fantastic program and really eliminates one of the few shortcomings of this phone.
Cheesy Dave said:
long press = plamp (flash light)
Click to expand...
Click to collapse
do you know where i can get this plamp please?
P Lamp v1.5 http://pda.jasnapaka.com/plamp/
Question guys,
How do I map the call button to long press (like the smallest long press ever) to get the Start menu?
Thanks
Sorry, I don't understand what you want. Is "call button" the "end call" or "start call" ?
Dave, call button is the left-most button that answers/makes a call. If it were colored, it would have been green.
I want to short press it to start menu (heres the tricky part, I have Quick Menu as my start menu).
Basically I miss the Start button from my TyTn II (Kaiser) and the scroll on the top. I have managed to set the volume buttons as scroll up/down and want the start call button to imitate the start menu button when I long press it. But I want to long press it for as little time as possible. So say 1 second as opposed to 3 seconds.
I see. So, two points:
1. Get quick menu
2. Use a "short" long press
I asked because the green/start left button is assignable in the standard settings - button to the <start menu> but I don't know how to do this to quick menu. I guess if you make a short cut to quick menu and drop this somewhere in the Programs folder in windows (or a sub-folder) then the standard settings - button should find it OK.
But, for option 2 I have no idea. Instead of the "short" long press how about using AEB+ with a double press ?
Dave, I see from the options that you can set the delay. I guess this from the "Key Press timeout" menu where you can select units of time starting with 200ms to 900ms. I am guessing that 200ms of time needed for a long press would be the shortest longpress possible.
Any how, how to assign the green button to start menu? It doesnt work for me. I have it as 2 presses or 3 presses or long press for start menu but nothing happens.
one problem it works to rotate(volume up which i assigned) but as soon as i make a call or recieve a call it no longer works untill i soft reset???? im i missing a setting or something? i have duttys rom, please help! : ) thanks!

[REQ] Possible to remap mute button on back?

anyone know of a way to change the function of the mute button on the back of the phone? I don't think I'll hardly ever use that function, and it'd be great to give it another purpose.
Appreciate any help...
it would be great to be able to use it as the camera button.
i know it's close to the lens, be careful.
m to record button
that would be great if we can remap to record but i used aebutton plus and it cant detect it, any other software recomendations other than Vito and AEbutton mapper?
Any new info on this? I'd love to use the mute button for something else, even if it meant the face-down mute feature wouldn't work anymore. I renamed a program's .lnk file to "Short_mute.lnk" and dropped in \Windows but it didn't work like it does for some buttons.
It is possible and it works like a charm for me.
I ran across a keyboard remapper by Tarkim linked below.
http://forum.xda-developers.com/showthread.php?t=554240
Just make sure you choose the correct version (GSM or CDMA.)
I have used it on all of my keys, including the mute button on the back and so far it has been working great!
I agree with glw35 - I'm using this program for emulating Czech keyboard layout (CShack version - e.g. FN+S = š) on HW keyboard and it's working like a charm! And I remapped back "Mute" button to "Close active window"...
ChAr
Id like to map the mute button to the camera
Anyone know how to do that wit this lil app?
1) Start program configuration applet Settings/All Settings, tab System, Keyboard Config
2) Menu/Add key
3) Press desired key (e.g. Mute Button)
4) Choose Action=Run program
5) Into Program edit box enter \Windows\Camera.exe
6) OK
7) Update Config (needed to reflect config changes to keyboard driver)
And it should work, I Yust tried it on "Back" button.
ChAr
Mute button as record button
since i bought the device i always saw the mute button as record button, with mort script here is my contribution
just zip and put anywhere in your device, as the software Keyborad config to launch it on long press for example, the script will if HTC Recorder software is not running then it will run and start recording, and if it already runing then it will stop the record, the script even has a place to takle device being locked so it will unlock and do the process
regards
mute button to record, help please.
hi everyone. this is my 1st post, and so far, i've been able to answer most of my questions by searching, so apologies if i dun something wrong, or am just dense and missed somethin.
ok, i have a meeting next week, and need to record it, surreptisiously.
1st, as pointed out above(havent figured out how to quote yet !) i've installed tarkim's key remapper.
seems to work fine, but, im trying to make the mute button on the back turn on the voice recorder. i've tried getting it to use record.ink and record.exe but although both options open the voice recorder, neither makes it actually start recording! im looking for a 1 button action to record voices.
i tried the zip above too, but it says 'unable to open, open from within application then try again or something.
can anyone help me please ? my career hangs on being able to record this meeting .
also, when using the remapped mute button, the screen lights up and shines from underneath the phone, which might be a bit of a giveaway lol, anyway to make the recorder work with the screen still off ?
and also, how long can you record for ? is there a limit ? or is it dictated by the storage space available ?
thanks in advance, thanks to all the mods n gurus here at XDA, you all rock, n i'm a confirmed HTC n winmo addict now lol.
Garrickus.
okay am here lets try to get the software working for u, first install attached file, then answer this question, do u use a password to lock ur device or not? then i will re attach some files for u to help u
mute button to operate voice recorder continued
hi rabia, thanks for your blindingly quick response ! unfortunately, i've been away for the weekend and unable to post.
i have a uk orange branded locked tp2. this has the htc voice recorder (version 1, build 1914.1333) already installed. can you explain please what the above file is for ?
in answer to your question, i do not use a password to access my device.
as mentioned in my last post, i have successfully mapped the mute button to the voice recorder app, using tarkims key remapper mentioned near the top of the 1st page, but this only starts the app, not starts the app recording. this is the app similar to a dictaphone, not the 'in call' voice recorder.
thanks for your time by the way, hopefully one day, my tp2 will work exactly the way i want, but i guess i'm a perfectionist lol.
Garrickus.
Garrickus said:
hi rabia, thanks for your blindingly quick response ! unfortunately, i've been away for the weekend and unable to post.
i have a uk orange branded locked tp2. this has the htc voice recorder (version 1, build 1914.1333) already installed. can you explain please what the above file is for ?
in answer to your question, i do not use a password to access my device.
as mentioned in my last post, i have successfully mapped the mute button to the voice recorder app, using tarkims key remapper mentioned near the top of the 1st page, but this only starts the app, not starts the app recording. this is the app similar to a dictaphone, not the 'in call' voice recorder.
thanks for your time by the way, hopefully one day, my tp2 will work exactly the way i want, but i guess i'm a perfectionist lol.
Garrickus.
Click to expand...
Click to collapse
good, get the zipped file extracted, put the MSCR file on windows directory, along with the link file, then assign the back button to launch the "LINK" onlythen it will launch recorder and record then when mute button pressed again it will stop it and close the application
regards
ok, so i've unzipped the two files and copied them to the windows directory. then i deleted the previous association with the mute button, and assigned it to your record.link. press the mute button and hey presto, the voice recorder opens, but doesnt start recording guess i must be doing something wrong somewhere, but i've no idea what lol. guess im starting to do your head in Rabia, cos it's definately starting to do mine in
Garrickus said:
ok, so i've unzipped the two files and copied them to the windows directory. then i deleted the previous association with the mute button, and assigned it to your record.link. press the mute button and hey presto, the voice recorder opens, but doesnt start recording guess i must be doing something wrong somewhere, but i've no idea what lol. guess im starting to do your head in Rabia, cos it's definately starting to do mine in
Click to expand...
Click to collapse
i guess there is something wrong, first have you got mort script installed in your device?, and secondly it it opend record and does not record it might still means u have not updated ur configurations after reassigning the button, to know if the program working correctly or not launch it from the .mscr file if it works from there then it works fine if not then u either dont have mort script installed "http://www.sto-helit.de/downloads/mortscript/MortScript-4.2.zip" or u dont have touch pro 2
regards
well, if you'd said at the begining 'do you have mortscript installed?' rabia
ok, so i had mortsript on my storage card, so i installed it
and nothing changed , except, my storage card became invisible
so i swopped cards, deleted everything, and tried again, including ur link to mortscript (4.2 instead of 4.1 i already had).
hey presto, now when i press the mute button, it stops whatever i'm doing, takes me to the today screen, and applies the screenlock
i now have a one button push to lock my phone
just to make sure, i pressed ur record.mscr file in the windows directory, and the same happens
to be fair though, my phones been acting up recently, so im considering a hard reset at the weekend as well as re formatting the storage card.
i'll try this again after as i still think this would be a kool feature to have.
i'll keep u posted, and once again, thanks for all your help.
p.s.- i mite be a noob, but i know i've got a TP2
Garrickus said:
well, if you'd said at the begining 'do you have mortscript installed?' rabia
ok, so i had mortsript on my storage card, so i installed it
and nothing changed , except, my storage card became invisible
so i swopped cards, deleted everything, and tried again, including ur link to mortscript (4.2 instead of 4.1 i already had).
hey presto, now when i press the mute button, it stops whatever i'm doing, takes me to the today screen, and applies the screenlock
i now have a one button push to lock my phone
just to make sure, i pressed ur record.mscr file in the windows directory, and the same happens
to be fair though, my phones been acting up recently, so im considering a hard reset at the weekend as well as re formatting the storage card.
i'll try this again after as i still think this would be a kool feature to have.
i'll keep u posted, and once again, thanks for all your help.
p.s.- i mite be a noob, but i know i've got a TP2
Click to expand...
Click to collapse
sorry i was not suggesting anything, it was a joke, anyways try to replace the mscr with the attached file and tell me exaclt what happens
ok, so i replaced the record.mscr in the windows directory, with the record.mscr.txt in the zip above, and now, tarkims keyremapper doesnt see it, so i cant configure the mute key to run it as a program lol.
Garrickus said:
ok, so i replaced the record.mscr in the windows directory, with the record.mscr.txt in the zip above, and now, tarkims keyremapper doesnt see it, so i cant configure the mute key to run it as a program lol.
Click to expand...
Click to collapse
there should not be .txt to try renaming the file to record to .mscr only, am avalable online, i will stay till u get it right its hard to write a script for a different phone thats why i need us to stay communicating
regards
ok, so i renamed the record.mscr.txt , removing the .txt . then i retried the keyremapper, but again, it dint't see it, so i went back into the windows directory, and hey presto, it had renamed itself record.mscr.txt

[Q] Is there a hack / tutorial to set a button for ending calls ?

Hi,
Ending a call is really, really painful (especially if you push ie home button right after starting a call).
Some roms [shadowfrost, defrost] contains a module hack that makes the power button ending calls.
Does someone knows how to make a patch and/or a better way to get that?
PS: does someone knows what's the n°107 key which is defined in bravo-keypad.kl keymapping file?
If you're in the call screen you can use the power button to hang up.
Any other solution?
i.e. ending call with trackpad or back button?
Thanks,
Peter
if you have root, then you should be able to map the hardware buttons to other actions, by changing the specific key map file, eg. change the trackpad button to end call.

Disable Send Key

My send key is sticking.
1) How do I disable the send key
2) how can I start the phone application with a shortcut ( I would need it if I can disable the send key)
3) how do I change my text message that I can send for an incoming phone call. I've changed it before, but cannot remember how.
1) Why on earth would you want to do that?
2) Your start menu should already have a short-cut somewhere in it with the phone application, just find it and use it.
3) Start Menu/ Settings/ Personal/Phone/Advanced (this is on a WWE rom).
Ok, found #4.
Also, lookined in the windows directory and found vtkey.exe (phone application) and redial.exe (redial). Does anyone see a problem with renameing them so hopefully my send key will not be able to use them?
There is a System -> Button application. Guess I could map the end key hold to the vtkey_rename.exe?
OK, how do I rename system files?
Because my hardware send key is sticking and it constantly opens the phone application and redails the last person I spoke to. My friends are getting quite annoyed and I do not want to spend a week of my life reloading a new phone with my software.
Do you have a better solution?
I do not have a phone dialer application on my start menu. I had to find vtkey.exe in the windows folder.
thebrenda said:
Because my hardware send key is sticking and it constantly opens the phone application and redails the last person I spoke to. My friends are getting quite annoyed and I do not want to spend a week of my life reloading a new phone with my software.
Do you have a better solution?
I do not have a phone dialer application on my start menu. I had to find vtkey.exe in the windows folder.
Click to expand...
Click to collapse
Maybe you can remap the hardware key to nothing? The remap program is in the themes and apps section.
Maybe you can remap the hardware key to nothing? The remap program is in the themes and apps section.
I turned off all the Sense/FLO stuff that I could find. Mostly I have just stock WM 6.1. I do not see themes. I do have Settings-> Personal -> Buttons. But I cannot figure out how to add the Send Key. I have the following. My phone has 4 buttons and not really sure how to use the Buttons screen.
Send Key (Hold) <None>
Button <Today>
Button <Context Menu>
Just tryed to remap the key using Rhodium Keyboard control. Worked flawlessly
Where is the keyboard control?
I have T-Mobile HTC TP2, WM 6.1.
Take a copy of a link file .lnk of any application you have on your phone and rename it to short_send.lnk and put in \windows. Same trick works with long_send.lnk, short/long for end and power buttons. By doing this i created button shortcuts to apps i want. Super convenient.

Categories

Resources