I expect that moveToFirst() returns false if the selection has zero rows, no? And it seems to me that the selection could be empty, especially when the table is created just microseconds before. Perhaps you should start some activity when that happens?
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads