Hands-Free mode in XDA - Windows Mobile Software Development

When one presses the green phone button, sometimes, it swiched on the phones hands-free mode.
I really need to be able to test and control this mode programmatically. According to the MS news groups, this is done using an un-published API.
Has any person found how to access this API, or know an informational reference?
Thanks,
Ben

Related

Voice dialing SW for mapping green (Send button) got it!!!1

is their any SW that can mimic the long green (Send)button so i can assign it to a a voice dialling SW, i have a Nokia BT that don't support voice dialing because its voice dialing don't support anything but the Send button in which in the regular button mapping it only supports changing the few side buttons but not the send/close ones
thanks in advance
ok since i have not got a reply so far i tried something considered intelligent, need some steering though, what i did is i installed phoneplus
Main Idea
1.most of the headset will mimic the short & long send (Green) button press which will activate the cprog.exe dialer right.
2. since i have no idea where is cprog mapped to this button i needed to install phone plus because it will teachme how the mapping done
Theory
1. if i replace the ppcap.exe with voicecommand.exe everywhere in the system then when i psychly press the green button i should get "Voice command is ready" instead of the dialer pad, in this situation of you press on the headset button it should also trigger the Voicecommand.exe instead of cprog.exe or the ppcap.exe
Fact
1. i tried this & it didn't work when i replaced the ppcap.exe with voicecommand.exe ofert renaming the voicecommand to ppcap for the program to think it is the same, it actually went a launched the original dialer
requiments, well i need more people to try steps like those & to stop me if they know a fact i don't.
if their is some kind of a logger (key logger) we can intiate it & press the headset button see what does it do & make it connect to the voice dialing SW
You are a brave man :lol:
What you ask is possible, as you can activate voice command via the button in the Mpx (which is also pocketpc phone edition).
Unfortunately I dont think its easy, but please keep on investigating and tell us of your progress.
surur
i so far managed to get my PPC giving me error messages like the following
1. Cannot open Cprog.exe (Dialer SW)
2. Cannot execute repllog.exe (i have no idea what is it about)
anyways this is a good sign, if i can replace cprog.exe with voicecmd.exe after renaming voicecmd.exe to cprog.exe i think the logic say that it should launch it, & if it does the BT Headset should launch it & if it does! well we got it working the stupid way but this is the begging
PS another though for those who program viruses, can't we program a parasite sw that attaches it self to cprog.exe & everytime its triggered it launches voicecmd.exe
am sorry all my test are on microsoft voice but because it the only full SW i have now
AM ALMOST THERE DUDES BUT I REALLY NEED HELP NOW, i got as far as when i press the button on my nokia bt headset to activate the voice command, though since the head set is not a hands free expectedly i didn't hear from the BT headset i heared it from the phone & ofcourse i had to speak to the phone not the BT HD to get it dialing something, now i know that thei are some SW that or BT stacks that does that, please guid me through
ONE MORE THING CPROG HAS TO BE LOADED which i actually managed to **** in the process so i also need the file cprog.exe to replace my overwritten one, otherwise your phone will not ring nore have signal bars though it will not be swtiched off & if you have the headset you'll hear the ring in it but will not be able to answer the phone, so next 2 steps are
1. Load both files & not only voicecommand or cprog
2. somehow move the voice & the mic to be working from the BT HD & not the phone
Unfortunatley I could not copy the cprog.exe to my desktop PC to send it to you... The system does not let you copy System Files...
You will have to perform a hard reset in order to get the cprog.exe back... Or maybe try to delete the modified cprog.exe and the original should be ready to use after a soft reset...
Besides, as far as I know there are no Hands Free Profile for our devices, not even with Bluetooth patches installed...
Nice try though... :wink:
well since i backup regularly i reseted my device & got a back so thanks but i got the cprog.exe , i think its **** anyways to make the major move & get stuck on something like hands free profile, i still need the cprog.exe as i file as i couldn't get it too, i have to put it on the startup so the phone will work properly then probably assign it somewhere else on the contrary anybody with some knowledge of how to make files.lnk launch multiple programs instead of one or anybody who have some idea about how hands free profile works will be of a great help
PS come on guys if we scratch our heads together we can make it, poeple here made wonders, i guess this is in hand :shock:
handsfree very near
hi, actually i use mobidial to try your idea. when i press green button mobidial will launch. so very easy i just copy everything in microsoft voice command folder and dump it to modial folder and rename voice command.exe as mobiDial.exe. when i press the green button using my headset and yes voice command is activated and function also but it will work for the first time and then the ppc will hang. reset n will work for one time again. anybody? we r very close to handsfree here.

