Saturday 15 June 2013

android - connection.getContentLength() returns -1 in second time -



android - connection.getContentLength() returns -1 in second time -

my stream link content type of application/octet-stream returns -1 below request in sec time:

url url = new url(f_url[0]); urlconnection conection = url.openconnection(); int lenghtoffile = conection.getcontentlength();

what code problem? problem server? adm in android & idm in windows works link , observe size in first. how can solve this?

android stream connection urlconnection android-download-manager

No comments:

Post a Comment