Hi,
How do I detect if earpiece is connected or not??
Regards,
--
S.
Hi,
How do I detect if earpiece is connected or not??
Regards,
--
S.
Check KAccessoryModeChanged API from the plugin packs (http://wiki.forum.nokia.com/index.php/SDK_API_Plug-in)
I need to check it on demand, not just get notified about _changes_.
Checking an API is not the same as reading some fragments about it in the Wiki. Since I also had some doubts yesterday, I have checked the API itself, and I am pretty convinced about that you should also do that.
I've read through the API and actually I didn't even find KAccessoryModeChanged. That's because I'm using headers present in epoc32/include/oem in my product environment. My company is an S60 licensee and I suppose if there's an older version of dossvrservices.h than in Nokia plugin release then probably this API is just not supported. Fortunately I've found an internal API dedicated solely to checking status of the headset. I'm grateful for the suggestion to read through the API itself though because it got me started browsing the whole source tree. Thanks wizard, you're the best.