Example usage for android.provider Settings EXTRA_INPUT_METHOD_ID

List of usage examples for android.provider Settings EXTRA_INPUT_METHOD_ID

Introduction

In this page you can find the example usage for android.provider Settings EXTRA_INPUT_METHOD_ID.

Prototype

String EXTRA_INPUT_METHOD_ID

To view the source code for android.provider Settings EXTRA_INPUT_METHOD_ID.

Click Source Link

Usage

From source file:net.HeZi.Android.HeInputLibrary.HeInput_Activation_Fragment.java

private void showChineseDialectSelection() {
    Intent intent = new Intent(Settings.ACTION_INPUT_METHOD_SUBTYPE_SETTINGS);

    intent.putExtra(Settings.EXTRA_INPUT_METHOD_ID, inputId);
    intent.putExtra(Intent.EXTRA_TITLE, getString(R.string.select_chinese_dialect_title)); //"Select Enabled Subtypes"
    startActivity(intent);// ww  w .  ja  v a  2  s  . co  m
}