Skip to content

Most visited

Recently visited

Added in API level 14


Provides classes that allow you to create spell checkers in a manner similar to the input method framework (for IMEs).

To create a new spell checker, you must implement a service that extends SpellCheckerService and extend the SpellCheckerService.Session class to provide spelling suggestions based on text provided by the interface's callback methods. In the SpellCheckerService.Session callback methods, you must return the spelling suggestions as SuggestionsInfo objects.

Applications with a spell checker service must declare the BIND_TEXT_SERVICE permission as required by the service. The service must also declare an intent filter with <action android:name="android.service.textservice.SpellCheckerService" /> as the intent’s action and should include a <meta-data> element that declares configuration information for the spell checker. For example:

    android:permission="android.permission.BIND_TEXT_SERVICE" >
    <intent-filter >
        <action android:name="android.service.textservice.SpellCheckerService" />
        android:resource="@xml/spellchecker" />

For example code, see the sample Spell Checker service app, and the sample Spell Checker client app.


SpellCheckerService SpellCheckerService provides an abstract base class for a spell checker. 
SpellCheckerService.Session This abstract class should be overridden by a concrete implementation of a spell checker. 
This site uses cookies to store your preferences for site-specific language and display options.


This class requires API level or higher

This doc is hidden because your selected API level for the documentation is . You can change the documentation API level with the selector above the left navigation.

For more information about specifying the API level your app requires, read Supporting Different Platform Versions.