• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Android : Code to Add/Delete Words in User Dictionary

 
Tarun Trehan
Ranch Hand
Posts: 51
Android Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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??
 
Tarun Trehan
Ranch Hand
Posts: 51
Android Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Rancher
Posts: 42969
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What, exactly, do you mean by "user dictionary"? Which classes/methods are you using for adding words?
 
Tarun Trehan
Ranch Hand
Posts: 51
Android Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic