The default Android input method selects multiple languages and defaults to one of them.
1. Adjust the input method on the device first
Set> Language Input Method> Android keyboard (AOSP), select the language to be selected in the input language, for example, select "English (USA)" and "Spanish:
2. select fried ky "http://www.bkjia.com/kf/web/php/" target = "_ blank" class = "keylink"> PHPtc2zyuTI67eotcTErMjP0 +/keys + CjxwPgq08r + keys "http://www.2cto.com/uploadfile/Collfiles/20150115/2015011508480719.png" alt = "\">
3. view the Setting database file <喎?http: www.bkjia.com kf ware vc " target="_blank" class="keylink"> VcD4KPHA + Environment + CrTyv6pTZWN1cmWx7aOssum/Environment + CjxpbWcgc3JjPQ = "http://www.2cto.com/uploadfile/Collfiles/20150115/2015011508480720.png" alt = "\">
Default_input_method com. android. inputmethod. latin/. LatinIME
Enabled_input_methods com. android. inputmethod. latin/. LatinIME; 816242702;-921088104
Selected_input_method_subtype 816242702
4. Modify the SettingsProvider File
Frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/DatabaseHelper. java
Put the following two rows in the private void loadSecureSettings (SQLiteDatabase db) function (note the loadSecureSettings function, not loadSystemSettings ):
loadSetting(stmt, Settings.Secure.ENABLED_INPUT_METHODS, defaultIme); loadSetting(stmt, Settings.Secure.DEFAULT_INPUT_METHOD, defaultIme);
Modify to the following three rows:
LoadSetting (stmt, Settings. secure. ENABLED_INPUT_METHODS, "com. android. inputmethod. latin /. latinIME; 816242702;-921088104 "); // loadSetting (stmt, Settings. secure. DEFAULT_INPUT_METHOD, "com. android. inputmethod. latin /. latinIME "); // The default input method is the system input method loadSetting (stmt, Settings. secure. SELECTED_INPUT_METHOD_SUBTYPE, "816242702"); // default language of the Default Input Method