michael
michael

Reputation: 41

simulate a click action in a phone call in Android

I am a new and developing an android application to solve the following problem.

Sometimes I want to get some information through a call, here is the process.

  1. call the number and I will hear the hint voice
  2. press 1 to select the language

I wonder if there are library that can be used to simulate a click action during a call, so I can just type in the phone number and then the app will automatically select the language for me.

Upvotes: 4

Views: 169

Answers (2)

sataniccrow
sataniccrow

Reputation: 372

View.performClick() does exist, but the real problem is that you cant interact with that activity (as far as I know).

Upvotes: 1

Related Questions