Ok, I can open my database without error, but when I try the following, I get a "The local variable cur may not have been initialized" error on "cur" on line 2
Cursor cur;
int row_count = cur.getCount();
Toast.makeText(this, row_count, 2000).show();
Any ideas?
Thanks
Cursor cur;
int row_count = cur.getCount();
Toast.makeText(this, row_count, 2000).show();
Any ideas?
Thanks