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
Here is the error in emulator:
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
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
Here is the error in emulator:
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
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
what does it do now? could you comment out all the code and leave only copying part?
ASKER
thanks for try
ASKER