Change input method properties at runtime

I want to use activity Use/Application Browser activity with Input Method as simulate and as hardware based on requirement should be decided at runtime… Is there any way we can configure it with config file or by any variable or argument.

Hello @sahilgoyal149

You cannot directly pass some variables to the Input method to change this.

So what you can do is you can use 2 activities with different input method and use a if condition.

for example, if use is inputing Harware, if(UserInput=“Hardware”){ Then Clicka ctivity for hardware, else “click activity for simulate”}

Like this way you can do.