Is there a way in Android 2.2.2 to override the headphone port?
For example, a service that was able to tell the phone that headphones have been removed. The BroadcastReceiver doesn’t look like it’d be able to tell the phone anything, just listen for when things change.
I want to do this because my LG phone thinks there’s headphones in even when there is not, making it necessary to use speakerphone for all my calls.
Well, I am answering this question with links to a discussion on which they point many things to solve that on a Droid X. It is not an answer related with programming, since I honestly think that it is not a software issue. You can find more discussion of people with the same problem on here, here, and here.
Among the suggested solutions: