Re : Re: Re : Re: Re : Re: [android-developers] Is SQLite database in cache after first use?

2011-08-08 Thread CocoRambo
Note that getLocalContentProvider is API level 5. Thanks for the information!! I didn't pay attention to this... :p I will use the static as you suggested! Thanks for all time passed to discuss with me. -- You received this message because you are subscribed to the Google Groups Android

[android-developers] Is SQLite database in cache after first use?

2011-08-07 Thread CocoRambo
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

Re : Re: [android-developers] Is SQLite database in cache after first use?

2011-08-07 Thread CocoRambo
Well, something is not working :) Possibly something, somewhere, is keeping references to the old SQLiteDatabase object that in turn still references the old file. That is what I think but where between: Content provider | CursorLoader | CursorAdapter | something else... If your server

Re : Re: Re : Re: [android-developers] Is SQLite database in cache after first use?

2011-08-07 Thread CocoRambo
I finally find a solution but I am not proud of it... My mistake was that I called close() on the wrong SQLiteOpenHelper. So I add a public method to my ContentProvider to get his SQLiteOpenHelper... Next during update I do this: MyContentProvider cp = (MyContentProvider)

[android-developers] Android Market statistics problem ?

2010-12-15 Thread CocoRambo
Hi all, On december 9th or 10th, I notice that active installs for my application decrease a bit. Since this date total installs / active installs is around 20% each day. Before this date it was around 63% each day since one year. I did not change anything on my application that really justify