yashsingh1/xdaforums huggingface dataset:
[Windows Mobile Apps and Games] ExtremeGTX:
Thank you poppyup for Testing my app

This steps for Testing Headset and my app

Step 1:

I need you to disable the service and all players

then press on headset button for about 200ms just (a bit long press not a mouse click)

You must hear a tick sound from headset and phone app will be activated

Step 2:

Return to home\Today screen then press headset button for more than 500ms

you must hear a tick sound two times and phone app will be activated and automatically call the last contact

All above is what I notice with My Omnia II GT-i8000 WM 6.5.3:) and the annoying driver:mad:

To Check if App really working or not

Open Settings Select Touch Player , Activate the Service then Apply

Now use Green\Answer\Call Button with Touch Player and see if it work

If it doesn't work

Open Settings and Change press speed to a higher value like 900ms

Finally I hope this help you and Enjoy Listening to Music;)
[Windows Mobile Apps and Games] poppyup:
Step 1: I don't hear any sound from headset but the phone App is correctly activated.

Step 2: Also inthis case I don't hear any double sound but simply the phon application is activated like in the previous case. Please note that in order to start a call to the last contact i need to double push the headset button ;)

I perform test on your application using a setup of 949ms and with the answer call button seems to work as expected :cool: (but anyway timing is critical for get expected behaviour ;) ). Unfortunately with the headset button I was no able to replicate the call button behaviour :mad: I was no able in any way to get the player start/stop playng with different time setup :( Moreover, after I try for sometime with the headset button I was no able to replicate the previous "correctly" call button behaviour and I need to close the touch player and restart again to be able to newly control player by the call button with your service enabled.

The only thing I get with the touch player pressing the headset button it to go to the next song.

Seems to me that the call button and the headset button are not exactly the same or anyway are processed by the phone in a slighty different way.

Maybe is a timing problem related the way in which you monitor the headset button event :confused:
[Windows Mobile Apps and Games] ExtremeGTX:
From your post

The Key Code of Headset button and Call button is the same:)

I will Explain Press Speed Setting:

for Example "Press Speed" = 1500ms

1st Case:

you press button one time then after 1500ms from the press you will get the action "Play\Pause"

2nd Case:

you press button one time then you have less than 1500ms to press second time to get the action "Next"

with My Omnia II headset button, Long Press give me like two presses from call button

and single press (but not just like a mouse click) give me single press

May be the problem because of different headset driver:(

also I need to know what about HTC devices , is it work or not:confused:

Can you test with other players ?

and if you can post your headset driver
[Windows Mobile Apps and Games] poppyup:
Ok for the code, but the sensitivity of the response seems to be different from my test between the two buttons. I am quite sure the call key has different debounce compared to the headset button. Maybe the different HW of the two button introduce differences in the speed of the response. As a matter of fact I was able to control the player with the call button while with the headset button seems like every press (short or long) it is translated in a double press.

I performed some test playing around with "Press Speed" settings and the behaviour with longest or shortest time doesn't change reallly. With some practice i could get the things works also with the 800ms default setting or less using the call button. On the contrary any short or long press of the headset button got only "next" action in player. Only one time during my test I got the player start with single headset pressure but than I was not able to stop the player anymore but only to get "next" action :confused:

Maybe you can filter the headset button pressure adding your "debounce" procedure.

If I well understood from your explanation "Press speed" is the time interval on which you evaluate 1 or 2 press to decide for "play/pause" or "next" action

I would like to suggest this strategy: after detect first pressure your app need to ignore next pressure for xx ms. This time will be obviousely < Press speed time (new settings ? ;) ) than if the new pressure arrive in the maximum time (Speed press) you can perform different action.

Seem that on my i900 original omnia short or long headset button pressure are translated in double (or more) presses.

I have tried to use Windows Media Player with same identical behaviour :(

Related the driver: I don't know what is the driver name :( if you can give me some directions I can try to extract/copy it and send to you in some way.

Further than this can you modify your application to write a log capturing the pressure of the headset in a file or showing on screen the keycode and the nr of reading in the Press speed time rather than drive the player? I am sure this can help to better understand what happens.
[Windows Mobile Apps and Games] ExtremeGTX:
Great Work Man:) but this news disappointing me:(

Now let's begin analysis

I know this different debounce of the buttons and pointed to that in Known issues section.

This one time makes me confused:confused:

as I know this can't be filtered, Why?

because it's related to the driver, actually two buttons has the same debounce but Samsung[i900\i8000] annoying driver is the first which receive press event then send this event to user level at which you can handle this event using any app

I have tried to build new driver but it is too much hard:eek:

Yes, this is exactly what i mean:)

