[android-developers] Re: DB Cursor not working

2009-10-20 Thread Yayo
n, Oct 19, 2009 at 1:37 AM, Yayo wrote: > > > The count(1) counts the appearances of the first column y all rows, it > > That's not how I interpret the Sqlite documentation, which says that > "count(X)" returns "a count of the number of times that X is not NULL

[android-developers] Re: DB Cursor not working

2009-10-19 Thread Yayo
s the one that's pissing me off. On Oct 18, 8:07 pm, Marco Nelissen wrote: > On Sun, Oct 18, 2009 at 7:50 AM, Yayo wrote: > > > Hi all, > > > I've got this piece of code where I count words in a dictionary and > > then I try to query them: > > >

[android-developers] DB Cursor not working

2009-10-18 Thread Yayo
Hi all, I've got this piece of code where I count words in a dictionary and then I try to query them: String params[] = { Integer.toString(minlength), Integer.toString(maxlength) }; SQLiteStatement statement = database

[android-developers] dblite file?

2009-09-22 Thread Yayo
Hello, Is it possible to bundle a read/only dblite file with data for the application? I mean I need a bunch of pre-compiled data and distribute it with my app and sqlite could be great! But I've found this line in the api docs "All databases, SQLite and others, are stored on the device in /dat