switch by speech from radio to softphone - Windows Mobile Development and Hacking General

It works: If you speak e.g. "home"
1. radio stops
2. wifi starts
3. softphone starts
4. display is getting dark to save battery
You have first to download and install
- mortscript
- vjvolubilis
- WirelessToggle (smartmadsoft) e.g. at www.todaysppc.com
- psShutXP
To use only the display-function of psShutXP, you have to put "Display Switch.lnk" to \windows\Startmenü\Programme and give him the link "\Speicherkarte\Programme\psShutXP.exe" 2
(the "2" is an important peace of the Link).
Then make a mortscript with the name e.g. "agehome.mortrun"
(agePhone is my Softphone because it is the only one which shows the caller with his name from the contacts. That makes it possible, that you see on your mobile who is calling to your landline, if you integrate the softphone to asterisk: www.richterverein.de/mhr/mhr082/m08209.htm ).​Give the file "agehome.mortrun" this content:
#mortscript
Run("\Program Files\smartmadsoft\WirelessToggle\WirelessToggle.exe")
Run("\Speicherkarte\Programme\vijay555\vjvolubilis.exe", "-radiooff")
sleep(5000)
Run("\Speicherkarte\Programme\AGEphone\Phone.exe")
Run("\windows\Startmenü\Programme\Display Switch.lnk")
Run("\windows\Startmenü\Programme\Display Switch.lnk")
(It's nessessary to have "Display Switch.lnk" twice in the content.)
Save the file agehome.mortrun in \Speicherkarte\Programme\.
Make a link to this file from \windows\Startmenü\Programme\
(e.g. "agehome.lnk").
Start the voice commander and give the Link a speech command (e.g. "home").
Because WirelessToggle changes the Wifi depending of its status (on->off off->on), Wifi has to be off before using the speech command.
Wolfgang, Hamburg
(HTC P3600)

Related

Bluetooth Audio Gateway Control

Application is designed to control BAG (Bluetooth Audio Control) service state on Windows Mobile systems. It can enable/disable audio/microphone routing to Bluetooth headset, set volume and microphone gain, enable/disable voice command launch application.
Writing this little piece of code was inspired by inability of AGEphone Mobile (ver 2.71) to collaborate with Bluetooth headset.
Really it can be used for other purposes as well. You can make some useful shortcuts or use it in some scripting language.
It is “command line” application (no GUI). Command line switches controls application behavior.
There are two working modes: “keep resident” (default: able to save and restore all settings) and “on fly” - for quick change.
Application itself and documentation with samples in attached file.
Thanks alot i'm downloading now!
gui in next ver?
Thank you very much for writing this! Your utility goes alone perfectly with AGEphone Mobile and is perfect for anyone who wants to use a BT headset AND voice command - highly recommended vs. the standard "BTAudioToggle" !
I'm trying to get this to launch via startup to see if it will work with my bt headset and voice command.
I'm just using "\Windows\bagctrl.exe /O"
as my shortcut link but it gives me an error the app isnt signed..I assume I'm probably just an idiot and not making my shortcut right..Can anyone help me please?
vidmabal said:
Application is designed to control BAG (Bluetooth Audio Control) service state on Windows Mobile systems. It can enable/disable audio/microphone routing to Bluetooth headset, set volume and microphone gain, enable/disable voice command launch application.
Writing this little piece of code was inspired by inability of AGEphone Mobile (ver 2.71) to collaborate with Bluetooth headset.
Really it can be used for other purposes as well. You can make some useful shortcuts or use it in some scripting language.
It is “command line” application (no GUI). Command line switches controls application behavior.
There are two working modes: “keep resident” (default: able to save and restore all settings) and “on fly” - for quick change.
Application itself and documentation with samples in attached file.
Click to expand...
Click to collapse
Many thanks, vidmabal - it works like a dream and does exactly what I was looking for!
MrDSL said:
I'm trying to get this to launch via startup to see if it will work with my bt headset and voice command.
I'm just using "\Windows\bagctrl.exe /O"
as my shortcut link but it gives me an error the app isnt signed..I assume I'm probably just an idiot and not making my shortcut right..Can anyone help me please?
Click to expand...
Click to collapse
Yes, application is not digitally signed.
If you want to use it you first must enable not signed applications (but there are plenty of them around).
To do this you can use "Advanced Config" or alternatively set registry value with some registry editor. "Total Commander" or "Resco explorer" can help you performing this task.
Registry key is "HKLM\Security\Policies\Policies" value name is "0000101a" (if not exists create new DWORD value) and must be set to 1.
P.s. I really don't know why you want to run it on startup and expecially with /O key
eazy2001x said:
gui in next ver?
Click to expand...
Click to collapse
Really not.
Application is designed to run without user intervention.
That’s why even all errors are silently ignored: no MessageBox for invalid keys or some other errors.
Even I don't see what GUI can be helpful. Except maybe for microphone gain changing. Volume normally has control keys on Bluetooth device itself.
Of course you can use it with Mortscript or some other scripting language and make some interface in here. Error codes returned (not present in attached document)
0 - No error (all OK)
128 (0x80) - Error redirecting audio (normally occurs if Bluetooth device is not connected)
129 (0x81) - BAG0: device not found
130 (0x82) - Invalid command line parameters
since u coded this, ive got a small question. do u think there is any chance to disable a remote microphone and use the internal one instead?
im asking this because the mic from my car radio totaly fails its job (JVC KD-BT11) and the internal from my phone (x1) is far supirior to it.
Nice work man, just find my bt headset behind the microwave oven (my girlfriend didn't know anything)
I'm going to write a small mortscript to controll the commnd line.
vidmabal said:
Yes, application is not digitally signed.
If you want to use it you first must enable not signed applications (but there are plenty of them around).
To do this you can use "Advanced Config" or alternatively set registry value with some registry editor. "Total Commander" or "Resco explorer" can help you performing this task.
Registry key is "HKLM\Security\Policies\Policies" value name is "0000101a" (if not exists create new DWORD value) and must be set to 1.
P.s. I really don't know why you want to run it on startup and expecially with /O key
Click to expand...
Click to collapse
I'll have to look into it more but I already have advanc config to run unsigned apps..
achmed20 said:
since u coded this, ive got a small question. do u think there is any chance to disable a remote microphone and use the internal one instead?
im asking this because the mic from my car radio totaly fails its job (JVC KD-BT11) and the internal from my phone (x1) is far supirior to it.
Click to expand...
Click to collapse
The application has nothing common with Bluetooth transport. Really it only send control codes to BAG service (Bluetooth Audio Gateway). This one is coded by Microsoft. I think other BT stack providers (for compatibility reasons) also supports such service.
According to documentation there is no such control code to enable only audio and leave microphone untouched. (Maybe there is, but undocumented, as M$ like to do).
Also it depends on BT profiles your device support. Maybe it has some "stereo headset" without mic?
Here i made a mortscript gui for this tool:
just extract to \Program Files\BTAGC
all files are included
Now make a shortcut of config.mscr in your start menu
vidmabal said:
The application has nothing common with Bluetooth transport. Really it only send control codes to BAG service (Bluetooth Audio Gateway). This one is coded by Microsoft. I think other BT stack providers (for compatibility reasons) also supports such service.
According to documentation there is no such control code to enable only audio and leave microphone untouched. (Maybe there is, but undocumented, as M$ like to do).
Also it depends on BT profiles your device support. Maybe it has some "stereo headset" without mic?
Click to expand...
Click to collapse
The radio itself offers "Bluetooth Headset" and "freespeech".
i tried to disable the freespeech (bluetooth settings in winmo) but somehow my phone still uses the radio as microphone.
guess i have to get my soldering iron and make some hardware mods to my radio. looks like disabling a bluetooth mic isnt going to work.
PS: but thx
old post i know, but do you know if there is a way to display the error msgs on screen somehow ? I think im getting errors.
Pytte said:
old post i know, but do you know if there is a way to display the error msgs on screen somehow ? I think im getting errors.
Click to expand...
Click to collapse
Really there is no much error processing here. But you can try to start app from say Mortscript and examine return code. See message #8 for return codes.
Thanks for your effort put into this.
Could you please confirm if/how is it possible to do just one thing:
1. Cyberon Voice Speed Dialer installed on phone.
2. BT button does not invoke it (audio route opened, and dialer screen opened, but no Speed Dialer. Reg Key exists)
3. Can this program help do it? (which mode resident/on fly, which extension to exe file and how to launch it (start-up or something else))
Many thanks in advance!
Thanks
Thanks a lot vidmabal, this is what I was looking for.
Cheers
Will this program work on an HD2 which i think uses a widcomm bluetooth stack??
dino_Donis said:
Will this program work on an HD2 which i think uses a widcomm bluetooth stack??
Click to expand...
Click to collapse
Really I don't know.
I am operating with service "BAG0:" ("Bluetooth Audio Gateway") - you can check if it is present in your system.
1. Launch Fdsoft Task Manager
2. Go into "Services" page.
3. Check that you have started service BAG0:
Alternatively you can check it in registry:
HKEY_LOCAL_MACHINE\Services\BTAGSVC
(Service name can differ, but "Prefix" value must be "BAG" and "Index" must be 0, "IsEnabled" value must be 1)

My iGo8 experience and config

** Don't ask/pm me for files or where to d/l **
Since someone PM me for iGO 8 config, I just share my exp & config in case anyone find it useful.
**TTS is very sensitive to Virtual Memory. (Please noted it's not the available memory you see at Settings > memory. So you may see 90mb+ available memory there but still not able to get TTS) and resource at IGO "startup" time (but doesn't matter after it started and working).
1. Make sure the rom use the slots wisely and give you enough VM (22mb+), U should ask your cook for detail.
2. Make sure you don't have **** load of craps at startup (/Windows/startup. HKLM/init, HKEY_CURRENT_USER\Software\HTC\BootLauncher, etc)
3. Make a full backup and disable unnecessary services/devices with Dotfred task manager. Personally, I don't need USSD, IPV6, Ipsec, ...etc)
4. Soft-reset maybe a good idea if you already run X1 for a long time.
5. "No Today Plugin" w/ AE Button Plus is very handy to deactivate/activate TF3D and free up some resource. There are mortscript to automate this in some thread.
My Steps:
1. optional: start BT and connect your A2DP audio system (JVC BT-1 in my case) in case you want the TTS and phone call goes to yr audio system.
2. run Igo8
3. After Igo8 is started and TTS is working. Minimize Igo8 by "End Call" button. Then start your fav music program (Core Player 1.24 in my case).
4. run Igo8 again to bring up iGO8 from minimize. And my music play (Play/pause/FF/RW) is controlled by AVRCP
My current config: X1i/a running my custom 3.2Full ML rom
iGO8: 8.3.2.90500(PNA version, the ONLY version works for both PDA contact and TTS).
Skin: Trimmed (since I don't need squared screen suppport) & modified (laneinfo_signpost.ini for bigger freeway sign post) v10 from LZF.
My sys.txt
Code:
[project]
;No need the name for the latest version
;name="igo8_pda"
;name="ui_igo8"
[folders]
app="%SDCARD%/iGO8"
[interface]
maxzoom2d=6000000
show_exit=1
mapfontscale=250
recalc_voice=0
;uncomment for PDA version
;Skin="ui_igo8"
[rawdisplay]
highres=0
[poi]
enable_pois_before_080217=1
;multipoi=1
[debug]
skip_eula=1
enable_roadshadow=1
sound_q_length=250
show_device_type=0
show_rawdisplay_info=0
enable_3D_buildings=1
enable_roadsign=1
enable_landmark_occlusion=1
show_oneway_3d=1
show_gps_pos=1
showcenter=1
show_speed_limit=1
show_icons=1
show_arrows_on_route=1
follow_gps=1
earth=1
autosave=0
[device]
type="ALIAS_XPERIA"
[tts]
;tts_buffer=65536 ; this could be important for preventing voice interruption
priority="HIGH"
Thanks for sharing this, I can do it myself but I'm sure it helps a lot of people.
However I'm concerned about the eprformance, so here are two suggestions:
1) set this
Code:
enable_3D_buildings=0
instead of enable_3D_buildings=1 , to disable 3d buildings since it's slow.
2) use speedbooster 2.0, and increase the priority of iGo8.exe . It seems to load maps and search faster and the interface drawing is smoother.
More on performance here: http://forum.xda-developers.com/showthread.php?t=503250
Need some help
Hi i have install igo8 in my xperia but when i open the file it stated
Fated error
Initialization error: no voice files were found.
Can someone pls guide me Thx
guys what about german devices ? its not %SDCARD% i got SPEICHERKARTE/IGO8
is this true config ?
after this i changed, my device is starting IGO8 for the first time, but after it breaks imidiantley up.. like an error !
THE START SCREEN APPEARS AND I GOT ON THE RIGHT UNDER CORNER INIT API MSG !
somebody knows some more ? or could help me ?
Very nice iGo8 config. Thanks for that.
Btw is there any way to keep the current map zoom when locating my GPS position. I mean when I scroll and zoom, and than I want to find my current GPS position, click on the button for that, I loose my current zoom, and go to a much lower one, where I can't see the streets.
Anyone any idea?
Funshion said:
Hi i have install igo8 in my xperia but when i open the file it stated
Fated error
Initialization error: no voice files were found.
Can someone pls guide me Thx
Click to expand...
Click to collapse
check in Igo/IGO8/CONTENT/LANG if you have any files in there.
jackleung said:
** Don't ask/pm me for files or where to d/l **
Since someone PM me for iGO 8 config, I just share my exp & config in case anyone find it useful.
**TTS is very sensitive to available ram (70mb+) and resource at IGO "startup" time (but doesn't matter after it started and working). Soft-reset maybe a good idea if you already run X1 for a long time. Make sure you don't have **** load of craps at startup. "No Today Plugin" w/ AE Button Plus is very handy to deactivate/activate TF3D and free 15-20mb ram.
1. optional: start BT and connect your A2DP audio system (JVC BT-1 in my case) in case you want the TTS and phone call goes to yr audio system.
2. run Igo8
3. After Igo8 is started and TTS is working. Minimize Igo8 by "End Call" button. Then start your fav music program (Core Player 1.24 in my case).
4. run Igo8 again to bring up iGO8 from minimize. And my music play (Play/pause/FF/RW) is controlled by AVRCP
My current config: X1i/a running my custom 3.2Full ML rom
iGO8: 8.3.2.80621 (PNA version), and the EXE of v8.3.2.73871 (PDA version) on the same directory just for import Outlook contacts addresses for PNA version.
Skin: Trimmed (since I don't need squared screen suppport) & modified (laneinfo_signpost.ini for bigger freeway sign post) v10 from LZF.
Click to expand...
Click to collapse
Can you please tell me what you did to make the signposts bigger?
On my device (Touch pro 2) the signposts are about 3/4 of the screen and I just cannot find any solution to make them smaller!
Bright.Light said:
Can you please tell me what you did to make the signposts bigger?
On my device (Touch pro 2) the signposts are about 3/4 of the screen and I just cannot find any solution to make them smaller!
Click to expand...
Click to collapse
I change to signpost_font_size=30. U can play around w/ the padding setting as well
Great post, these settings fixed things for me and gave me some ideas - thanks

[APP] BTAudioNav: Redirect your GPS navigator program audio output to any bluetooth h

This program can be configured to launch by a hardware button or with a link in your favorite program launcher.
What BTAudioNav does:
Turns bluettoth ON it it is currently OFF (Only Microsoft Stack)
Redirects all PDA audio to the car handsfree or tho the byke bluetooth helmet, etc.
Starts the GPS navigation program configured.
If while working a call is received, we can manage the call as usual.
Once the call is ended the audio is redirected again to the handsfree.
When the GPS program is ended, the audio is redirected again to the PDA speaker, the Bluetotoh radio is turned OFF if it were OFF initially and the program exits.
Configuration:
Copy the BTAudioNav.exe file to the navigation application folder.
Create a link to the navigation application executable in the same folder. For example, in your desktop, navigate to your mobile device, find the iGo8.exe file, and with the right mouse button select Create link. You can do also wiith copy/paste link in Resco explorer
Rename the link to NavApp. For example, if you have igo8.exe.lnk rename it to NavApp.lnk (maybe you can't see the .lnk extension but it is there).
Start BTAudioNav.exe
You can find BTAudioNav (free) in my page: http://beemer.sesma.eu/en/btaudionav.htm
Looks great!
Does it also work with non-A2DP headsets?
I'll try it out this weekend.
beemerTPPC said:
This program can be configured to launch by a hardware button or with a link in your favorite program launcher.
What BTAudioNav does:
Turns bluettoth ON it it is currently OFF (Only Microsoft Stack)
Redirects all PDA audio to the car handsfree or tho the byke bluetooth helmet, etc.
Starts the GPS navigation program configured.
If while working a call is received, we can manage the call as usual.
Once the call is ended the audio is redirected again to the handsfree.
When the GPS program is ended, the audio is redirected again to the PDA speaker, the Bluetotoh radio is turned OFF if it were OFF initially and the program exits.
Configuration:
Copy the BTAudioNav.exe file to the navigation application folder.
Create a link to the navigation application executable in the same folder. For example, in your desktop, navigate to your mobile device, find the iGo8.exe file, and with the right mouse button select Create link. You can do also wiith copy/paste link in Resco explorer
Rename the link to NavApp. For example, if you have igo8.exe.lnk rename it to NavApp.lnk (maybe you can't see the .lnk extension but it is there).
Start BTAudioNav.exe
You can find BTAudioNav (free) in my page: http://beemer.sesma.eu/en/btaudionav.htm
Click to expand...
Click to collapse
It's very useful application! thank you!
It is possible to switch between listen music and hear the igo voice?the connection between the car speaker is made by Parrot 3200 LS and device HTC HD with iGo 8.3.2....
Do you mean shortcut, i do not get a link option ?
"For example, in your desktop, navigate to your mobile device, find the iGo8.exe file, and with the right mouse button select Create link. You can do also wiith copy/paste link in Resco explorer"
[email protected] said:
It's very useful application! thank you!
It is possible to switch between listen music and hear the igo voice?the connection between the car speaker is made by Parrot 3200 LS and device HTC HD with iGo 8.3.2....
Click to expand...
Click to collapse
Currently not. BTAudioNav opens the HandsFree for reception and this blocks handsfrees that are also music devices.
Only calls disconnect the PDA audio. I'm working on this...
obsydian said:
Do you mean shortcut, i do not get a link option ?
"For example, in your desktop, navigate to your mobile device, find the iGo8.exe file, and with the right mouse button select Create link. You can do also wiith copy/paste link in Resco explorer"
Click to expand...
Click to collapse
With Resco explorer it is simple: Hold over the exe file and "copy". Then "paste as shorcut" and "rename" as NavApp
beemerTPPC said:
Currently not. BTAudioNav opens the HandsFree for reception and this blocks handsfrees that are also music devices.
Only calls disconnect the PDA audio. I'm working on this...
With Resco explorer it is simple: Hold over the exe file and "copy". Then "paste as shorcut" and "rename" as NavApp
Click to expand...
Click to collapse
thank you again! I'm waiting for the release!
BTAudioNav request for change
Hi Beemer,
Thanks for making this special kind of software and most of all for sharing it with others!
Do you still work on BTAudioNav or did you leave it "as is"? I would like to use is to route all my MDA Compact IV -audio (phone and navigation) to my carkit. That works fine, however:
Is it possible to make the connection with the handsfree-set only when the navigation-lady speaks? Because now my car-radio mutes as soon as I start BTAudioNav and I cannot listen to my car-radio when she has nothing to say.
Is there a way to use it in combination with HGPS-switch to (un)load BTAudionNav, HyperGPS and IGO with one click?​
Thanks a lot!

Htc hd2 voice command

Colin C.
HTC HD2 voice command not installed
Well guys and dolls for three days I have tried to solve the problem
and this is what I came up with………………..
……………………………………………………………………….
Correct me if I am wrong, but there is no built in voice dialing capability tools included with the HD2?
I would like to be able to (with the last 2 HTC Smartphones) be able to voice dial a contact over a bluetooth headset or car unit....
Any recommendations, or is this feature hidden somewhere that I simply have to activate? If there is an app I can get, preferrably free, please advise. Thanks!
…………………………………………………………………………..
The cab in the 4th post down. Cyberon voice, it worked for my HD2
CyberonVoiceSpeedDial_1_2_b080227_0R3.cab (311.1 KB, 3256 views)
…………………………………………………………………………
Windows mobile 6.5 in the HD2 seems not to have the button allocation program which would allow a button, say "phone", to be used to fire up the speech.
So how do I do this please
…………………………………………………………………….
Yes mate - this works with most shortcuts too!
With file explorer, go to \Windows\Start Menu\Programs and copy the voice dialer shortcut. Go back a couple of levels to the \Windows folder and paste it there. Locate the shortcut (should be at the very bottom of the file list) and rename it to long_send
That shortcut gets executed when you hold the call send button, and like I said, you can do it with most shortcuts.
…………………………………………………………………………………
It worked for me
Link application: Cyberon voice, it worked for my HD2
CyberonVo

Htc hd2 voice command

Colin Chambers
HTC HD2 voice command not installed
Well guys and dolls for three days I have tried to solve the problem
and this is what I came up with………………..
……………………………………………………………………….
Correct me if I am wrong, but there is no built in voice dialing capability tools included with the HD2?
I would like to be able to (with the last 2 HTC Smartphones) be able to voice dial a contact over a bluetooth headset or car unit....
Any recommendations, or is this feature hidden somewhere that I simply have to activate? If there is an app I can get, preferrably free, please advise. Thanks!
…………………………………………………………………………..
The cab in the 4th post down. Cyberon voice, it worked for my HD2
CyberonVoiceSpeedDial_1_2_b080227_0R3.cab (311.1 KB, 3256 views)
…………………………………………………………………………
Windows mobile 6.5 in the HD2 seems not to have the button allocation program which would allow a button, say "phone", to be used to fire up the speech.
So how do I do this please
…………………………………………………………………….
Yes mate - this works with most shortcuts too!
With file explorer, go to \Windows\Start Menu\Programs and copy the voice dialer shortcut. Go back a couple of levels to the \Windows folder and paste it there. Locate the shortcut (should be at the very bottom of the file list) and rename it to long_send
That shortcut gets executed when you hold the call send button, and like I said, you can do it with most shortcuts.
…………………………………………………………………………………
It worked for me
Link application: Cyberon voice, it worked for my HD2
CyberonVo
if you talking about the stock rom, voice command is installed in HD2

Categories

Resources