RamaMohan wrote:
> This might be helpful.
> http://androidsnips.blogspot.com/2010/10/copying-larger-database-files-in.html
>
>
>

this actually may work but more likely may not.

the key part of this code is:

while ( (length =
databaseInputStream.read(buffer ))
> 0 ) {
databaseOutputStream.
write(buffer);
        }

here write(buffer) is used which of course can make some problems,
instead write(buffer, 0, length) should be used

pskink

-- 
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