Keep in mind though that depending on the word app, constantly hitting a remote resource is going to cause delays. It would be best to at least cache several words local to the device if you are using that approach. Also, you would need to keep in mind that a user may or may not have an active connection to the outside world and plan accordingly. I agree with the above suggestion to have some sort of prebuilt database or json type data structure.
On Sat, Feb 5, 2011 at 10:09 PM, cellurl <[email protected]> wrote: > You might consider starting with an example. > I once started with some code from Progmatic Bookshelf called > "Translate". > > You should try it. I found it, its in this zip file under /code/ > Translate. > It connects to wikipedia and does word searching perhaps similar to > what you require. > > http://www.pragprog.com/titles/eband3/source_code > > > -cellurl > > > > On Feb 5, 8:31 pm, Traveler <[email protected]> wrote: > > Have you considered Sqlite? I'm using it in a speeling app I'm > > developing. > > Jerry > > > > On Feb 5, 3:36 pm, nivedita arora <[email protected]> wrote: > > > > > > > > > > > > > > > > > hi, > > > i really need help. > > > i am making a word game for college which uses words of length 4 to > > > 7. > > > i have a certain array of string containing words of length 4 -7.i > > > have to check if those words are valid english words or not.i was > > > earlier trying to implement database containing 4 tables each having > > > all possible for word of length 4,5,6,7 which were being added by > > > reading respective file of words i had made . > > > > > But its taking way too much time to create database for any user to > > > wait,and the app times out. > > > > > so i started searching alternate ways..cant decide what should be done > > > and is best considering my req. > > > 1)trie for dictionary > > > 2)hashset for storing words of each length of 4,5,6,7 > > > (would using this be better than trie as i hv to access just words > > > of length 4,5,6,7 only?) > > > 3)some dictionary api(some preinstalled db whch i cud query) > > > > > pls any help would be really appreciated what should be selected? > > > i want to make an efficient game.pls suggest what should be done? > > > thanx in advance :) > > -- > You received this message because you are subscribed to the Google > Groups "Android Developers" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en > -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

