Link to home
Start Free TrialLog 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
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
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