android - Trying to download traineddata files(Tesseract) -
i'm trying download file: tesseract-ocr-3.02.eng.tar.gz on android commands:
httpurlconnection urlconnection = null; urlconnection = (httpurlconnection) url.openconnection(); urlconnection.setallowuserinteraction(false); urlconnection.setinstancefollowredirects(true); urlconnection.setrequestmethod("get"); urlconnection.connect();
from url = "https://tesseract-ocr.googlecode.com/files/tesseract-ocr-3.02.eng.tar.gz"; , not working. throwing unknownhostexeception , error coming last command urlconnection.connect();
what can fixing , download file?
Comments
Post a Comment