Possible Duplicate:
Android: Detect headphones as well as headset?
There's an easy way over java, but, since we're doing a library we want to skip the jni part.
Possible Duplicate:
Android: Detect headphones as well as headset?
There's an easy way over java, but, since we're doing a library we want to skip the jni part.