Thanks for this idea, i worte it down

but this may lead to another timing issues on different CPUs

I will tell you again that Samsung try to annoy its users only, no less no more:D

Open Registry

Goto HKLM\Drivers\BuiltIn\Headset <Dll: xxx.dll>

search for the dll in Windows Directory and Extract it.

i had written an application before to let me know key Codes, i will do some mods and post it.

if you have any Other Windows Mobile devices please test and tell me the result

Thank you
[Windows Mobile Apps and Games] poppyup:
I fully understand this, but you can mask at higher level the pressure like I described in my suggestion.

What about to create a calibration procedure logging user input for single and double pressure and use the logged data to setup the correct timing ?

In this way the differences between different devices/CPU and button will be automatically compensate by the calibration.

Unfortunaletly my HKLM\Drivers\BuiltIn\ section of the registry doesn't show any \Headset section :( This definitely means that the driver between omnia II e I are different. (maybe there are differences due to WM 6.1 on my omnia e 6.5 on your) Anyway, if you can give me the name of Omnia II dll I can try a search in windows directory to verify if anything similar exist for Omnia I.

I'am waiting for the raw test application but I suggest you to implement it in the standard Setting program for future debug and analysis.

Tomorrow I ask to a friend of mine to install your App in an LG phone mounting WM 6.5 to verify the differences in the behaviour with Samsung.
[Windows Mobile Apps and Games] ExtremeGTX:
I sent my app to friend has a HTC Device for testing

So, I'm waiting for results from 2 Devices <HTC , LG>

All i need to know, Is my app compatible only with Omnia II or there is another compatible devices?!

I don't know if you try to write an app for Windows Mobile before but you will find that Microsoft has a limited Framework under (C++,C#)

