Auto Switch of sound to ear piece during Skype Calls only - Windows Mobile Apps and Games

There is a very good application which do the title job manually - Audio Route. But if I forget to switch sound back to the back speaker after Skype call, phone is ringing through the ear piece during normal calls and I miss calls.
So I am trying to find a solution for automatic switch only when Skype call established and return automatically to normal on closing of the Skype call.
Here is a small script for SKSchema which is doing the job (Tried on Touch HD WM6,5 Manila 2.1):
SCRIPT:
#eval(ID=0)
#rgget(HKLM;\System\State\Shell\Notifications\Active;ID;DWARD;ID)
#iftrue(reggot)
#label(not100)
#r(\Program Files\Teksoft\audioroute\AudioRoute.exe) #p(-backspeaker)
#goto(end)
#label(reggot)
#chkcondition(ID==100)
#iffalse(not100)
#r(\Program Files\Teksoft\audioroute\AudioRoute.exe) #p(-earpiece)
#label(end)
WATCH:
Watch for
Registry
Path
HKLM;\System\State\Shell\Notifications\Active;ID
Execute
:SKSCHM
with parameters
#r(#script) #p(path to script with script name) #onlyrun
Script works well only if no other notification appears during the Skype call is in progress. If some other notification appear the sound is returning to back speaker. So the start of call is tracing well. But I cannot find an event that can track the end of Skype call unconditionally.
Can somebody help in that matter?

