Android dynamically switches input methods through code

Reported answer
Android dynamically switches input methods through code
Ask online customer service
Scan the code to ask online customer service
  • Number of answers

    four

  • Number of browses

    9,196

4 answers Default sorting
  • Default sorting
  • Sort by time

Adopted
To write the input method ID into the setting item in system settings, you can use the following codes:
Settings.Secure.putString(mContext.getContentResolver(), Settings.Secure.DEFAULT_INPUT_METHOD, "ID of input method");
This will enable InputManagerService to listen for changes to this setting item.
cancel comment
In the input status, slide down the notification bar and click to change the keyboard, provided that your phone has two or more input methods
cancel comment
Install Chinese and Japanese input methods
cancel comment
Yes, I use the Google input method, but if I think it is convenient to use the one that can be input by hand, because sometimes you know the word but do not know the correct pronunciation, I recommend a mazec2 input method for mobile phones.
cancel comment
ZOL Q&A > mobile phone > Other classifications > Android dynamically switches input methods through code

report

Thank you for contributing to the harmony of the community. Please select the type of report

Reported successfully

It will be handled after verification
Thank you for your contribution to community harmony

Scan the code to participate in the trial of new products at 0 yuan
You can get the sheets and grand gifts on the top floor

 Scan and pay attention to us
Tips

Are you sure you want to cancel this registration and exit this activity?