Go Back   xda-developers > HTC Wizard: 8125, K-JAM, P3400, MDA > 8125, K-JAM, P3400, MDA General


Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 29th April 2006, 09:26 PM
unaiur unaiur is offline
Junior Member
 
Join Date: Mar 2006
Posts: 11
Default New application: Talk Button Detector 0.3

I've written a basic application that detects when you press the talk button on the wired headsets and runs Microsoft Voice Command (if installed) or Voice Speed Dialing (otherwise).

To ease the button press detection when you are listening music, you should slide down the hardware volume control to the minimum.

It can take up to 2 seconds to detect the button press, and doesn't work when the device is sleeping.

If you run the application twice, it shows a window with the energy readings and you will be able to stop it. If the application doesn't work, please, report you energy readings when the button is pressed and released and the environment type (noisy, quiet, ...)

CHANGES IN VERSION 0.2
----------------------

- Prevent the audio subsystem to be suspendend by the power manager.
- Suspend the button state polling when the headset is unplugged.
- Suspend the button state polling when Microsoft Voice Command is listening.
Attached Files
File Type: exe talkbutton_838.exe (8.5 KB, 258 views)
File Type: exe talkbutton.exe (9.5 KB, 442 views)
Reply With Quote
Sponsored Links

  #2  
Old 2nd May 2006, 07:15 PM
unaiur unaiur is offline
Junior Member
 
Join Date: Mar 2006
Posts: 11
Default New release 0.3

New release 0.3:
- Prevents the system from suspending
- Powers on the system before launching the voice recognition program

To save energy, I recommend to enable the UserIdle power state (which turns off the screen and several other periphicals), changing in the registry key [\HKLM\System\CurrentControlSet\Control\Power\Timeo uts] the value of "BattUserIdle" to "120" (seconds).

I'm waiting feedback.
Reply With Quote

  #3  
Old 2nd May 2006, 10:02 PM
7s7's Avatar
7s7 7s7 is offline
Member
 
Join Date: Feb 2006
Location: Melbourne
Posts: 88
Default New application: Talk Button Detector 0.3

Thanks, I have been looking for an application like this since I got my Wizard. (not everyone has a bluetooth headset) Seems to work well. Will do more testing over the next few days in different environments.
Reply With Quote

  #4  
Old 2nd May 2006, 11:01 PM
NashXDA's Avatar
NashXDA NashXDA is offline
Member
 
Join Date: Feb 2006
Location: Bangalore
Posts: 82
Default

will dis work on the mini-magician..if not cud u make it possible really wud love that

cheers
Reply With Quote

  #5  
Old 2nd May 2006, 11:38 PM
vijay555's Avatar
vijay555 vijay555 is offline
Moderator
 
Join Date: Jun 2005
Location: Witch Space
Posts: 5,767
Default

http://rinkworks.com/dialect/

V
__________________
releases: www.vijay555.comtwitterdonatefrappr
Reply With Quote

  #6  
Old 2nd May 2006, 11:58 PM
NashXDA's Avatar
NashXDA NashXDA is offline
Member
 
Join Date: Feb 2006
Location: Bangalore
Posts: 82
Default

Vijay wats wit da URL?
Reply With Quote

  #7  
Old 3rd May 2006, 02:01 AM
unaiur unaiur is offline
Junior Member
 
Join Date: Mar 2006
Posts: 11
Default

It's a Windows Mobile 2003 application because it's developed with Microsoft Embeed Visual C++ 4, and I can't find a way to install the Windows Mobile 2005 SDK (it needs Visual Studio 2005; a bunch of pounds).

But it actually needs Windows Mobile 5 to run properly, since it uses state notifications to know when the headset is plugged/unplugged and if the voice recognizer is running. Last is very important; otherwise the recording is distorted and doesn't recognize anything.

Otherwise, it should be pretty easy to adapt to any hardware. I just need to know where the headset state is stored in the registry. In Wizard, it's in [HKLM\System\State\Hardware], in the value "Headset".
Reply With Quote

  #8  
Old 3rd May 2006, 09:03 AM
NashXDA's Avatar
NashXDA NashXDA is offline
Member
 
Join Date: Feb 2006
Location: Bangalore
Posts: 82
Default

Okay then it shud work for the Mini cause it runs 2003se right? i installed it nothing happens..wat do i do? really love the concept...
Reply With Quote

  #9  
Old 23rd May 2006, 03:14 PM
affleck affleck is offline
Junior Member
 
Join Date: May 2006
Posts: 1
Default

It doesn't seem to work with the 8125. I thought the 8125 was really a Wizzard? It detects the button in about 1.5 seconds, but an error window pops up. It doesn't seem to be able to initiate the Voice Command aplication.
Reply With Quote

  #10  
Old 28th May 2006, 12:16 PM
jeroeng33 jeroeng33 is online now
Member
 
Join Date: Jan 2006
Posts: 30
Default Could this be..

what i've been looking for?

I'll let you know.
Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 11:32 PM.


Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.