[APP] Voice Runner (Another GPS APP) - Touch Diamond, MDA Compact IV Themes and Apps

Hi All
Well this is another GPS App and my first so as people say "please be gentle".
I wrote this for my wife and me for when we are running or cycling.
The idea behind it was to know how fast, far, average speed and time travelled while listening to music without have to look at your phone. It basically says the info you want, the voice is a basic computer voice. It will also say any sms that come in while in use but it can only say words and numbers not any text speak but which I might be able to add later.
My biggest problem is because the voice isn’t particularly loud of clear I need to be able to pause the HTC music software while it’s speaking. If anyone knows how to do that please help I was hoping the pause button on the wired headphones might have a virtual key number but I haven't found it yet.
If I can get the above problem solved am hoping to add a lot of useful info to the display and to the spoken info such as a buddy runner based on a previous run or target settings.
In the setting menu the only item that’s functional at the mo is the repeat voice setting. As you may see the whole program is at a very early stage at the mo so again please be gentle.
http://rapidshare.com/files/187741228/Voice_Runner_0.2.CAB.html

Sir if you can find a way to pause or mute music with hardware button on wired earphones, You will make me really up...

Related

I got VoiceCmd to not Hang after call with some BT Headsets!

Hi,
Was playing around with a way to get my Motorola H700 to not hang after the first use. I don't know how to code (at all) but I wrote a little VB app that Monitored the State and Notification PhoneCallTalking to see when a call was initiated, then monitored to see when the call ended at which point I executed BTAudioOn.Exe from BTUtils causing the channel to open again so I push the button and that's it, I could make call after call just like my old HS850. This will probably work with any headset that hangs after the first call.
Only problem, like I was saying, I can't program, I did all this in Do While Loops so it's pretty unusable since it kills the processor. I don't know how to work with Events or Registering for notifications.
Anyways, if there is anyone who can code and is looking for something to do, maybe you could make something similar (this way or a better way) that can run resident and monitor for the end of a phone conversation and then execute BTAudioON.exe or I guess if you know how to program the MS Bluetooth Stack, open the channel again.
If not, I guess I'll keep learning and try to figure out how to do it properly by handling the notification trigger and wait for it without killing the CPU
I've been looking for something like this! Keep us updated if you find a way to do it without putting too much of a load on the CPU.. I'm getting into WM programming but I have no idea how to capture call/notification states yet.
Re: I got VoiceCmd to not Hang after call with some BT Heads
shoey5 said:
Hi,
Was playing around with a way to get my Motorola H700 to not hang after the first use. I don't know how to code (at all) but I wrote a little VB app that Monitored the State and Notification PhoneCallTalking to see when a call was initiated, then monitored to see when the call ended at which point I executed BTAudioOn.Exe from BTUtils causing the channel to open again so I push the button and that's it, I could make call after call just like my old HS850. This will probably work with any headset that hangs after the first call.
Only problem, like I was saying, I can't program, I did all this in Do While Loops so it's pretty unusable since it kills the processor. I don't know how to work with Events or Registering for notifications.
Anyways, if there is anyone who can code and is looking for something to do, maybe you could make something similar (this way or a better way) that can run resident and monitor for the end of a phone conversation and then execute BTAudioON.exe or I guess if you know how to program the MS Bluetooth Stack, open the channel again.
If not, I guess I'll keep learning and try to figure out how to do it properly by handling the notification trigger and wait for it without killing the CPU
Click to expand...
Click to collapse
Good luck and keep us posted. One "use case" to keep in mind is if you initiate VC which doesn't lead to a phone call since VC supports other commands.
I tried something similar to what you are trying to do and it's just too complex because of the different outcomes of initiating VC
I think it'd probably be best to just fix the dialing part - I don't really care about the launching of the apps, etc.
Some of the voice commands, like "What day is it" didn't seem to break the voice channel anyway.
I hate to say it, but it's probably best to just fix the simple stuff and wait for a BT enabled version from Microsoft to fix the rest.
VCBTFixer - My First Attempt
Hey guys here's what I came up with so far. It's not much but it works, been using it all day without ever taking my Wizard out to reset the headset
When running in the background, it will monitor for a hangup (the point where your headset usually crashes after the first call) It will wait a second and then open the BT Audio Gateway, just press the BT headset again to turn it off, and then press it one more time and you'll hear VoiceCommand waiting for you again
Ok remember this is my first attempt at programming so use it at your own risk And remember it's not 100%, I still have to check for a failed call or if you terminate before the call actually starts, check to see if the headset is being used before trying to turn on the audio gateway ect.
I'll probably get rid of the dialog or keep it, I don't know, I was thinking it could be useful to configure a sound that can be played when the audio gateway opens again, this way you get reminded to press the headset button again to turn off the BT Audio Gateway Maybe display and allow you to select which headsets (if you have more than one) this program should work with if some work and some don't, all that kind of crap.
Anyways, let me know if it works.
Im no WM programmer but cant u open the BT channel then close it again pro grammatically, or will that cause the same type of "crash"? I would love to see this work because I WANT my damn H700 back, till then I'm stuck with this hs850.
Thanx; Lew
lewcamino: Tried that but it still hung, only way I could get it to work is to open the chanel and then close it. Anyways I tried this program with my H700 and it worked, give it a try, you have to be logged in to see it.
I'm no programmer either, maybe someone could write a much better version. I think the best way (if it's possible) would be to close the BT Audio Gateway just before VoiceCommand started dialing (the phone should open the Audio Gateway when the call starts and then it should be good (I think) but I don't know if that's even possible to detect.
So for now, until someone figures out a better way or Microsoft releases a new version with BT support, I guess this works. Used it all day with my H700 didn't have to push any buttons on the device between calls which is what I wanted.
Thanks shoey5! Your program works great with my H700.
Do you have any updates? Also, how did you create the .exe? What tools did you use? Are you willing to give up your source code? I would love to dig into it, modify it, upgrade it.
Again, thanks for the great program.
Congrats on getting something to work. What happens if you close the boom of the H700 after a call? What if you use VC to check your battery signal or ask what time it is?
Looking forward to seeing future versions - once it's good and ready I can go back to my H700. Using the HS850 for now.
Ok Second Attempt, if learning VB.Net for the first attempt wasn't bad enough, had to start learning C++ for the second
This one is a lot better though it's late so I haven't been able to test and it needs some error checking but it's much more useable. Ported it to C++ so now only takes 3.90K as apposed to the 200K VB.Net (Sucks) version was taking so it's acceptible to have it running in the background. Also uses a different method of refreshing BTAG after a call though I'd like to find a better way. Also got rid of the UI so you can throw it into \Windows\Startup to have it running when device loads.
Let me know how well or how bad it works.
Cool - thanks a lot! This seems to work!
Doesnt work with german rom... are there any paths hardcoded which may be named different in other languages? (Programs for example)
Hi Shoey5,
Just for your information I have a O2 XDA Mini S WM5 and it does not work as intended, works once after that it needs a soft reset.
I send you a PM with contact details.
Shoey,
your little app works really well! Only occasionaly will there be some kind of hiccup between the MDA and the headset, and I will have to reset the MDA.
It also seems that you have to be alittle patiend between calls to give the headset/MDA time to be ready to respond.
I can make repeated voice commands and even activate redial with a double tap on the headset button.
I would encourage you to keep working on this program so the VCBT functionality can be made even more stable!
Shoey,
your little app works really well! Only occasionaly will there be some kind of hiccup between the MDA and the headset, and I will have to reset the MDA.
It also seems that you have to be alittle patiend between calls to give the headset/MDA time to be ready to respond.
I can make repeated voice commands and even activate redial with a double tap on the headset button.
I would encourage you to keep working on this program so the VCBT functionality can be made even more stable!

Music during my calls

When I saw the Nokia N91 that my neighbor owns, I thought it was a nice, bulky hard drive that can also make calls. I remember though that one day he calls me, and he accidentally hits his play button and music started to stream through his phone. I told him, "Hey! Turn that s*** down!" He then said that it was his phone, not his stereo.
I wonder... is there some way to bypass the audio in the 8125 to the phone gateway? Maybe some program out there anyone can refer me to? That's a really neat function and I want it.
I know that Voice Commander does pass its audio to the earpiece during a call, I'm sure theres a way to pass audio to a call.
im also looking for a way to get music to play during calls, any1 know how?
found it
nevermind, i found was i was looking for...
if any1 comes across this having the same problem in the future, check out this thread http://forum.xda-developers.com/showthread.php?t=313214
Thanks
Good, this topic was noted once before. I'm checking it out right now.

Voice Commands over Bluetooth

Hello Everyone!
I have just spent the better part of a week reading just about every thread on this and one other forum in hopes of finding some information on this topic.
Nomatter what I try, If I have a Bluetooth headset synced, and I press the Voice Dialer or Voice Search, or if I am in Car Mode, I am unable to speak into the Bluetooth Headset and get a response from my Nexus One. If I am close enough to the device, the mic on the phone will pick it up, but that is as far as it goes.
This feature doesn't seem to exist in Android, or on any of the Mod's I have seen/tried. Have I missed some greater obvious thing, or is this seemingly obvious feature missing?
it's the second most requested feature on google's forum. I would get you a link, but i'm on my mobile right now. i'd say it will be coming soon. i miss voice command, too...
I found what you were referencing. I guess primarilly I am shocked that this hasn't happened/ is a big enough deal that it hasnt shown up in App or Mod form already.

Streaming Audio To Bluetooth W/o A2DP

So I have been trying to figure this out for a while. But I figured maybe we could get some community involvment with it.
If you weren't aware:
In 1.5 you could dial ** on your dialer, hit Call and it would redirect all audio (music, games, notifications) to your paired BlueTooth headset.
This no longer works in 2.1 - if you dial ** you get the 'p' and then when you hit call it almost immediatiely disconnects. But you can hear the audio for a split second in the BT.
If anyone can figure this out - or maybe dig a little deeper into Dialer.apk?
Maybe just a few people typing random stuff into their dialer to see if anything will work.
EDIT:
SOOOOOOOOOOOO
Watching LOGCAT when I dial this it calls a SpecialCharSequenceMGR
MY GUESS:
This one is different than the 1.5 dialer - Maybe tonight I cna merge with success....we shall see. Unless someone else wants to take a look before then.
my question would be whether the dialer in 2.1 got an upgrade. i guess it did since this feature doesnt exist (obvs), so any reason you cant flash on a dialer from 1.5?
i dont know much about how the internals of them work otherwise id help in the search, well after i finish this semester in two weeks. yep yep.
pardon me if my reply was a bit simplistic and if you tried that already, then sorry :/
good luck!
bump.
Updated top post.
Looking forward to your results. Hope you succeed.
On my Hero, long clicking on the device in Bluetooth Settings (in both 1.5 and 2.1), allows me to change the settings of that bluetooth connection including turning on and off both Phone and Media audio.
My only problem is that they have never played well together. If I'm playing media and a phone call comes in, the media properly pauses, but the phone either switches in on the phone's speaker or is totally silent causing me to miss the call.
Bump for the hell of it and a question.
Does anyone know where Dialer is in a 1.5 rom? I downloaded a fresh 1.1 to grab the apk and its not in system/app...wtf???
Las_Vegas said:
On my Hero, long clicking on the device in Bluetooth Settings (in both 1.5 and 2.1), allows me to change the settings of that bluetooth connection including turning on and off both Phone and Media audio.
My only problem is that they have never played well together. If I'm playing media and a phone call comes in, the media properly pauses, but the phone either switches in on the phone's speaker or is totally silent causing me to miss the call.
Click to expand...
Click to collapse
I think this might be because you have an A2DP capable headset. Mine doesn't give me this option.
Ive been looking
I also have been looking for somthing along these lines, as well as some other members. I started this thread : http://forum.xda-developers.com/showthread.php?t=660519 earlier trying to get help, there are actually a few bounties out now....Check it out
Ok so if any one who knows more linux than I do can try to figure out how to pipe the audio from one output to another it would be cool.
I was thinking it would be something lile MediaPlaybackService | AudioHardwareMSM72XX
But I am not sure if that is even remotely close. It doesn't work for me, I guess we just need to get the right services.

Voice Talk not doing voice dial when screen is locked

Hi guys,
I have been trying to find answers for this problem ever since i bought my Galaxy S2..but no luck so far.
The problem is trying to voice dial someone while the phone is paired with a bluetooth headset and on standby/screen locked mode. In other words i want to be able to voice dial someone when my galaxy is in the pocket instead of having to unlock the screen and go for voice dial and then say command which negates the whole point of having voice dial.
So far when i press the bluetooth's button, the phone goes - "what would you like to do" and then i try saying ''call (person)" but the phone seems to be doing nothing after that..but when the screen is unlocked and i do the same thing, it actually does dial(no point because if i am able to take the phone out and unlock it, i might as well dial it instead of voice). What really hits me is that the bluetooth actually does trigger the voice talk application and the phone requests me to say what i want to do but after that nothing happens.
Can you guys tell me whats going on? This problem is really making me hate this phone because the phone boasts so many ads about voice dialling but it cannot do a simple voice dial which is possible on ancient phones. Cheers
I've been playing with this for the past couple of days and here's what I've learned. It's complicated because there are multiple settings that effect each other. The phone has to be on to use Voice Talk. It can be locked, but has to be on and active. In other words, Voice Talk won't wake the phone up if it was shut off with the on/off button. Also, the app has to be in the foreground for it to listen. If you go to the home screen or launch another app its no longer active and listening.
Also, similar to the OP, my headset reacts strangely when I use its command button. When I push the button and say "phone command," it says "activating your phones inbuilt calling features," and then says "this feature is not supported on the connected phone." But, after that, Voice Talk is still listening but acts wonky. Instead, I set Voice Talk to Listen Over Bluetooth and I don't have to push anything - I just say Hi Galaxy. OP, I bet your headset's experiencing something similar. Try turning on Listen Over Bluetooth and Wake Up Command and then just say Hi Galaxy to start Voice Talk. I bet it works. Don't forget you can also set Motion to on and then just tap the phone twice (even if its locked) to activate Voice Talk. I'm guessing that uses less battery on both the phone and headset then leaving the Wake Up Command on.
Here's my take on each of the settings:
Listen Over Bluetooth
Has to be on for Voice Talk to work via a headset. If not, you can hear the prompts through the headset but Voice Talk is listening through the phone's built in mic.
Auto-Start Listening
I haven't figured this one out. Either off or on the phone seems to behave the same way. The best I can figure is that Voice Talk starts listening immediately the first time its opened instead of having to tap the button to make it start listening.
Wake Up Command
If Listen Over Bluetooth is active, the Wake Up Command has to be on for Voice Talk to hear Hi Galaxy.
Driving Mode
Is really mislabeled. All it does is announce new e-mail (but not read them) and read text messages.
So that's my take. I'd be interested in everyone else's experiences and if they've learned anything different or better.
BarryH_GEG said:
I've been playing with this for the past couple of days and here's what I've learned. It's complicated because there are multiple settings that effect each other. The phone has to be on to use Voice Talk. It can be locked, but has to be on and active. In other words, Voice Talk won't wake the phone up if it was shut off with the on/off button. Also, the app has to be in the foreground for it to listen. If you go to the home screen or launch another app its no longer active and listening.
Also, similar to the OP, my headset reacts strangely when I use its command button. When I push the button and say "phone command," it says "activating your phones inbuilt calling features," and then says "this feature is not supported on the connected phone." But, after that, Voice Talk is still listening but acts wonky. Instead, I set Voice Talk to Listen Over Bluetooth and I don't have to push anything - I just say Hi Galaxy. OP, I bet your headset's experiencing something similar. Try turning on Listen Over Bluetooth and Wake Up Command and then just say Hi Galaxy to start Voice Talk. I bet it works. Don't forget you can also set Motion to on and then just tap the phone twice (even if its locked) to activate Voice Talk. I'm guessing that uses less battery on both the phone and headset then leaving the Wake Up Command on.
Here's my take on each of the settings:
Listen Over Bluetooth
Has to be on for Voice Talk to work via a headset. If not, you can hear the prompts through the headset but Voice Talk is listening through the phone's built in mic.
Auto-Start Listening
I haven't figured this one out. Either off or on the phone seems to behave the same way. The best I can figure is that Voice Talk starts listening immediately the first time its opened instead of having to tap the button to make it start listening.
Wake Up Command
If Listen Over Bluetooth is active, the Wake Up Command has to be on for Voice Talk to hear Hi Galaxy.
Driving Mode
Is really mislabeled. All it does is announce new e-mail (but not read them) and read text messages.
So that's my take. I'd be interested in everyone else's experiences and if they've learned anything different or better.
Click to expand...
Click to collapse
Thanks for this detailed reply. I think at some point I have tried these settings but not sure if they were in the exact matching order. I will give it another go with everything set up to the way you have mentioned and see what I get. I am sure I am very close to actually getting it to work though..fingers crossed ..and yes if anyone else have different combinations of settings or ways they got it to actually work from a locked screen, please share it here. Thanks.
BarryH, I did try those exact settings like you had mentioned but still no luck. On triggering the voice talk with bluetooth headset's button, i can hear voice talk say "what would you like to do?" and does not respond to anything i say. (while screen is off).
I am thinking of installing Vlingo and trying to get that to work this way? Not sure if it would make a difference though.
vijith555 said:
BarryH, I did try those exact settings like you had mentioned but still no luck. On triggering the voice talk with bluetooth headset's button, i can hear voice talk say "what would you like to do?" and does not respond to anything i say. (while screen is off).
I am thinking of installing Vlingo and trying to get that to work this way? Not sure if it would make a difference though.
Click to expand...
Click to collapse
If you do what I suggested you don't have to push the command button. The phone will be listening for the "hi galaxy" command all the time.
Sent from my GT-I9100 using XDA Premium App
I noticed the same thing, when paired with my car, the phone does not respond to pressing the button on my parrot if the phone is locked
I disabled the factory lockscreen and now use widget locker instead, problem has gone away
connectsys said:
I noticed the same thing, when paired with my car, the phone does not respond to pressing the button on my parrot if the phone is locked
I disabled the factory lockscreen and now use widget locker instead, problem has gone away
Click to expand...
Click to collapse
I was thinking of trying this next as I have run out of options..so you say it worked? Then I will get widget locker and see how I go. So let me get this straight - i get widget locker and use the lock screen that comes with that or using widget locker i disable the stock lock? Or I should disable the stock lock from settings and then use widget locker? Cheers
yea disable stock lock in settings and then use widget locker only for lockscreen
connectsys said:
yea disable stock lock in settings and then use widget locker only for lockscreen
Click to expand...
Click to collapse
Tried this last night and unfortunately its still doing the same thing. On holding the bluetooth headset's button while the phone's screen is off I can hear the phone go "what would you like to do" and right after this i say commands like "call (someone)" but nothing happens. When the phone's screen is on, it actually works when i do the same thing which just surprises me to as why. Also when the screen is off and voice talk not on the front screen the wake up command doesnt work. So again a person has to leave his screen on (without letting the phone go to standby) and leave the voice talk app running for voice dial to work.
And to make things worse the double tapping with motion turned on settings doesnt bring up voice talk when the screen is off..again putting me in the same situation. The only way voice talk work on this phone is when the screen is on so far which isnt really practical in situations you would want to use voice commands..i hope samsung or google brings a better solution to this issue because this phone's got so much boasting about being able to voice command but isnt able to perform what an iphone or old nokia do
If you've got Tasker, you might be able to set something up... I noticed the same problem last night, and yeah, it's totally counter-intuitive...
I'll let y'all know how I go...
BTW - also noticed that while it may listen through my car bluetooth, it certainly doesn't play through it, and it's next to impossible to hear the mousey voice in a moving vehicle muffled in the depths of my pocket anyway...
Stupid half-baked software!
k1sr said:
If you've got Tasker, you might be able to set something up... I noticed the same problem last night, and yeah, it's totally counter-intuitive...
I'll let y'all know how I go...
BTW - also noticed that while it may listen through my car bluetooth, it certainly doesn't play through it, and it's next to impossible to hear the mousey voice in a moving vehicle muffled in the depths of my pocket anyway...
Stupid half-baked software!
Click to expand...
Click to collapse
I cant agree more about it being counter-intuitive..and yes its not nice the voice prompts coming through the phone but i remember once somehow the voice prompts did come through the bluetooth headset i dont know how. Like you said something is not letting it operate properly, like blocking it. I havent used this Tasker but have used task manager like apps in the past. So you believe you could try to figure out a fix for this..i appreciate your efforts because I am just lost at the moment. Let me know how you go mate. And I will let you know if I get around this issue too. Thanks mate
k1sr said:
If you've got Tasker, you might be able to set something up... I noticed the same problem last night, and yeah, it's totally counter-intuitive...
I'll let y'all know how I go...
BTW - also noticed that while it may listen through my car bluetooth, it certainly doesn't play through it, and it's next to impossible to hear the mousey voice in a moving vehicle muffled in the depths of my pocket anyway...
Stupid half-baked software!
Click to expand...
Click to collapse
Ok i found a way to get this voice dialling to work when the screen is off but not using a bluetooth headset, instead the wired headset for the time being.
So I can trigger voice dial when the phone is in the pocket and voice prompt comes to the headset, i say command and it works . I dont mind it working for the wired headset as that is good enough for the time being while driving. If you need to know how i got this done just give me a buzz. There are two pieces of software that I got to set this up. Cheers.
I just deleted built in vlingo crap and took generic Google voice dialer apk from my nexus s. Plus side you don't have to be connected to net to dial contacts and I can hear reply in headset as well.
Sent from my GT-I9100

Categories

Resources