using Android 1.5 SDK with eclipse under ubuntu 9.04.

I am writing an app which saves rows of data in a contentprovider
which is built on an sqlitedatabase.   I need to test some
behavior of the app when the db is initially empty.  Once my app
puts stuff in the db, it will not be empty the next time I restart
my app  so I can't conveniently test the db empty case.

I was wondering if (since I'm only testing with the emulator
on my PC) I can go to a dir on my local PC disk and delete the
file which contains the DB before I restart my app so that I
can more easily test the app init for the case where the DB is empty?
Can you tell me where the sqlitedb file for my content provider is
at in my local dir structure?

Is there an easier way to do what I am trying to do?

Thanks,
Rod

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Beginners" 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-beginners?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to