Search code examples
c#androidshelladbime

How do I get the current keyboard (current IME) being used via ADB


Currently, I know how to set the keyboard to use using the command adb shell ime set [keyboard IME]. But the question is how do I get the current keyboard being used?

I'm planning to use it using the madb C# library which fortunately has a ExecuteRemoteCommand method which allows me to execute shell commands (sort of like adb shell).


Solution

  • adb shell settings get secure default_input_method