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

Popular posts from this blog

c# - DetailsView in ASP.Net - How to add another column on the side/add a control in each row? -

javascript - firefox memory leak -

Trying to import CSV file to a SQL Server database using asp.net and c# - can't find what I'm missing -