Speech Settings (turn off toggle)

yes you can turn off "enable speech recognition , unfortunately you cant turn off the physical part of it, the motion censor still reacts when you get too close , is there a place in the registry where you can stop it completely , its such a useless function and annoying , especially on the focus because its so touch sensitive !
OK, I'm confused. There are several different speech recognition features in WP7, and none are controlled by the motion sensor. One and only one is controlled by a capacitive button. Please explain exactly what you're trying to accomplish:
Voice command: Reached by press-and-hold on Start. Takes 2 full seconds of holding on my HD7 (also capacitive button).
Voice search: Reached by hitting the Bing button, then hitting the mic icon on the screen. Very hard to do by accident.
Voice texting: Unless reached by voice command, requires that somebody send you a text first, and that your phone be in a mode where it will respond with a prompt for voice text. Can be configured or disabled in settings.
If there's a fourth one, involving the motion sensor (accelerometer, properly), or perhaps you meant the proximity sensor... well, I don't know of it. Samsung-specific feature, perhaps?
Yes the capacitive button , except you dont even need to touch it (at least not on my Focus) you merely hover above it and that thing goes right to voice , even if it turned off , it still goes to that annoying speech thing ,It doesnt do it all the time , just when your doing something else ,lol! I would happy to just find it in the registry and turn it off completely I have know use for it !

Automation - NFC Task Launcher, Tasker, others...

