V
V
Vitaly Petrov2011-04-25 19:19:27
Nokia
Vitaly Petrov, 2011-04-25 19:19:27

Qt/Symbian button on the headset. press event?

Interested in personal experience, did anyone manage to handle the event of a button located on a Nokia headset in their application?
Specifically, this one:
hands_free_mobilephone_headphone_for_Nok
On a device like Nokia 5228/5800, with Symbian^1. I use Qt SDK 1.1 Beta as a framework.
Please do not give links to topics from forum.nokia.com - all examples available there for both processing media buttons and non-media have been tested. The sound control buttons work great, but this button from the headset does not want to be caught either when the application is deployed in front of the user, or when it is removed to the background.
Interesting problem? =)

Answer the question

In order to leave comments, you need to log in

3 answer(s)
T
Truf, 2011-07-06
@vitaly_KF

Especially tricky hard buttons usually try to catch through CAnimDLL, but in this case it is unlikely to help. CAnimDLL catches tricky buttons on the body of the device, not accessories.
It would be nice to know the exact model of these headphones. Apparently, some Chinese HST-XX
I asked about old headsets:
MRemConCallHandlingTargetObserver::AnswerCall() or MRemConCallHandlingTargetObserver::EndCall() are only called if there is an incoming or ongoing phone call in the system.
MRemConCallHandlingTargetObserver::VoiceDial() is called by long press on this button. But the system catches the event first and launches its handler.
Nothing else works. You can check.

E
ertaquo, 2011-04-25
@ertaquo

Still, I will give a link to this site ... KAccessoryModeChanged API - is that not it?

A
Alexey Sidorov, 2011-04-25
@Gortauer87

They say that SymbianEvent is caught, you need to inherit from QApplication and implement the SymbianEvent method

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question