Link to home
Create AccountLog in
Avatar of KETTANEH
KETTANEH

asked on

error and need help for making dictionary for andoird

Hello all,

I am trying to make a simple offline dictionary for Android. I have a problem when copying my database TestData.db from android asset folder into /data/data/package name/databases/ in emulator. When I use java io to copy file there is some error in LogCat here is the error:
error1.jpg is attached
User generated image


Here is the error in emulator:
User generated image
When I check the File Explorer in eclipse in /data/data/package name/databases/ the TestData.db has copy but the size is 0 bytes. Shouldly the file size is 3,257,344 bytes.
 
QamoosActivity.java
DataBaseHelper.java
ASKER CERTIFIED SOLUTION
Avatar of alexey_gusev
alexey_gusev
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer
Avatar of KETTANEH
KETTANEH

ASKER

That for helping me, but it is still not working
what does it do now? could you comment out all the code and leave only copying part?
thanks for try