I wanted to start a thread that focused on automation idea's and how to execute them and NOT about troubleshooting apps or why you can't get any NFC tags to format etc...
There is already a thread dedicated to that here :
http://forum.xda-developers.com/showthread.php?t=1359057
So assuming there is a demand, please discuss any automation like:
-What you have done with your NFC tags
-What have you done with the app Tasker, NFC Task Launcher or any other automation app/scripts.
-Dream Idea's, like I want to have my house make a pizza and have it ready when I get home, but I don't know how to do that. anyone?
I'll try to keep a Table of Contents and link directly to useful idea's as we go.
Some useful links so far:
Tasker Guide thread by skulk3r
http://forum.xda-developers.com/showthread.php?t=890596
NFC Task Launcher info by krohnjw:
http://forum.xda-developers.com/showthread.php?t=980741
Reserved...
Nice thread! I use these every day!
NFC Task Launcher:
1) Tag on my laptops - Enable WiFi HotSpot, Set password and SSID, Disable Bluetooth if on, disable sync.
2) By my Door - I use a Home and Away Profile.
Away is triggered first and Disables WiFi, Enables 3G/4G, Enables Vibrate mode.
Home is triggered on second tap - Enables WiFi, Connects to my SSID, Disables 3/4G, Full Volume, Enable Sync if it was off, Launch gmail app to pull e-mails.
3) A small tag on my BT Headset - Enable BT and Connect to the headset. (When the headset is connected Tasker launches Rdio). Second tap disable BT and Tasker closes Rdio if open still.
Tasker:
1) If I am Near Cell ID by my house or friends house enable WiFi.
2) If SSID is near connect, if not disable WiFi.
3) Maps opens enable GPS, disable when closed.
4) When BT Headset connects open Rdio set media volume to 7
5) When wired headset is plugged in open Rdio set media to 11. (for the car XD)
6) When charging is pluged in set brightness to full, Max Ring volume, Enable WiFi if it's off, Enable Sync, Launch E-Mail for refresh.
7) When charged Vibrate for 30 Secs + Audio alert.
8) Proximity sensor Locks screen.
9) Long press search enable BT.
10) From 23:00 to 07:00 Dim screen to lowest setting, Vibrate mode, launch clock.
I can export them if anyone wants to use them!
Nice job! You should export those and attach them here anyway. Even if someone doesn't need exactly what you have done the profiles could be a really good learning tool. Really nice job on some of those.
I am trying to have interactions with specific programs using tasker without much luck. What I would love to do is turn my TV on and go to my DVR using the Google TV app when I place my phone on the coffee table with a nfc sticker.
Sent from my Galaxy Nexus using XDA App
Ive got a 'beacon for android' coming in the mail. when it gets here im hoping to hide a nfc card in the arm rest of my couch so when i put the phone down it will turn on the tv and will launch to the universal remote part of the dijit program.
Im thinkin all that might take some work tho. Also i would love to be using iRule/GC-100-12 or the logitech revue/harmony but cant afford to set those systems up.
I also have another NFC card on my desk so when i put my phone down it starts my computer (Using NFC launcher and tasker).
One idea i would love your opinons on is, can tasker determing if a microusb plugged in is a charger or computer or MHL/HDMI connection? i would love for my gallary or emulation to pop up when i plug it into a tv
unknownkwita said:
Ive got a 'beacon for android' coming in the mail. when it gets here im hoping to hide a nfc card in the arm rest of my couch so when i put the phone down it will turn on the tv and will launch to the universal remote part of the dijit program.
Im thinkin all that might take some work tho. Also i would love to be using iRule/GC-100-12 or the logitech revue/harmony but cant afford to set those systems up.
I also have another NFC card on my desk so when i put my phone down it starts my computer (Using NFC launcher and tasker).
One idea i would love your opinons on is, can tasker determing if a microusb plugged in is a charger or computer or MHL/HDMI connection? i would love for my gallary or emulation to pop up when i plug it into a tv
Click to expand...
Click to collapse
Wait... are these possible?
I would love a 'Morning TV' tag:
Launch Google TV app
Turn on TV
Turn on Speakers
Change to channel 70 (ESPN)
Open __ url
I'd pay someone to make that for me.. and many others.
Sent from my Galaxy Nexus using xda premium
itsjusttim said:
Wait... are these possible?
I would love a 'Morning TV' tag:
Launch Google TV app
Turn on TV
Turn on Speakers
Change to channel 70 (ESPN)
Open __ url
Click to expand...
Click to collapse
its entirely possible, just takes alot of apps and hardware.
1. NFC Card launches the particular activity in the universal remote app (dijit/irule/harmony/etc) this may require tasker.
2.Remote app performs its functions.
2.1.connects via BT/WIFI to a controller (these can emit IR/RF/rs232/TCP)
2.2.the controller sends out all the commands to all the devices, alot of this will need to be programmed in your remote app
3. NFC launcher/tasker then launches the app activity that shows you the remote.
There is alot of stuff to get your head around in controlling a home theater because there are so many differant ways of doing the same thing. How you make all this work will depend on your current system and how much your willing to spend.
For example some tv's come with HDMI-CEC (look it up on wiki), this feature allows the tv to turn on the av receiver over the hdmi cable and swap it to the correct input when you change sources.
when it comes down to it the android app is the easiest part of the system to set up, even if its the most featureless.
Well the Google TV app acts as a remote. Is there a way to record touch actions on top of opening apps? If so it should be easy as its just a few buttons to turn on everything and get to the right channel, would just be amazing if it can all be automated.
- GSM Galaxy Nexus
x942 said:
Nice thread! I use these every day!
NFC Task Launcher:
1) Tag on my laptops - Enable WiFi HotSpot, Set password and SSID, Disable Bluetooth if on, disable sync.
2) By my Door - I use a Home and Away Profile.
Away is triggered first and Disables WiFi, Enables 3G/4G, Enables Vibrate mode.
Home is triggered on second tap - Enables WiFi, Connects to my SSID, Disables 3/4G, Full Volume, Enable Sync if it was off, Launch gmail app to pull e-mails.
3) A small tag on my BT Headset - Enable BT and Connect to the headset. (When the headset is connected Tasker launches Rdio). Second tap disable BT and Tasker closes Rdio if open still.
Tasker:
1) If I am Near Cell ID by my house or friends house enable WiFi.
2) If SSID is near connect, if not disable WiFi.
3) Maps opens enable GPS, disable when closed.
4) When BT Headset connects open Rdio set media volume to 7
5) When wired headset is plugged in open Rdio set media to 11. (for the car XD)
6) When charging is pluged in set brightness to full, Max Ring volume, Enable WiFi if it's off, Enable Sync, Launch E-Mail for refresh.
7) When charged Vibrate for 30 Secs + Audio alert.
8) Proximity sensor Locks screen.
9) Long press search enable BT.
10) From 23:00 to 07:00 Dim screen to lowest setting, Vibrate mode, launch clock.
I can export them if anyone wants to use them!
Click to expand...
Click to collapse
Yes, I personally would love to use about 2/3 of those commands. Can you export those for the rest of us?
itsjusttim said:
Well the Google TV app acts as a remote. Is there a way to record touch actions on top of opening apps? If so it should be easy as its just a few buttons to turn on everything and get to the right channel, would just be amazing if it can all be automated.
- GSM Galaxy Nexus
Click to expand...
Click to collapse
So far I haven't found a way. It would be awesome for more than just google tv. If tasker, or another 'macro' type program could be set to record touches on the screen based on location coordinates or something. Like a mouse macro program on a pc. That would allow all sorts of things. For example all of this would be reality with this one hurdle:
1) When I approach my home using tasker, open my ADT app and disable the alarm in my house
2) Open my garage door with HTN app.
3) Turn the lights on with the HTN app.
4) Walk inside, and using a NFC sticker, trigger a welcome home message from my denon reciever app (hooked up to speakers throughout the house) and start some jazz music. Of course set my phone profile correctly, and maybe turn the google tv on and navigate to the cheesy firplace app.
All of this is easy, with one macro app that is the missing link.
There are apps out there that use your cell tower to turn your wifi on/off when you enter/leave your home/cell tower. you'd be surprised how accurate it is and how it doesn't drain your battery. They do other things like control gps/bluetooth/etc.
and their free and dont require purchase of tags. You could easily do this exact thread with just the app below.
They might not be able to turn your tv on, but for quality automation, you should check em out.
For one I highly recommend, try Llama in the market. Free too!
https://market.android.com/details?...t#?t=W251bGwsMSwxLDEsImNvbS5rZWJhYi5MbGFtYSJd
btw, I am not affiliated with llama in any way. Just love this app and many of your comments reflect that you would love this.
igl007 said:
So far I haven't found a way. It would be awesome for more than just google tv. If tasker, or another 'macro' type program could be set to record touches on the screen based on location coordinates or something. Like a mouse macro program on a pc. That would allow all sorts of things. For example all of this would be reality with this one hurdle:
1) When I approach my home using tasker, open my ADT app and disable the alarm in my house
2) Open my garage door with HTN app.
3) Turn the lights on with the HTN app.
4) Walk inside, and using a NFC sticker, trigger a welcome home message from my denon reciever app (hooked up to speakers throughout the house) and start some jazz music. Of course set my phone profile correctly, and maybe turn the google tv on and navigate to the cheesy firplace app.
All of this is easy, with one macro app that is the missing link.
Click to expand...
Click to collapse
Yes! Now we just need someone smart who can create this for us. Honestly if someone made this, the possibilities of NFC would be endless.
.
kegman913 said:
There are apps out there that use your cell tower to turn your wifi on/off when you enter/leave your home/cell tower. you'd be surprised how accurate it is and how it doesn't drain your battery. They do other things like control gps/bluetooth/etc.
and their free and dont require purchase of tags. You could easily do this exact thread with just the app below.
They might not be able to turn your tv on, but for quality automation, you should check em out.
For one I highly recommend, try Llama in the market. Free too!
https://market.android.com/details?...t#?t=W251bGwsMSwxLDEsImNvbS5rZWJhYi5MbGFtYSJd
btw, I am not affiliated with llama in any way. Just love this app and many of your comments reflect that you would love this.
Click to expand...
Click to collapse
We don't really need location profiles as we can just use an nfc tag to set any automation we want... right?
- GSM Galaxy Nexus
itsjusttim said:
Yes! Now we just need someone smart who can create this for us. Honestly if someone made this, the possibilities of NFC would be endless.
.
We don't really need location profiles as we can just use an nfc tag to set any automation we want... right?
- GSM Galaxy Nexus
Click to expand...
Click to collapse
Well we still need them a little. For example, I go to the same grocery store each week. So I like to have it that when I arrive, it connects to their wifi and launches the Grocery IQ app. Then it sends a text message to my wife saying "I just arrived at Wegmans, if there is any last minute items to get add it to Grocery IQ now."
alicious said:
Yes, I personally would love to use about 2/3 of those commands. Can you export those for the rest of us?
Click to expand...
Click to collapse
Will do! I have to recreate them (my HTC Amaze had them and I forgot to export before doing a reset). I should have them up tonight!
x942 said:
Will do! I have to recreate them (my HTC Amaze had them and I forgot to export before doing a reset). I should have them up tonight!
Click to expand...
Click to collapse
Thanks. I'll keep a look out for them
X942 - you didn't forget about us did you?
Sent from my Galaxy Nexus using xda premium
I used to use Locale, until it just ate up too much juice on my phone. One nice thing I could do with it is change my Google Voice settings based on my location. I had it set to disable my desk phone if I wasn't at work, and to enable it when I arrived at the office. Can you do something like this via NFC? IIRC Tasker is compatible with Locale plugins, so I could just use that.
kimboinatl said:
I used to use Locale, until it just ate up too much juice on my phone. One nice thing I could do with it is change my Google Voice settings based on my location. I had it set to disable my desk phone if I wasn't at work, and to enable it when I arrived at the office. Can you do something like this via NFC? IIRC Tasker is compatible with Locale plugins, so I could just use that.
Click to expand...
Click to collapse
I totally agree with you about locale
Sent from my Galaxy Nexus using xda premium
x942 said:
3) Maps opens enable GPS, disable when closed.
Click to expand...
Click to collapse
How did you get it to allow Tasker to control GPS? It tells me this functionality is not allowed on my Nexus...I am trying to enable it in Actions -> Misc -> *GPS
Do you on a ROM that has disabled the restriction that does not allow access to GPS?
**** UPDATE ****
Ok, did some more searching and found this...
http://www.reddit.com/r/tasker/comments/nk6m2/use_secure_settings_to_enable_gps_and_other_fun/
NFC Task Launcher
EDIT: My Questions were answered on a different board.