for KeyCode app i will PM'd you after finish
[Windows Mobile Apps and Games] alexxxua:
Gsmart s1205 not responding on tapping the button on headset:(
[Windows Mobile Apps and Games] ExtremeGTX:
alexxxua

Please wait for new version
[Windows Mobile Apps and Games] Luxon:
I checked out the updated HeadService version and the situation repeated. When the service is on, regulating the system sound with the hardware button on the HD2 is impossible. The sound level screen appears for a moment when you click the button and then switches back to CorePlayer. The CorePlayer gets associated with the system sound regulator!

Could you please help to fix that?

Could you possibly post the changes the Service makes to the system so that I could revert them to get the phone ringing back?

Thank you.
[Windows Mobile Apps and Games] ExtremeGTX:
Hi Luxon

I have extracted (Using Resco Registry) "HKCU\Control Panel\Sounds" from my Omnia II WM6.5.3

I hope this help you.

About my app:

my app doesn't change any sound settings, notification modes, or change any other user settings , it only read Hardware Buttons Events

It doesn't modify User\System Registry or modify any drivers\Programs.

It works with this key only "HKLM\Software\ExtremeGTX\HeadsetService"

The worst case is you will get unexpected behavior from Hardware Keys.

and the Solution is

disable service or use task manager to close "HeadsetService.exe"

Currently i'm try to find a HTC Device for testing

Thanks for testing and Help
[Windows Mobile Apps and Games] Luxon:
Thank you!

That's bad news and good news altogether.

The bad news is that I wrong to start thinking that I can blame the app, and that the only way to understand what screwed the registry has now dissolved like a piece of paper in a tank with sulfuric acid.

The good news is that the app does not do any changes to sound output and does not do any mess with registry.

Unfortunately, that's what I experience. The left button on the left edge of the phone's body becomes a nightmare. If the player is not running, clicking the button just doesn't do anything. When the player is running, clicking the button shows the sound lever bar for a sec. and then it returns back to showing Core Player. At the same time you see that changing system volume sticks to changing player's volume output.

Unfortunately, I had to run the app again and disable the service. That fixed the mess with the hardware button, but didn't solve the mess with ringing, notifications and alarm sound.

Heck, my phone turned into a speechless beast!

Anyways, thank you for the application, thank you for your help and understanding.

I hope you understood me properly.

Thanks, man.
[Windows Mobile Apps and Games] ExtremeGTX:
What 's the Status now, sounds working or not?!
[Windows Mobile Apps and Games] Luxon:
Hi,

Thank you for your support! Unfortunately, you registry settings seem to be all oriented for SAMSUNG phone (there's lot of values referring to sound files that I don't have on the HTC phone). Heck, I am on my wits end...

Thank you for your help!
[Windows Mobile Apps and Games] kslakhani:
here is yr reg file for hd2

else u need to hard reset yr device
[Windows Mobile Apps and Games] retsam88:
How about adding support for bluetooth wireless headphones with no avrcp/single call button? I have exceptionally good headset bt-10cx(18h of talking!) with no avrcp control :(
[Windows Mobile Apps and Games] ExtremeGTX:
Hi retsam88

it is a great idea

but i don't have a wireless bluetooth headset to test

Thank you
[Windows Mobile Apps and Games] Nao Bum:
Will Support Touch Player (Omnia 2)?

Thank you.
[Windows Mobile Apps and Games] ExtremeGTX:
This is my Device (Omnia II) main player

i'm still trying to support it

Hope I can success
[Windows Mobile Apps and Games] ExtremeGTX:
Check First Post for Updates

-Omnia II Touch Player Supported

-Omnia i900 Headset Supported
[Windows Mobile Apps and Games] Nao Bum:
Unfortunately on my Omnia II does not work with Touch Player.

Program is installed in main memory.

Press speed varied from 500 to 1500.

WM 6.5.3; I8000NXXJI1
[Windows Mobile Apps and Games] ExtremeGTX:
after install

Start Menu -> Headset Settings

Choose "Touch Player (Omnia II)"

Click "Status" then "Apply"

Launch "Touch Player"

Now Short Press = Play\Pause

Long Press = Next

Omnia II GT-i8000 WM6.5.3
[Windows Mobile Apps and Games] McEnro:
The Elfin HTC p3452 is not working...:(
[Windows Mobile Apps and Games] altae:
Do you plan to add Pocket Player to the list of supported players? That would be great.
[Windows Mobile Apps and Games] ExtremeGTX:
I will try to add Pocket Player.

HTC Devices are not supported in this version.

altae

What's your device and WM Version?
[Windows Mobile Apps and Games] rbl:
Hi

This app is of kind : you ned to have it :. Runs smoothly on my i900, how abouth different languages support? I could do polish.
[Windows Mobile Apps and Games] altae:
Xperia X1 with Swiss stock rom (German), WM 6.1
[Windows Mobile Apps and Games] jhtravolta:
thnkx man you are very usfel
[Windows Mobile Apps and Games] bobzero:
thanks for the creation OP.

I have an idea: is it possible to configure the program to activate VoiceCommand when the headset button is pressed but no music player is open?

this would make handsfree dialing much easier with handset.
[Windows Mobile Apps and Games] ExtremeGTX:
My First goal now is Supporting HTC Devices

after that

i will try to add some features depend on users needs

Thank you
[Windows Mobile Apps and Games] macdo:
This is a great app!!!

Congrats and Thanks!!

I can't wait to get it working on HTC

Best regards
[Windows Mobile Apps and Games] Lemurek80:
Eten V900 don´t working

Hi,

om my Eten V900 not working with Windows Media Player

System WM 6.1

Just one change...when i lising music and hold headset button for ca.5 sek ,then Voicecommander starting up..

before install this CAB make headset button nothing
[Windows Mobile Apps and Games] waraney:
waiting for HTC support.. :)
[Windows Mobile Apps and Games] ExtremeGTX:
Lemurek80

Sorry man but i can't support " Eten V900"

Because i don't have this device for "LIVE" testing

about VoiceCommand: My App works with Music Players Only

may be this happened due to compatibility issue

macdo , waraney

thanks for waiting guys .... HTC Version will released soon:)
[Windows Mobile Apps and Games] fuerteventura:
Works great on my i900 using Touch Player except that I need to press the headset button 4 times to go to the next song. One press stops and starts the song. Great app!! Thanks
[Windows Mobile Apps and Games] ExtremeGTX:
Hi fuerteventura

4 times:eek: = Next Why?:confused:

Testing Results on i900

One Press = Play\Pause

Two Presses = Next

Thank you
[Windows Mobile Apps and Games] fuerteventura:
Maybe I have it figured out. Tried it with a different headset. This one takes 5 clicks to move ahead. Both are original with i900's. Very strange but to be honest, it doesn't bother me - love the app!
[Windows Mobile Apps and Games] ExtremeGTX:
Hi Guys

Now HTC Devices are Supported

Check First Post

Don't forget to tell me your opinion

Thank you
[Windows Mobile Apps and Games] Corwin9S:
just saying thanks and that it works absolutely perfectly on my i900 6.1fr rom.
[Windows Mobile Apps and Games] waraney:
thanks a lot ExtremeGTX..

will try for that.. :)
[Windows Mobile Apps and Games] rbuzzd:
I tried it on my HTC Touch Dual. Double click works well, but long click start voicecommand service and nothing else. Also when the screen is off and I double click the button, it turn on the screen, Thank you for this tool, it is very comfortable :)
[Windows Mobile Apps and Games] vektorq:
Check for HTC HD2 (Leo) for Russia with a player Core Player - it works as described by the author. The headset has a standard configuration of a PDA. Thank you!
[Windows Mobile Apps and Games] miko99x:
works perfect on my htc touch hd, big thanks man, great app
[Windows Mobile Apps and Games] esociarius:
Thank you very much

