What's the error message in the system log?
On Tue, Apr 14, 2009 at 10:38 PM, iki qui.af...@gmail.com wrote:
The application has stopped unexpectedly.
Please try again.
One query always works.
Two consecutive queries works about 75% of the time.
Three consecutive queries works about a
Please look at the adb logcat error message (also Eclipse DDMS
perspective logcat).
R/
On Tue, Apr 14, 2009 at 10:38 PM, iki qui.af...@gmail.com wrote:
The application has stopped unexpectedly.
Please try again.
One query always works.
Two consecutive queries works about 75% of the
Thanks for the help (DDMS logcat, I didn't realize it tracked real
time activity).
It turns out it wasn't the sqlitedatabase query() method that was
causing the problem.
I had a line of code:
Random.nextInt(Cursor.getCount()) - 1
to pick a random record from the returned cursor.
The problem is
The application has stopped unexpectedly.
Please try again.
One query always works.
Two consecutive queries works about 75% of the time.
Three consecutive queries works about a third.
Four consecutive queries works about 10%
Five doesn't seem to work at all (it worked once out of many tries).
What kind of crash do you get? Is this a force close or an exception?
R/
On Thu, Apr 9, 2009 at 9:26 PM, iki qui.af...@gmail.com wrote:
Has anyone other than me needed to make consecutive queries to a
sqlitedatabase?
My application works sometimes but other times (about 98% of the
time),
5 matches
Mail list logo