project_files/Android-build/SDL-android-project/src/org/hedgewars/hedgeroid/Downloader/DownloadAsyncTask.java
equal
deleted
inserted
replaced
71 HttpURLConnection conn = null; |
71 HttpURLConnection conn = null; |
72 MessageDigest digester = null; |
72 MessageDigest digester = null; |
73 String rootZipDest = pack.getPathToStore(); |
73 String rootZipDest = pack.getPathToStore(); |
74 |
74 |
75 File rootDest = new File(rootZipDest);//TODO check for nullpointer, it hints to the absence of an sdcard |
75 File rootDest = new File(rootZipDest);//TODO check for nullpointer, it hints to the absence of an sdcard |
76 rootDest.mkdir(); |
76 rootDest.mkdirs(); |
77 |
77 |
78 try { |
78 try { |
79 URL url = new URL(pack.getURL() + URL_ZIP_SUFFIX); |
79 URL url = new URL(pack.getURL() + URL_ZIP_SUFFIX); |
80 conn = (HttpURLConnection)url.openConnection(); |
80 conn = (HttpURLConnection)url.openConnection(); |
81 } catch (IOException e) { |
81 } catch (IOException e) { |