Hi ExtremeGTX!

Congratulations! You did it!

Just a little story from real life:

I am used to listen to my audio-books while doing all kind of boring work, like hoovering, cleaning up and so on. Everytime my wife wants to say something to me, I had to unlock my device, switch to the player and press pause - in the meantime my wife starts talking. So I can listen to my audio-book, which makes my wife angry or I can listen to my wife, which makes me angry. With your app I do a little double-tab on the headset and everybody is happy.

Works perfect with Coreplayer on Artemis 55 GER /HD2

Thank you very much

esociarius
[Windows Mobile Apps and Games] ExtremeGTX:
WoW , thats really a huge difference lol .. Glad to see that i could make such an important help for you :) .. Thanks alot for your comment you really made my mood now

AND now i know that my app is really useful

Thank you
[Windows Mobile Apps and Games] Slowdeath:
Hi I like this application I have tested it on my old LG KS20 with player S2P.

However I have experienced similar problem as fuerteventura.

It works as follows:

4 times = next song

3 times = previous song

once or twice = Play\Pause
[Windows Mobile Apps and Games] ExtremeGTX:
Hi Slowdeath

I don't know How my app will work on another devices rather than HTC and Samsung , you may get unexpected behavior on another devices.

I don't have LG Device for Live testing and debugging.

Thank you
[Windows Mobile Apps and Games] mindphaser2k9:
Thanks for amazing app which I waited for years!

It works nice on my i900 with WM6.5.

Wanted to donate you, but for a pity, PayPal don't want to send donation to your country.
[Windows Mobile Apps and Games] devoka:
I wonder why not work with my sprint TP2?
[Windows Mobile Apps and Games] ExtremeGTX:
Hi devoka

if headset original state is

Double Press = Redial

Long Press = VoiceCommand

then it should work

Thank you
[Windows Mobile Apps and Games] devoka:
After trial and error many time, only core player is work.

I use latest LEAD rom for CDMA TP2, it may something change in WMP and HTC audio manager.

PS. my prefer player is HTC audio because it build in with sense, and no need to open other player.

Thank for best program.
[Windows Mobile Apps and Games] MFaust:
it dosnot work for me...

i have a htc fuze

by the way i have a bluetooth Headset with Play, Stop, next ... buttons but it work onley with Windows media player but i want to work with htc audio from Sense... can someone help me?
[Windows Mobile Apps and Games] ExtremeGTX:
Hi MFaust

My App is configured for Devices that its original state is

Double Press = Redial

Long Press = VoiceCommand

So if your device org. state like this then it should work but work with Wired Headset not Wireless Headset

and for players, player must be on "Now Playing" Screen not "Library","Playlist" or options or any other screen and if you need to minimize it

minimize it while player on "Now Playing" Screen

Thank you
[Windows Mobile Apps and Games] MFaust:
oky... thanks for the answear....
[Windows Mobile Apps and Games] starbright_:
With my german HTC Mega (Touch2) I have a problem while powering up. I get a message about:

"There is a problem with services.exe"

With neither Windows Media nor HTC Player ist has any effect (probably because of the problem above).

Did I understand you right: If not using a Headset you can use the call button? And Screen must be locked for this function.

(of course I used the HTC version)
[Windows Mobile Apps and Games] ExtremeGTX:
Hi starbright_

it's a Strange problem, i don't know why you get that error "it's not related to my app"

But

