Java Code Examples for android.provider.Settings#ACTION_INPUT_METHOD_SETTINGS

The following examples show how to use android.provider.Settings#ACTION_INPUT_METHOD_SETTINGS . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: InputMethodManagerService.java    From TvRemoteControl with Apache License 2.0 5 votes vote down vote up
private void showConfigureInputMethods() {
    Intent intent = new Intent(Settings.ACTION_INPUT_METHOD_SETTINGS);
    intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK
            | Intent.FLAG_ACTIVITY_RESET_TASK_IF_NEEDED
            | Intent.FLAG_ACTIVITY_CLEAR_TOP);
    mContext.startActivityAsUser(intent, null, UserHandle.CURRENT);
}
 
Example 2
Source File: CustomSystemKeyboardActivity.java    From mongol-library with MIT License 4 votes vote down vote up
public void onActivateKeyboardsButtonClick(View view) {
    Intent inputSettings = new Intent(Settings.ACTION_INPUT_METHOD_SETTINGS);
    startActivityForResult(inputSettings, 0);
}
 
Example 3
Source File: SettingsActivity.java    From Chimee with MIT License 4 votes vote down vote up
private void showInstallKeyboardDialog() {
    Intent inputSettings = new Intent(Settings.ACTION_INPUT_METHOD_SETTINGS);
    startActivityForResult(inputSettings, INSTALL_KEYBOARD_REQUEST);
}