I am building an ocr application for android where a user can click a picture and convert that picture using abby ocr api. I have seen the sample provided by abby ocr api. I have used the same code in my application but I am getting "NetworkOnMainThreadException". Can somebody help me with an example how to do this.

Thanks in advance


asked 28 Aug '12, 19:13

Tushar's gravatar image


edited 01 Oct '12, 09:41

Vasily%20Panferov's gravatar image

Vasily Panferov ♦♦

You need to provide additional information for that. Try to look at this exception. Usually there is a message describing a problem.

Did you provide a correct application id and password?


answered 29 Aug '12, 10:50

Vasily%20Panferov's gravatar image

Vasily Panferov ♦♦

Yes I have provided the same application id and password that works with the android sample provided with the sdk. Unfortunately the message that comes with exception is null.

(29 Aug '12, 12:20) Tushar

Thats a android error, not Abbyy!


answered 05 Dec '12, 19:24

Mark%20OMalley's gravatar image

Mark OMalley

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported



Asked: 28 Aug '12, 19:13

Seen: 2,822 times

Last updated: 05 Dec '12, 19:24

© 2016 ABBYY. All rights Reserved. www.ABBYY.com | Privacy Policy | Legal