File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/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: 41096
    
  44
What, exactly, do you mean by "user dictionary"? Which classes/methods are you using for adding words?


Ping & DNS - my free Android networking tools app
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.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Android : Code to Add/Delete Words in User Dictionary
 
Similar Threads
Can anyone please review my design?
Finding anagrams in a dictionary file using pre-fixes
Writing Content to file not working
API implementing Dictionary
LZ78 and FileReader