View Full Version : [APP][UPDATED]audioswitch
MarceloFB
9th April 2009, 11:03 PM
Hello,
I have been working on a new audioswitch app to replace troca2 and audioswitch.
I have started to make a new app called audioswitch v2 but soon ran out of time... and xiexin1008 got the project and had made and new experimental app.
Today, I had some free time, and made other app with a "switchclass" that deal with all the ril stuff(based on my first class that is on the Xiexin project), so others can improve and use it even as a dll in c#(u have to build it as a dll first)
I called it "simple audioswitch".
How it works: run the program and "put it on the background"
volume "up and down" switch the audio.
volume "down and up" close the app.
if an incomming call shows up, the audio will be routed back.
I have tested it only in my p3301. so I do not know if it works or not in other phones.
Once more the license:
It is free code, free binaries, and all work derived from it.
use at your own risk and I am not responsible for nothing...
Support on the forum.
-------------------------------------------------------
about the various methods of switch the audio...
mostly uses drivers messages.
u can find very useful information about it at www.teksoftco.com, even a audio driver wrapper that spy at audio messages.
by this time it is not for me, too busy.
-------------------------------------------------------------------
will open sorce of this app so others can inprove it.
Thanks to Xiexin, I will not post his work now, will wait for his email.
Thanks Dan-Marius to all the feedback.
Thanks.
Hop u like. sorry for the messy code(is an one hour work).
tucahara
12th April 2009, 06:42 PM
@MarceloFB
The ideea of listeninng RIL for incomming calls is a very good one! Congratulation, you did a great job. Yes, a really great one.
The simpleAudioSwitch.cab (http://forum.xda-developers.com/attachment.php?attachmentid=175550&stc=1&d=1239554489) file is attached.
Guys, it works very fine.;)
Thank you Marcelo!
kulen
21st April 2009, 09:24 AM
I tried this program and I like using hardware keys pattern to change audio. I like the most that I don't have to change the way buttons worked before. this is the best solution I saw till now.
But there's is still a problem. It seems all programs of this sort use same procedure to route audio. But when audio is routed in my phone it seems it doesn't come from internal speaker. Or maybe not exclusively from internal speaker.
Sound still can be heard from external speaker but quieter.
So I can say now that we have good user interface but routing mechanism needs to be improved.
I have HTC Touch Cruise with 3LIT3 FULL ROM
MarceloFB
22nd April 2009, 05:07 PM
I tried this program and I like using hardware keys pattern to change audio. I like the most that I don't have to change the way buttons worked before. this is the best solution I saw till now.
But there's is still a problem. It seems all programs of this sort use same procedure to route audio. But when audio is routed in my phone it seems it doesn't come from internal speaker. Or maybe not exclusively from internal speaker.
Sound still can be heard from external speaker but quieter.
So I can say now that we have good user interface but routing mechanism needs to be improved.
I have HTC Touch Cruise with 3LIT3 FULL ROM
The "routing mechanism" is using RIL lib, by now thre is no other "easy avaliable" way to rout the audio.
Try changing the radio or the entire rom of your phone, I have tested in touch cruise this method and works fine, but with the stock rom.
kulen
22nd April 2009, 08:36 PM
can you please tell me which ROM, radio and protocol version have you tried it with, so I can try the same and compare with this one I have?
MarceloFB
24th April 2009, 06:28 PM
can you please tell me which ROM, radio and protocol version have you tried it with, so I can try the same and compare with this one I have?
I think the latest official ROM.
thefatalrisk
5th May 2009, 08:03 AM
Great app.
Just started using it on my HTC Touch HD with Dutty ROM v3.3. It seems as though Up & Up switches the audio for me (not up and down). Down and Up exits the app.
sohil
5th May 2009, 10:16 AM
what is the basic use of this prog...
thefatalrisk
5th May 2009, 01:02 PM
Also, earphone is silent when the phone is on vibrate (and probably when it's on silent too although I haven't tested it).
Any way of fixing this?
MarceloFB
6th May 2009, 10:06 PM
Also, earphone is silent when the phone is on vibrate (and probably when it's on silent too although I haven't tested it).
Any way of fixing this?
can be the volume or the ril mutting the audio. If the problem is the first is easy to solve, if it is the the second it wont be... just programming...
thunder6290
11th May 2009, 07:07 AM
Hi,
I still use the old version with mortscript to control the program and I love it .
I have a request for this new version.
1 - Can we decide which key controls the audio switching ? ( Since I have a Fuze and I have a PTT button which I never use )
2 - also is it possible to add the bluetooth handfree to audio switch options as well ? sometime when I'm driving I love to use my voip or skype over 3G using my bluetooth handfree .
Sincerely
Thunder
rrene
10th June 2009, 05:41 PM
Will there be a new version, which is working with Skype 3.0 mobile beta?
benqe73
10th July 2009, 12:49 AM
I am having problems trying to get this to work with my Benq e72 phone running Windows Mobile 5.
I am trying to use it at the same time as Ageet Agephone mobile 2.76.
http://www.ageet.com/us/products-agephone-mobile.htm
It seems like Agephone mobile 2.76 takes over controls of the volume up and down button.When I push the up and down volume control button it just wants to change the volume and not switch the speaker/earpiece - I can't get Audioswitch to work. [Maybe I am not doing something simple properly?] But at least it installs correctly.
So then I try AudioRoute http://www.teksoftco.com/forum/viewtopic.php?t=1995
Unfortunately this won't install properly - it says something like:
installation file is not intended for this device
I have tried modifying the cab file like it says here on the teksoftco forum:
I'm also a creator of WinMo apps (www.saman-cz.com), so I know that recreating cab is just a piece of cake.
But OK. To modify cabinet get WinCE Cab Manager (trial is good enough), open cab, go menu Cabinet->Properties, Operating System tab, set minimum version to 5.0 and maximum to 9.9, hit Ok, then File->Save
Just another result from my tests:
After restarting phone I tried rerouting once more and the microphone worked well. Weird but nice
but it still didn't install properly.
Has anyone any suggestion where I go from here?
Catsrules1
21st July 2009, 06:11 PM
1 - Can we decide which key controls the audio switching ? ( Since I have a Fuze and I have a PTT button which I never use )
I second this. I never ever use this button
glradios
30th August 2009, 04:24 PM
I called it "simple audioswitch".
How it works: run the program and "put it on the background"
volume "up and down" switch the audio.
volume "down and up" close the app.
I don't understand controling. Too hard.
"up and down" can't switch the audio.
"down and up" can't close the app.
"down, up and up" switch the audio.
"down, up, up, and down" close the app.
"up, down, and down" close the app.
:confused::confused::confused:
I'm using Xperia X1i.
We need GUI
oddghost
19th September 2009, 08:00 AM
i have just white screen and nothing.
windows mobile 6.1 / qtek 9100
ahraah
22nd September 2009, 12:53 AM
nothing working for windows mobile 6
giRaM
15th January 2010, 07:54 AM
it works on my htc hd2
i downloaded the newest version from the official homepage.
greetings
bug666
5th February 2010, 12:31 AM
can we get a link to the "official" website?
kogaN
14th April 2010, 03:04 AM
I was looking something like this ! could somebody tell me if in the HTC Touch HD works well? how do i use it? ive downloaded the .cab file but still dont know how to use it...
when i call someone on skype it uses the external speaker.. help please!
Thanks
zaberseu
18th May 2010, 09:40 AM
I tested with Benq E72 device but no success yet.
vBulletin® v3.8.7, Copyright ©2000-2012, vBulletin Solutions, Inc.