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

Perl - how to grep a block of text from a file -

delphi - How to remove all the grips on a coolbar if I have several coolbands? -

javascript - Animating array of divs; only the final element is modified -