Skip to content

Commit

Permalink
Ana liste https li adres ile degistirildi. ve simdi calisiyor.
Browse files Browse the repository at this point in the history
  • Loading branch information
tasomaniac committed Mar 17, 2014
1 parent dba3554 commit ad8ead0
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ private class RetrieveBlogListAsyncTask extends AsyncTask<Void, Void, String> {
@Override
protected String doInBackground(Void... params) {
try {
return loadXmlFromNetwork("http://istanbulhs.org/feed/");
return loadXmlFromNetwork("https://istanbulhs.org/feed/");
} catch (IOException e) {
return getResources().getString(R.string.connection_error);
} catch (XmlPullParserException e) {
Expand Down Expand Up @@ -178,7 +178,8 @@ private String loadXmlFromNetwork(String urlString) throws XmlPullParserExceptio
// an input stream.
private InputStream downloadUrl(String urlString) throws IOException {
URL url = new URL(urlString);


HttpURLConnection.setFollowRedirects(true);
HttpURLConnection conn = (HttpURLConnection)url.openConnection();
conn.setReadTimeout(10000 /* milliseconds */);
conn.setConnectTimeout(15000 /* milliseconds */);
Expand Down

0 comments on commit ad8ead0

Please sign in to comment.