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 UserDictionary.java (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. Can I use my PC's serial port to communicate with my bluetooth reference board

I am running emulator on Ubuntu8.04 virtual machine on top of Windows XP. Is
there any way that I can use PC's serial port as emulator's UART to
communicate with an external bluetooth reference board?
Thanks,

Jinjun

--~--~---------~--~----~------------~-------~--~----~

2. OI Flashlight

A small but useful tool for those who ever used their mobile phones as
flashlights in the night:

The OpenIntents Flashlight helps you find your way in the dark.
The display backlight stays turned on while this application is
running.

Download from your favorite place:
* http://www.openintents.org/en/node/126
* http://slideme.org/content/oi-flashlight
* http://andappstore.com/AndroidPhoneApplications/apps/2636

Peli
www.openintents.org



--~--~---------~--~----~------------~-------~--~----~

3. Possible bug in Market? (about versionCode)

4. g1 keyboard missing up/down/left/right keys?

5. Download Count Reset on App Upgrade in Android Market

6. Invoking the web browser from my app

7. Is there a way to increase the G1's default screen timeout during a call?