Here is another way / script which is not affected by any other messages, it simply switches audio to ear piece when SKYPE window is in front and switches back to REAR speaker when SKYPE is minimised. It works well but requires you to start the SKYPE call and then use your volume button to switch the audio (it does this on my HTC TD2 because it effectively minimises SKYPE while the volume panel is open then when SKYPE comes back to the front it switched the audio to earpiece.
If you remove the "#" from the line "# Run(skype) " then you can just use tis script to launce SKYPE and then the rest is history as they say.
#Script to launch Skype and map the sound to the earpiece while Skype is active and running
#made by flitzjoy (at gmail dot com) - 04/22/09 - version 1
#Variables - path to Skype, path to AudioRoute and refresh interval
skype="\Program Files\Skype\Skype-PPC.exe"
audioroute="\program files\teksoft\audioroute\audioroute.exe"
interval=1000
# Code
# Run(skype)
sleep(2000)
mouseclick(264,480)
# sleep(500)
# mouseclick(225,475)
Run(audioroute,"-earpiece")
earpiece=1
Sleep(1000)
While(WndExists("Skype"))
If(WndActive("Skype"))
If(earpiece eq 0)
Run(audioroute,"-earpiece")
earpiece=1
EndIf
Else
If(earpiece eq 1)
Run(audioroute,"-backspeaker")
earpiece=0
EndIf
EndIf
Sleep(interval)
EndWhile
Run(audioroute,"-backspeaker")

After successfully using the above method, i found another way which was to use a Button Remapping program to allow me to assign a button to the AUDIOROUTE Commands for switching audio. I'm currently still using this method as it seems easier to use. I have assigned my HOME button to switch the audio when I'm running SKYPE, otherwise the HOME button does its normal job when SKYPE is not running.
Same problem is that after the call you have to remember to switch back to the REAR speaker so I wrote this small script to do that (albeit manually) and added a short cut to this script in to my Pocket Plus Today screen.
# Toggle between earpiece and speaker
#Variables - path to AudioRoute
audioroute="\program files\teksoft\audioroute\audioroute.exe"
# Code
Run(audioroute,"-backspeaker")
Exit
By chaning the line "Run(audioroute,"-backspeaker")" to this "Run(audioroute,"-switch")" you make it a Togle switch ON/OFF but as there is no indication as to which mode you are in I felt it better to be just a single way switch to REAR speaker.

kuwait said:
There is a very good application which do the title job manually - Audio Route. But if I forget to switch sound back to the back speaker after Skype call, phone is ringing through the ear piece during normal calls and I miss calls.
So I am trying to find a solution for automatic switch only when Skype call established and return automatically to normal on closing of the Skype call.
Here is a small script for SKSchema which is doing the job (Tried on Touch HD WM6,5 Manila 2.1):
SCRIPT:
#eval(ID=0)
#rgget(HKLM;\System\State\Shell\Notifications\Active;ID;DWARD;ID)
#iftrue(reggot)
#label(not100)
#r(\Program Files\Teksoft\audioroute\AudioRoute.exe) #p(-backspeaker)
#goto(end)
#label(reggot)
#chkcondition(ID==100)
#iffalse(not100)
#r(\Program Files\Teksoft\audioroute\AudioRoute.exe) #p(-earpiece)
#label(end)
WATCH:
Watch for
Registry
Path
HKLM;\System\State\Shell\Notifications\Active;ID
Execute
:SKSCHM
with parameters
#r(#script) #p(path to script with script name) #onlyrun
Script works well only if no other notification appears during the Skype call is in progress. If some other notification appear the sound is returning to back speaker. So the start of call is tracing well. But I cannot find an event that can track the end of Skype call unconditionally.
Can somebody help in that matter?
Click to expand...
Click to collapse
THe DWORD that you are monitoring is used for all Notifications so I think this is causing your problem.
I note that when there is an active SKYPE call there is a new folder appears in: HKLM\\System\State\Shell\Notifications\{DD958C3B-1F61-49BF-AEA8-25D1648B91E0}
With a file for Voice calls: [HKEY_LOCAL_MACHINE\System\State\Shell\Notification s\{DD958C3B-1F61-49BF-AEA8-25D1648B91E0}\100] this is the file to monitor on my HTC TD2 for incoming SKYPE call. If an incoming SKYPE message then it is [HKEY_LOCAL_MACHINE\System\State\Shell\Notification s\{DD958C3B-1F61-49BF-AEA8-25D1648B91E0}\103].
Therefore if you check your folder when making a SKYP call we can see if the folder number (in BOLD text above) is the same across devices (I have TOPAZ). If the same then see my post below with a link to a program that already exists for this purpose.
Please check the folder that is created when you make a SKYPE call and let me know.

OR you can log in your skype account through app called iSkoot which by default uses the ear speaker

I have HTC TD2 (TOPAZ) and this program Auto Switches AudioRoute back and forth for Native VOIP and SKYPE calls.
AutoAudioRoute by Oruam57:
http://forum.xda-developers.com/showpost.php?p=6211168&postcount=54

Program from the provided link works but from second call by some unknown reason.

Related

[MOD]Nexus One Low Mic volume(Shouting Syndrome) FIX

For over the years many people were left banging their heads on the wall because whenever you make a call u keep shouting on the phone but the other person cant here you. When you receive a call also the same scenario happens. I have changed two brand new N1 and faced the same problem. This is due to a very mediocre quality noise suppression mic available on the top left side on the back of your phone. Most of the time it fails to identify your voice and mixes it with noise and you are left screaming on the phone. This is more common in AMOLED versions.
Now to fix this problem, you require a rooted cm7 or miui rom as i havent tested it till now with ics or jb.(Testers needed)
1. Download the build.prop editor by jrummy from market or from here. Install it.
2. Give root privileges(on miui you have to enable root)
3. Open the build prop editor and in the search box type 'media'
4. You will get a line 'media.a1026.enableA1026' with attributes '1' ie its enabled. Its the noise suppression mic.
5. Change the attribute to '0' and save it. It will disable the noise suppression or secondary mic. It will ask for reboot and press yes. After that uninstall the app if u want or keep it. But don't touch any other settings.
6. Now make a call, and this should fix the 'shouting syndrome'.
7. Press THANKS if I was able to help you.
I found this in my build.prop for my current ROM.
Can you identify what it does?
media.a1026.nsForVoicRec=0
If u change its attribute to 1 it will enable the noise suppression mic hardware for voice recording or any recording software but it should remain disabled...else either you wont be able to record anything if ur phone has 'shouting syndrome' or if not only voice will get recorded and the background noise will be suppressed...My recommendation is to leave it disabled.
i cant find that line in built.prop, im using PA 3.68 JB
Its bcoz I think PA is a port n not souce compiled.
I thot its a very useful post...cant the mods make it sticky ??? :s
it mean this mod can fix issue of incoming call? ( loud sound like speaker turn on and caller cant hear my voice while incoming call)
dontknow about loud sound like speaker...mean frm where...speaker or loudspeaker????n yea it will fix the issue of other party not able to hear u.

Not Getting VZW Voice Dialer on LG BT Headset

I picked up an HBS-730. It sounds good, the Call button works fine for picking up a call or last number redial (by two short presses of Call) but when I long press it I don't get the voice dialer (or any other voice app).
Is there a file in System that I need to edit or run? I do have the LG and Google voice components installed. I've also tried unpairing and repairing the headset.
On a long press I end up with a roughly half second "beep" in the headset.
Alternately, anyone know of an app that captures a BT Call longpress, that you can then assign an app to?
(It sounds like trapping a longpress is something done in a .jar file, not a case of just touching the .kl files)
Thanks!
Hmmm....
Check your BT volume.
Volume is fine on calls, and playing music.
Headset Mic also works fine on calls and for voice commands if I manually launch voice dialer or Google search.
It just seems that a long press of the Call button isn't properly launching voice dialer, that's why I'm looking for an apk or a setting to edit.
markfm said:
Volume is fine on calls, and playing music.
Headset Mic also works fine on calls and for voice commands if I manually launch voice dialer or Google search.
It just seems that a long press of the Call button isn't properly launching voice dialer, that's why I'm looking for an apk or a setting to edit.
Click to expand...
Click to collapse
The LG voice dialer is bland, try this. I know it works.
https://play.google.com/store/apps/details?id=de.itdevcrowd.voicecommand&hl=en
I tried the VoiceCommand app from Play Store, unfortunately same problem. I don't get a voice ommand prompt, on either a single short press or a long press of the Call button on my BT headset.
A single short press does work to connect an incoming call, or disconnect, any a double short press does activate last number redial, so I believe my headset is overall working okay, but I am not hooking a voice command app at all. On a single short press nothing happens, and on a longpress I get a beep, but that is all.
Headset volume works fine, the mic works fine (if I manually launch VoiceCommand, whether the LG app or Google, it picks up fine), just that my phone isn't linking the Call button to launch any VoiceCommand app, on either a single press or a long press.
I disabled the lg voice command and use Google and it works for me
markfm said:
I picked up an HBS-730. It sounds good, the Call button works fine for picking up a call or last number redial (by two short presses of Call) but when I long press it I don't get the voice dialer (or any other voice app).
Is there a file in System that I need to edit or run? I do have the LG and Google voice components installed. I've also tried unpairing and repairing the headset.
On a long press I end up with a roughly half second "beep" in the headset.
Alternately, anyone know of an app that captures a BT Call longpress, that you can then assign an app to?
(It sounds like trapping a longpress is something done in a .jar file, not a case of just touching the .kl files)
Thanks!
Click to expand...
Click to collapse
markfm said:
I tried the VoiceCommand app from Play Store, unfortunately same problem. I don't get a voice ommand prompt, on either a single short press or a long press of the Call button on my BT headset.
A single short press does work to connect an incoming call, or disconnect, any a double short press does activate last number redial, so I believe my headset is overall working okay, but I am not hooking a voice command app at all. On a single short press nothing happens, and on a longpress I get a beep, but that is all.
Headset volume works fine, the mic works fine (if I manually launch VoiceCommand, whether the LG app or Google, it picks up fine), just that my phone isn't linking the Call button to launch any VoiceCommand app, on either a single press or a long press.
Click to expand...
Click to collapse
Did you ever get to the bottom of this as I am having the same issue. On my Xperia Z2 I can choose what I want to activate when I press the call button on my car kit but on the G3 it mutes my radio but never brings anything up on the phone.
I have also tested it with a different bluetooth kit and it still doesn't do anything so it is definitely a phone issue.
I froze some files and maybe froze something I shouldn't have, but factory resets are not doing any good for me as they seem to only partially reset my phone (Frozen apps still do not appear even after factory resetting and also flashing a totally new firmware!)
My G3 will not allow me to Voicedial and I was hoping someone with an operative G3 on their car kit could download a program called Clear Defaults or Default App Manager Lite and advise me what program they have as Default for Voice Dialing (I am not too sure what the heading is exactly as my G3 doesn't show it at all)
Clear Defaults
https://play.google.com/store/apps/details?id=com.zealdroid.cleardefaults&hl=en
Default App Manager
https://play.google.com/store/apps/details?id=com.appiator.defaultappmanager&hl=en
I am trying to get troubleshoot this issue instead of returning it as I bought mine from eBay.
Is there actually someone who has the voice-dialing in his G3 working? I'm waiting also for a solution.
Voice dialing with Google works fine on the phone for me. Via Bluetooth in my car is also fine. nothing in default apps mentions voice dialing.
Oooooo, the voice dialer in the phone.... mine does not work either.
Does there happen anything when long-pressing the button in your car/on your Bluetooth headset?
Long pressing the button does nothing in the car or not.

[Q] Galaxy S2 - Call Volume issue

Hi,
I am using the Samsung Galaxy S2 from last 2 years and I faced minor issues which were manageable. However, I have come an issue with call volume being too low which is troubling a lot. (Android Version 4.1.2)
When I am using my earphones during an ongoing call, I have observed if I chat on whatsapp simultaneously, the incoming message tone reduces the in-call volume. For this, I would quickly unplug the earphone from the mobile and plug it back and the in-call volume becomes normal.
What happened recently, I was on a call without earphones and I had to reply to a message on whatsapp, so I opened whatsapp and the incoming message tone on whatsapp reduced the volume on my phone.
I could unplug the earphone, but not sure how do I get the in-call volume to normal ?
Does anyone have a solution to this ?
I read on various forums, about setting the volume by accessing *#197328640# and option 5 for audio, but when I select option 5, it stays on the same page.
Hoping to get some interesting answers.
Audio routes
There is an Android API called AudioManager which allows applications to specify how their audio will behave on the device. It also tells OTHER APPS how their audio should behave while this app is running. It sounds like you're having a 'ducking' issue. This is when an app you run tells all the other apps that there audio should go below (quieter than) the app that's running. Apps are supposed to undo these changes when you leave them but sometimes (as you've found) that doesn't happen and audio routing (earpiece, speakerphone, volume) can start to act strange. On Samsung devices a power OFF / power ON cycle will resolve the issue, and there are probably apps in the app store that would let you modify the AUDIO MANAGER MODES.

How do you make/receive a call on a ZW2 with 1.4?

Can anyone please explain how to make and receive a call on a watch with a speaker? I tried initiating a call on my ZW2 and it went to the phone. I then tried answering an incoming call on the watch and it also went to the phone. Is there a way to make it go through the watch (only if initiated by the watch)?
Yes, I do have Marshmallow on my ZW2. Yes, this is the model with the speaker.
I sideloaded the update and initially had the same issue, I would scoll to my contacts and then try a call, it would use the speaker on the phone.
To fix it I sweep to the menu on the right (applications), then scrolled down Phone. From the phone application I then placed a call from the contact list that came up. That activated the speaker for me.
On the Zenwatch 2:
-Go to settings then scroll down to "Bluetooth"
-Tap "Play phone audio on watch on"
-Go to settings then scroll down to "Sound"
-Make sure the volumes are high enough on all of them so you can hear
To make a call on the Zenwatch:
-You can either say "Okay Google, call ______" or you can keep swiping left from your watch face until you see a bunch of your contacts
To receive a call on the Zenwatch:
As far as I know, if you answer the call with your phone, it will automatically use the phone's speaker.
If you answer with the watch, it should be using the watch's speaker
Okay, I found it. Thank you, both KevOne and Bladder61.
https://goo.gl/photos/xP58KAdPdxrh3PQ67
I've got some questions also. I'm trying to decide between the smaller Zenwatch 2 without the speaker and the larger one. Wondering really how useful the "call from your watch" feature really is.
1) If I've got a bluetooth unit in my car, will the phone automatically switch over from the watch to the in-car system when I turn the ignition?
2) Is the watch speaker loud enough that you could carry on a conversation on the street? I imagine you might have to hold it up to your ear.

Modify bluetooth headset button action (longpress)

Hi,
I have recently bought a BT headset for my motorcycle (Can't post links...it's called boblov intercom on amazon...1st result ).
What it does is, as expected, plays/pauses music if I press the button on the headset. If I longpress the button, it calls the last dialed number (who ever uses this...). I would like longpress to open google now (="OK Google") and start listening to me instead so I could control my phone with voice while riding.
I've made some bluetooth logs and ran then through one of the random log analysers I found online.
My question is...is it possible to modify the command the phone receives from the headset (most apps i tried only deal with the short-press actions...and this action seems hardcoded into the headset).
I have attached a screenshot of the translated log.
Any ideas?
Thanks!
Up !
Do you find any solutions ?
Having the exact same idea, hoping you got something !
o7

Categories

Resources