Hi,

For a new application I try to make weekly data update by downloading 
directly an SQLite file generated in PHP.
So when update is needed I:

   - Download the new SQLite file in ZIP (mydb.zip)
   - Extract to a temporary file (mydb.db)
   - Delete the old one (application.db via 
   deleteDatabase("application.db"))
   - Put the new one instead (mydb.db becomes application.db)

But when I go back to any of my listviews, data still come from the old 
SQLite file.

I tried to only delete old SQLite file (All it's ok and I can check thah the 
file is really deleted via DDMS)
but my listviews data are still present...


Each of my ListFragment uses CursorLoader + Custom adapter that extends 
CursorAdapter
It seems that loader is (re)created each time the fragment is created so I 
don't think the problem is from this side...


Does anyone have same experience with SQLite database use?

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

Reply via email to