Try to register the broadcast event for ACTION_HEADSET_PLUG.
in intent.getIntExtra("state", 0)); you will get whether headset is
connected or not.
On Tue, Jun 8, 2010 at 9:56 PM, info.sktechnol...@gmail.com <
info.sktechnol...@gmail.com> wrote:
> I need to know whether headphones are plugged
I need to know whether headphones are plugged in and receiving
my audio stream. I have tried using isWiredHeadsetOn from the
AudioManager, but this seems to always return false, even when
I am hearing audio through the headphones. I have only tried this
on my EVO.
Any suggestions?
--
You recei
2 matches
Mail list logo