Android - User Dictionary (Content Provider)

Card Puncher Data Processing

About

A provider of user defined words for input methods to use for predictive text input. Applications and input methods may add words into the dictionary.

Words can have associated:

  • frequency information (how many times the word was chosen)
  • and locale information.

From API level 23, it can not be accessed. bug ticket This is intended behaviour, the user dictionary is now accessible only by the current spellchecker and keyboard.

Permission

In the manifest, add the following permission

<uses-permission android:name="android.permission.READ_USER_DICTIONARY"/>

Content URI

class: UserDictionary.Words.CONTENT_URI
text: content://user_dictionary/words
explanation: scheme://authority/GetListOfWords

Documentation / Reference





Discover More
Content Provider
Android - Content Provider

A content provider is a facade between the data store (Xml, Database) and the applications. Change the underlying data source without changing the application code Leverage standard android library....



Share this page:
Follow us:
Task Runner