[Android SDK]Can't copy external database (13MB) from Assets

Coldy1984

New Member
I need a list of italian words for a game I'm developing but I can't actually make it copy my database from assets. I tried quitea lot of solutions I found on the website, such as:[*]Using your own SQLite database in Android applications[*]how to copy large database which occupies much memory from assets folder to my application?[*]Load files bigger than 1M from assets folderBut I had no luck, it keeps on giving me this error on the line\[code\]os.write(buffer, 0, len);\[/code\]but I can't understand why. Here's the function's code and the constants I'm using.A strange thins is that my database stops copying after 11.45MB, just 1 MB away from the goal.Can someone help me solve this? Many thanks :)
 
Top