User defined words for input methods to use for predictive text input. Applications and input methods may add words into the dictionary. Words can have associated frequency information and locale information.
Questions tagged [android-userdictionary]
10 questions
8
votes
1 answer
Issue Programmatically Adding Word for Word Prediction
I am using UserDictionary.Words class's addWord function to add Words to Dictionary so that they can show up in Text prediction. The Words do exist in the dictionary with APP_ID=0 and available for default android keyboard.
However I am using Swift…

Quamber Ali
- 2,170
- 25
- 46
7
votes
0 answers
How to replace Android dictionary with our custom dictionary?
I am developing an android app for doctors. The doctors needed to type only medicine name in an edit text. Keyboard predictive text suggestions are the best for my app for correcting the word. I have added the medicine names by adding words to user…

Vaisakh Cp
- 171
- 4
- 11
5
votes
3 answers
Access UserDictionary Content Provider on android API level 23
I'm developing a android application which aims to show a list on the screen with the contents present in the user dictionary.
The problem is that when I compile and run the application in the Android API Level 23 Content Provider return a Cursor…

Kesley Vaz
- 51
- 2
5
votes
1 answer
Remove words from UserDictionary?
With UserDictionary.Words and WRITE_USER_DICTIONARY permission it's possible to add words to the user dictionary, but I don't see any way to remove words.
The motivation in this case is to add autocompletion suggests that are local to the app and…

blahdiblah
- 33,069
- 21
- 98
- 152
2
votes
0 answers
Source of CandidatesView Candidates in Android
Can someone tell me where the candidates come from on android's CandidatesView while typing. And where are the words that we(user) taps to save are stored and how to access them programmatically?
I have searched the user dictionary but it does not…

Syed Wajahat Ali
- 541
- 1
- 7
- 25
1
vote
1 answer
How to add new words to android user dictionary so that they would appear on candidates view while typing
I have searched and looked into this issue all over the web but did not get a clear answer. I have added the words to the user dictionary using content provider as the android documentation states the words gets added but after that when i type onto…

Syed Wajahat Ali
- 541
- 1
- 7
- 25
1
vote
1 answer
google keyboard crashes after I'm adding words to userdictionary in my program
Seems like it should work. And I can see words in User Dictionaries in Settings after importing them.
public static void addWord(Context context, String word, Locale locale) {
final int COLUMN_COUNT = 5;
ContentValues values = new…

user1685095
- 5,787
- 9
- 51
- 100
0
votes
1 answer
How to delete word(s) from UserDictionary with specifying locale?
I have a couple of input types and each has its own words in the personal dictionary (UserDictionary). I want to delete a word(s) from one input type/ one locale.
I tried the following but the app…

Maihan Nijat
- 9,054
- 11
- 62
- 110
0
votes
0 answers
Android: Why doesn't the UserDictionary.Words extend the ContentProvider class?
From the developer guide of Content Providers:
Android itself includes content providers that manage data such as
audio, video, images, and personal contact information.
From the developer guide of Content Provider Basics:
one of the built-in…

Solace
- 8,612
- 22
- 95
- 183
0
votes
0 answers
How do I differentiate between 2 users using shared preferences?
I am trying to differentiate between 2 user id's using sharedpreferences so preferences saved by one should not be seen by the other logging on the same device.
I plan on doing something liek this:
Sharedpreferences.java
public boolean…
user2386226