We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I am trying to download and save image to data. Here is my code
AndroidNetworking.download("https://vigaas.com/wp-content/themes/vigaas/images/logo.png", Environment.getDataDirectory().getAbsolutePath(),imgName) .setTag(imgName) .setPriority(Priority.HIGH) .build() .setDownloadProgressListener(new DownloadProgressListener() { @Override public void onProgress(long bytesDownloaded, long totalBytes) { Log.d("LOGO_PROGRESS", "Downloaded: "+bytesDownloaded+"/"+totalBytes); } }) .startDownload(new DownloadListener() { @Override public void onDownloadComplete() { Helper.hideProgressDialog(); Intent i = new Intent(LoginActivity.this, MainActivity.class); startActivity(i); finish(); } @Override public void onError(ANError anError) { Log.e("LOGO_ERROR",anError.getErrorCode()+" "+ anError.getErrorDetail()); Helper.hideProgressDialog(); } });
I get connectionError in Log E/LOGO_ERROR: 0 connectionError
E/LOGO_ERROR: 0 connectionError
The text was updated successfully, but these errors were encountered:
Refer this link square/okhttp#1628
Thanks Amit Shekhar
Sorry, something went wrong.
The better suggestion that I read on the referred link is that: get your HTTPS server to use a more modern cipher suite.
No branches or pull requests
I am trying to download and save image to data.
Here is my code
I get connectionError in Log
E/LOGO_ERROR: 0 connectionError
The text was updated successfully, but these errors were encountered: