Input Method Framework Error Codes

NOTE

This topic describes only module-specific error codes. For details about universal error codes, see Universal Error Codes.

12800001 Package Manager Error

Error Message

Package manager error.

Description

This error code is reported when an API of the package manager, such as getInputMethods and listCurrentInputMethodSubtype, fails to be invoked to obtain information.

Possible Causes

The package manager is not working correctly.

Solution

None

12800002 Input Method Engine Error

Error Message

Input method engine error.

Description

This error code is reported when an input method API fails to be invoked.

Possible Causes

The input method process is suspended.

Solution

Check whether the input method process is running properly. For example, click the input text box in an appliccation and check whether the input keyboard is displayed.

12800003 Input Method Client Error

Error Message

Input method client error.

Description

This error code is reported when the API for showing or hiding the keyboard fails to be invoked by a third-party application.

Possible Causes

The input method is disconnected from the third-party application due to a service error with the application.

Solution

Bind the input method to the third-party application again: Close the background process of the third-party application, start the application again, and touch an input text box. If the keyboard is displayed properly, the issue is resolved.

12800004 Key Event Processing Error

Error Message

Key event processing error.

Description

This error code is reported when a key event error occurs.

Possible Causes

An exception occurs during key event distribution, consumption, or listening.

Solution

None

12800005 Configuration Persistence Error

Error Message

Configuration persisting error.

Description

This error code is reported when the configuration fails to be saved during input method switching.

Possible Causes

An exception occurs with the system parameter configuration module.

Solution

Run the hdc shell param get persist.sys.default_ime command to check the default input method parameters. If the parameters are displayed, the system parameter configuration module is working properly. In this case, restart the device and try again.

12800006 Input Method Controller Error

Error Message

Input method controller error.

Description

This error code is reported when the input method controller fails to be obtained.

Possible Causes

An error occurs during invoking of the getCotroller API.

Solution

None

12800007 Input Method Setter Error

Error Message

Input method settings extension error.

Description

This error code is reported when an InputMethodSetting instance fails to be obtained.

Possible Causes

An error occurs during invoking of the getSetting API.

Solution

None

12800008 Input Method Manager Service Error

Error Message

Input method manager service error.

Description

This error code is reported when an API of the input method framework fails to be invoked.

Possible Causes

The input method manager service fails to be obtained.

Solution

Run the ps -A|grep inputmethod command to check for the process ID of the input method service. If the process ID is found, the service is working properly.