GoPro Hero 3 B.E. needs root access...

Looking for help to gain root access to the wifi remote for customization purposes.
The GoPro hero 3 has a wifi remote that I had assumed would mirror every function on the camera.... after all it has the same screen and same buttons.
Not so unfortunately... I think they missed one that makes no sense to not have working.
The camera will allow simultaneous video and photo in one of 4 nominated res.... in fact at 1080 30fps wide it'll snap 4k pix while yr recording the video.
You can set it to do so at 5 second intervals (shortest)... but also even without the auto setting you can press the 'mode' button and take a photo whenever you choose.
Problem is pressing the mode button on the remote to perform this function doesn't work.... so I need someone clever to program the correct command line into the remote software.
To me... and maybe others.... this function is pointless unless you can operate from the remote.... after all this is an action sports camera that we wear or mount in unusual positions.... it's not a camera for holding and pressing buttons.
Hope someone can assist please
Nick

[Q] Best Voice Dialing Hands Free app

Back long ago, I had a Motorola E815 flip phone.
I could use my wired headset and press the headset button and speak a name from my contacts list and the phone would dial the contact.
Simple; Hands Free; no internet connection; no complications like needing to look at the screen or press a selection or answer confirmation questions;
Just press the button; speak the name and connect;
My Nokia Dark Knight could also do this;
My Moto DroidX and Thunderbolt could also do this;
But, they needed special apps that were not quite as accurate and not quite as fast as the simple flip phones;
When I got the Galaxy S3; The Samsung voice app and Vlingo all tried to help; but, they were slow and inaccurate and required confirmation prompts.
I've just received the G3.
Is there an app or combination of apps that can take me back 10 years to just "press the button" ; "speak the name" ; dial the number.?
Thanks!
maria137137 said:
Back long ago, I had a Motorola E815 flip phone.
I could use my wired headset and press the headset button and speak a name from my contacts list and the phone would dial the contact.
Simple; Hands Free; no internet connection; no complications like needing to look at the screen or press a selection or answer confirmation questions;
Just press the button; speak the name and connect;
My Nokia Dark Knight could also do this;
My Moto DroidX and Thunderbolt could also do this;
But, they needed special apps that were not quite as accurate and not quite as fast as the simple flip phones;
When I got the Galaxy S3; The Samsung voice app and Vlingo all tried to help; but, they were slow and inaccurate and required confirmation prompts.
I've just received the G3.
Is there an app or combination of apps that can take me back 10 years to just "press the button" ; "speak the name" ; dial the number.?
Thanks!
Click to expand...
Click to collapse
Google search can do this! In the app or on the launcher just say "Ok Google." then when the mic pops up and the phone beeps "say call CONTACTS NAME, PHONE LOCATION." PHONE LOCATION = mobile, home, work, etc.
It can do some other cool stuff too. Just Google it!
Sent from my LG-D851 using Tapatalk
dragonsofcp said:
Google search can do this! In the app or on the launcher just say "Ok Google." then when the mic pops up and the phone beeps "say call CONTACTS NAME, PHONE LOCATION." PHONE LOCATION = mobile, home, work, etc.
It can do some other cool stuff too. Just Google it!
Sent from my LG-D851 using Tapatalk
Click to expand...
Click to collapse
yeah - it does - sort of - but not super accurately and it seems to need internet connection.
- it just amazes me that those old flip phones could do this reliably without internet...

Categories

Resources