try using FdcSoft TaskMgr and Check Services Page

Search for any related service to VoiceCommand and Disable it

I hope that can help you

Thank you
[Windows Mobile Apps and Games] starbright_:
Sorry, but after de-install the message dissapears. And after again installing it - I get this message again.

I found 30 services, but nothing related to Voicecommand.

HTC Volume is started, HTCSipSrvc started, Bluetooth Audio Gateway (Stopped)
[Windows Mobile Apps and Games] jnmsolo:
On an spanish i900 with 6.1, wmp works perfect, but on touch player just opens the dialer.

Any suggestion?

thanks!
[Windows Mobile Apps and Games] ExtremeGTX:
Hi jnmsolo

May be Some Player's Parameters are changed due to Spanish Language, So my app can't detect Touch Player

What about CorePlayer, S2P and Nitrogen?

Thank you
[Windows Mobile Apps and Games] jnmsolo:
Finally installed and english version of Touch Player and works fine.

I have not tested with S2P, core player or Nitrogen yet, but I'll tell you about its operation.

This is a really great app.
[Windows Mobile Apps and Games] ajom:
Works well on my HTC Touch Diamond 2
[Windows Mobile Apps and Games] superas:
You should add pocket player to the list.

My device is hd2.

Thank you my friend, good work. :)
[Windows Mobile Apps and Games] Filipeknot:
I'm using it on HD2 with BlackBerry Headsets, and double click open the HTC AUDIO PLAYER.

It's a bug?
[Windows Mobile Apps and Games] ExtremeGTX:
superas

I was added Pocket Player before but is doesn't work properly

Filipeknot

What is the default behavior of your headset button?

Long Press = ???

Double Press = ???

Thank you
[Windows Mobile Apps and Games] kawe123:
Is there something similar for an IPAQ 2410 running WM 6.5, I mean all devices accept headphone button input or there is some kind of special jack?

Thanks,
[Windows Mobile Apps and Games] jnmsolo:
Bug found!

Well, it's not important, but when Headset Settings is enabled, Smart Reader don't run. If Headset Settings is disabled Smart Reader works again.
[Windows Mobile Apps and Games] starbright_:
Dear ExtremeGTX, as I am looking for exact that tool you provided, I have tried it again the hard way. I reset the phone to manufacturer state and installed you Tool. Again after the reboot I got this message. Is in this error report somewhat useful for debugging? Let me know if I can do anything for get this working on HTC Touch2.

Do I need to plug in the Headset during boot-time?

Thanks
[Windows Mobile Apps and Games] ExtremeGTX:
kawe123

I don't know how hp devices handle Headset So, I can't support it...Sorry for that:(

jnmsolo

I tested it with Smart Reader, it working Normally

There isn't any problems

starbright_

See if there is a service depend on Redial.exe

Finally:

This App doesn't change any settings or mod other applications it only deals with media players

Thanks for Everyone:)
[Windows Mobile Apps and Games] filtragem:
Hello ExtremeGTX

Thanks for your effort and sharing your application.

Do you know if it works with headphones build for Apples iPods/iPhones?

I had one of this headphone but only the volume buttons worked, also the microphone despite recognized by the HTC didn't "capture" any sound.

Best regards
[Windows Mobile Apps and Games] Atomitzer:
hello,

the progamm works great on HD2, awesome work...

please add mortplayer, I think he is an xda dev member, but I dont know his nickname here.
[Windows Mobile Apps and Games] poppyup:
I confirm this behaviour on my i900 omnia with standard stock rom, too.

May be is a problem related the i900 only. ;)
[Windows Mobile Apps and Games] ypsmav:
It works great on my Blackstone.

It would be great if you add a feature that restart the player when the headset is plugged in.

Edit:

I've just found that works fine with windows media player, but it does not work with the HTC audio manager (latest version from Leo Manila 2018)
[Windows Mobile Apps and Games] beer2ngineer:
Does not work on my HTC touch pro :(

When I install it asks to reset the device with OK.

After resets I get:

"The file "HeadsetService cannot be opened...etc...If problem persist, try installing or restoring this file"

I re-installed but this keeps coming up after reset.

The GUI works and I can set to Core player, but I get no response from the headset's button.

If I untick the headset box in the Blue-tooth settings (only Wireless stereo is ticked) then pressing the button will just open the Windows Media player on top of the already opened Core player, no matter what I do with the button.

This is a Sennheiser MM400 headset.