OSDN Git Service

cherry-pick from master: 3c26ae869e24e6cd7c63dc44fc3f46221262e15f
authorScott Main <smain@google.com>
Fri, 26 Mar 2010 00:37:25 +0000 (17:37 -0700)
committerScott Main <smain@google.com>
Wed, 21 Apr 2010 17:44:50 +0000 (10:44 -0700)
commitbeca3af74d2a5baeba00ada49ba2480d36535f5e
tree1a7920bca339812efd5e29301a9931c4707b9969
parent84086578bb07eb65c141f5cba0c5e31a12d44c17
cherry-pick from master: 3c26ae869e24e6cd7c63dc44fc3f46221262e15f

new version of the Searchable Dictionary that saves all the words
in an SQLite Database and FTS3 table, then performs all look ups
using the content provider, plus various style modifications.
16 files changed:
samples/SearchableDictionary/AndroidManifest.xml
samples/SearchableDictionary/_index.html
samples/SearchableDictionary/res/drawable-hdpi/ic_menu_search.png [new file with mode: 0644]
samples/SearchableDictionary/res/drawable-mdpi/ic_menu_search.png [new file with mode: 0644]
samples/SearchableDictionary/res/layout/main.xml
samples/SearchableDictionary/res/layout/result.xml [new file with mode: 0644]
samples/SearchableDictionary/res/layout/word.xml
samples/SearchableDictionary/res/menu/options_menu.xml [new file with mode: 0644]
samples/SearchableDictionary/res/raw/definitions.txt
samples/SearchableDictionary/res/values/strings.xml
samples/SearchableDictionary/res/xml/searchable.xml
samples/SearchableDictionary/src/com/example/android/searchabledict/Dictionary.java [deleted file]
samples/SearchableDictionary/src/com/example/android/searchabledict/DictionaryDatabase.java [new file with mode: 0644]
samples/SearchableDictionary/src/com/example/android/searchabledict/DictionaryProvider.java
samples/SearchableDictionary/src/com/example/android/searchabledict/SearchableDictionary.java
samples/SearchableDictionary/src/com/example/android/searchabledict/WordActivity.java