User dictionary in Settings

by Jaden Pak » Fri, 20 May 2011 09:34:00 GMT

Sponsored Links
 Hi, all!

I'm developing some test codes for Android Settings(native app).

But I have some difficulties finding out what the real SQLite table is
for User dictionary words.

Does anyone have an idea about this?
In (which seems to be a provider class), I can see
only addWord() method.
In order to learn how to insert, update or delete in SQLite table,
which source file should I
check ?

Thanks in advance!


Re: User dictionary in Settings

by Brill Pappin » Fri, 20 May 2011 12:09:42 GMT

 android.provider.UserDictionary is a simple content provider.
You should be able to query it any way you like. You likely want the
Words content.

You might need to read up on content providers if you are not familiar
with them.
However, remember that the UserDictionary is not just used by your
app, so be careful what you do with it!

- Brill


Sponsored Links

Other Threads

1. trying to show a progressdialog in a lengthy task

Anything *other* than lengthy tasks. The main application thread is the
UI thread.

There's only one thread of significance -- the main application ("UI")
thread -- unless you arrange for your own threads, either manually
forking them or using tools like AsyncTask or IntentService.

Mark Murphy (a Commons Guy) |

Android Training in US: 26-30 April 2010:


2. Intent filters + prevent creation of multiple activity instances?

To clarify:

MyApp::ActivityA is running

Browser launches new MyApp::ActivityA instance.

Inside the new instance of MyApp::ActivityA, I want to be able to see
that there is already a previous instance of MyApp::ActivityA running,
close myself, and bring it to the foreground.

Is that possible?



3. how much time we have at onPause until we are killed?

4. how much time we have at onPause until we are killed?

5. how much time we have at onPause until we are killed?

6. Fwd: Keyboards keymap change

7. eclair 2.1 Lockscreen issue