I thought there is always a headphone jack in Android phone.
However, few days ago, I found that there is no headphone jack to plugin my headphone on OPPO R8106.
Is there any way to detect if there is headphone jack existing on Android?
My workaround solution is to register a BroadcastReceiver
, if BroadcastReceiver receive a message in 5 second, I would thing there is a headphonce jack in this phone.
Any convenient way existing?