Android app to detect when headphones has been connected.
The application monitors the Broadcast information of headphone has been plugged in or unplugged.
- The application starts monitoring after the System Boot is complete, this means that headset monitoring only starts after installation of the app and reboots the phone, or opens the application and clicks on the RESTART button.
- No message (Toast) is displayed on the system, only information by Log.i.
in Android Studio 2.3.1 in Java.
This code is about the Apache 2.0 license that can be read in full HERE.