UnknownJoe
UnknownJoe

Reputation: 599

Android - Playing the sound of dialer button

I'm writing my custom dialer keyboard. Does anyone know how to play sound of tap to system dialer pad?(* # 0..9)

Thanks

Upvotes: 0

Views: 573

Answers (1)

Ole
Ole

Reputation: 7979

Have a look at the ToneGenerator class. It contains the correct tones and a way to play them. This is how the default Dialer app plays the tones.

Upvotes: 2

Related Questions