Community

Android OCR Sdk Request

I am using your Android ocr webservice in my application.... I am using abbay ocr sdk for android app....I am getting following response error from your server.

Error:/data/data/abbay.ocrsdk.android/files/result.txt:open failed:ENOENT(no such file or directory)

please help me how to resolve this issue.

Was this article helpful?

0 out of 0 found this helpful

Comments

8 comments

  • Avatar
    Anastasia Galimova

    Could the issue be reproduced using our Android sample http://ocrsdk.com/documentation/code-samples/ ?

    0
  • Avatar
    Results

    I already used your sample code....but i am getting same issue.that i post earlier.

    0
  • Avatar
    Anastasia Galimova

    The issue occurs because you try to write to the root directory, and most probably you have not got the corresponding rights.

    If you got this mesagge using our non-modified sample code, please send us the stack trace to let us fix the issue.

    You can read the details here.

    0
  • Avatar
    prema

    Downloaded the doe from following link

    https://github.com/abbyysdk/ocrsdk.com/tree/master/Android

    Getting Following errors,any help please

    Error:/data/data/abbay.ocrsdk.android/files/result.txt:open failed:ENOENT(no such file or directory)

    As u said to send the stack trace,Am sending as an attachment.

    0
  • Avatar
    gigaplus

    hi

    I am using unmodified code of android version.

    I manage to capture an image but then I got Error:/data/data/abbay.ocrsdk.android/files/result.txt:open failed:ENOENT(no such file or directory)

    I have read the forum but still dont have clue what to do. Do I need to modified the code to store different folder (phone storage or sd)?

    Is using File file = new File("/data/data/your.package.name/nfs/guille/groce/users/nicholsk/workspace3/SQ‌​LTest/BlockForTest.txt"); the solution to this problem

    Thanks

    0
  • Avatar
    Anastasia Galimova

    Unfortunately, we have not receive the stack trace, and the developer needs this stack to solve the issue. Could you please send it to CloudOCRSDK@abbyy.com?

    0
  • Avatar
    Anastasia Galimova

    The developer needs the stack trace to solve the issue. Could you please send it to CloudOCRSDK@abbyy.com?

    0
  • Avatar
    Anastasia Galimova

    The developer has reproduced the issue and fix it! The following changes https://github.com/abbyysdk/ocrsdk.com/commit/c83422fd2f0fb0967918c98f8cad9ffaa76be26c were made in Android sample code https://github.com/abbyysdk/ocrsdk.com/tree/master/Android .

    0

Please sign in to leave a comment.