2
3

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

InputMethodManager#setInputMethodを利用してもアプリ内からはIMEを変更できないっぽい

Posted at

アプリ内でIMEを切り替えたいメソッドがあるとおもったけど、実は動作しなかった。
セキュリテイの観点から禁止されているっぽいけど、たどり着くのに時間がかかったので、メソッドの説明か上の方に書いて欲しかった。

  • A client application can ask that the system let the user pick a new IME, but can not programmatically switch to one itself. This avoids malicious applications from switching the user to their own IME, which remains running when the user navigates away to another application. An IME, on the other hand, is allowed to programmatically switch the system to another IME, since it already has full control of user input.
2
3
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
3

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?