aspose file tools*
The moose likes Android and the fly likes Android : Code to Add/Delete Words in User Dictionary Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Mobile » Android
Bookmark "Android : Code to Add/Delete Words in User Dictionary" Watch "Android : Code to Add/Delete Words in User Dictionary" New topic
Author

Android : Code to Add/Delete Words in User Dictionary

Tarun Trehan
Ranch Hand

Joined: Mar 16, 2012
Posts: 49

Hi All,

I want to write an application to add / delete words in user dictionary on android.
I have found code in android api to add a word.
However, i have not been able to figure out anything related to removal of word.
Could you please assist me in achiveing this??


Thanks,
Tarun Trehan (http://allzhere.in)
Tarun Trehan
Ranch Hand

Joined: Mar 16, 2012
Posts: 49

Hi All,

I figured the code to add a user defined word to dictionary.

I am still not sure about the code to delete.
Can you please suggest if this is possible in Android ??
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42935
    
  68
What, exactly, do you mean by "user dictionary"? Which classes/methods are you using for adding words?
Tarun Trehan
Ranch Hand

Joined: Mar 16, 2012
Posts: 49

Ulf,

Using the following API to add a custom word.
Android_UserDictionary

UserDictionary :
Eg: My name does not exist in my phone's dictionary and hence does not show up in auto suggest. So, i want to add that and some others.
I thought of writing an app for it but was stuck with delete option.

Can you please suggest.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Android : Code to Add/Delete Words in User Dictionary