Bug
Bug

Reputation: 212

Want to get users input during call

I want to achieve the following in android.

When userA make call to userB. when userB press any key during call on number pad then userA can get notification about users selected button.

Is it possible?

Upvotes: 2

Views: 532

Answers (1)

stinepike
stinepike

Reputation: 54672

by using gsm call the feature you want doesn't have any api support. But you can try any of the following

Case 1:

when a number key is pressed during call then a dtmf tone is send. try if you can somehow decode the dtmf tone. As there is no recording option in android during call you can try setting speakerphone on.. ( i haven't tried this, so not sure fully) For this you can see this project

Case 2

Create another channel over network. create server client mechanism to register each number in your server. whenever two calls of two registered users are made send data over network. you can see a similar apps thruto

Upvotes: 1

Related Questions