Rename your 5MB database file to something Android does not recognize by the
extension ( I used .db.jet ) and then use that raw resource as the source when
copying. Works for me.
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to
Then copy the corrupted file to your desktop and do a binary compare with
the original. This may give you some clues about what is going wrong.
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-de
nope, I can check which file read in which order by logs. They are in
order. if they were not in order, it would not work in any phone.
On Thursday, March 22, 2012 8:35:58 PM UTC+2, Nadeem Hasan wrote:
>
> How are you ensuring that they are being reassembled in the same order?
> From the code, i
How are you ensuring that they are being reassembled in the same order?
>From the code, it looks like you just get a list of all the files in the
assets directory and concatenate them in the order they were returned by
the API. This order may or may not be the same as the natural order of
these
so what would you suggest?
I checked if all bytes of db copied, and yes it copies all of it.
what should I do now? how can I load my prefilled 5MB database?
On Tuesday, March 13, 2012 11:30:11 AM UTC+2, Zsolt Vasvari wrote:
>
> I would very strongly advise you against doing this. There is
> no
so what would you suggest?
I checked if all bytes of db copied, any yes it copies all of it.
what should I do now? how can I load my prefilled 5MB database?
On Tuesday, March 13, 2012 11:30:11 AM UTC+2, Zsolt Vasvari wrote:
>
> I would very strongly advise you against doing this. There is
> no
I would very strongly advise you against doing this. There is
no guarantee that the binary database file will be compatible across
Android version and much less across all custom ROMs.
On Tuesday, March 13, 2012 6:00:16 AM UTC+8, Halil Enver Soylu wrote:
>
> I have a 5MB database. I split it
Hi Soylu,
First u check whether
myContext.getAssets().open(ASSETS_DB_FOLDER+"/"+dbFiles[i]); files exists
or not
then then copy method do it in asyntask
Moktarul
On Tuesday, 13 March 2012 03:30:16 UTC+5:30, Halil Enver Soylu wrote:
>
> I have a 5MB database. I split it into <1MB chuck f
8 matches
Mail list logo