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. Is there no TCK (Technology Compatibility Kit) on Android????

Hi All!!!

Is there any TCK (Technology Compatibility Kit) on Android such like
Sun TCK??
How can i assure my android platform after changing it as own style.
Can some one help me clarify this point?
Thanks for your time.

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

2. How to customize Android SDk kernel

Hi All

I am trying to do insmod hello.ko from the adb shell. But it always gives
the error Function not implemented.

I googled and found in the net that the Android SDK's kernel  has to be
built with *dynamic loadable modules. *
**
Does anybody knows how can i build the SDK kernel with this particular
option ??

Thanks in Advance
Joe

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

3. how can I create a 'View' object from a xml file?

4. Layout of "Settings" app on G1

5. Android programmers needed

6. AlertDialog in Subactivity does not show...

7. How to hide signal icon and clock icon at status bar?