Android Question Voicemail, detecting a tap via accelerometer

Avon

Member
Licensed User
Longtime User
Is it possible to detect that an outgoing call from the Android phone is connecting to voicemail? It does not show up as a change of call status. Also I have read somewhere that the Audio stream is not accessible during a phone call. The problem with voicemail is that it doesn't hang up of its own accord after the message - if any - has been left, it just keeps listening.

The problem for me is that the normal way of terminating such a call is by clicking the rather small button on the dialler dialog which terminates the call. My disabled user would have problems with this. But if the device was tapped I could use that as a signal to terminate the call, or to put the app into a mode where for a few seconds a second tap would allow the call to continue, and if there was no tap, would terminate it.

Does this sound OK? Could there be a better way?
 

Avon

Member
Licensed User
Longtime User
Thanks for that link Erel. But as you say in that thread,
You will not be able to abort the call with this solution.
.

Maybe I can use a hook, will ask a new question.
 
Last edited:
Upvote 0
Top