java - Adding a word into a custom Dictionary from a SpellCheckerService -


i implementing ime customized dictionary , id create spellcheckerservice well. integration trivial cannot seem find documentation on how add non existant words dictionary. button there, upon click sends me devices custom words list not want do. want add word structures. dont see overridable methods in spellcheckerservice nor session class.

is there way achieve this?

edit: added picture of want override clarification

enter image description here

well found out.

the word editor activity has have in manifest:

<intent-filter>    <action android:name="com.android.settings.user_dictionary_insert" />    <action android:name="com.android.settings.user_dictionary_edit" />    <category android:name="android.intent.category.default" />    <category android:name="android.intent.category.voice_launch" /> </intent-filter> 

source: the android app source code


Comments

Popular posts from this blog

c++ - Function signature as a function template parameter -

algorithm - What are some ways to combine a number of (potentially incompatible) sorted sub-sets of a total set into a (partial) ordering of the total set? -

How to call a javascript function after the page loads with a chrome extension? -