fixed minor download bug hedgeroid
authorXeli
Tue, 09 Aug 2011 20:56:34 +0200
branchhedgeroid
changeset 5514 294c92eea729
parent 5512 e4cbfa6c1a6d
child 5516 8710987d3484
fixed minor download bug
project_files/Android-build/SDL-android-project/src/org/hedgewars/mobile/Downloader/DownloadAsyncTask.java
project_files/Android-build/SDL-android-project/src/org/hedgewars/mobile/Downloader/DownloadService.java
--- a/project_files/Android-build/SDL-android-project/src/org/hedgewars/mobile/Downloader/DownloadAsyncTask.java	Tue Aug 09 20:56:18 2011 +0200
+++ b/project_files/Android-build/SDL-android-project/src/org/hedgewars/mobile/Downloader/DownloadAsyncTask.java	Tue Aug 09 20:56:34 2011 +0200
@@ -36,7 +36,7 @@
 		try {
 			String rootZipDest = params[0];
 
-			File rootDest = new File(rootZipDest);
+			File rootDest = new File(rootZipDest);//TODO check for nullpointer, it hints to the absence of an sdcard
 			rootDest.mkdir();
 			
 			URL url = new URL(params[1]);
--- a/project_files/Android-build/SDL-android-project/src/org/hedgewars/mobile/Downloader/DownloadService.java	Tue Aug 09 20:56:18 2011 +0200
+++ b/project_files/Android-build/SDL-android-project/src/org/hedgewars/mobile/Downloader/DownloadService.java	Tue Aug 09 20:56:34 2011 +0200
@@ -21,7 +21,7 @@
 
 public class DownloadService extends Service {
 
-	private final static String URL = "http://www.xelification.com/tmp/data.zip";
+	private final static String URL = "http://31.3.98.83/tmp/data.zip";
 	public static final int MSG_CANCEL = 0;
 	public static final int MSG_REGISTER_CLIENT = 1;
 	public static final int MSG_UNREGISTER_CLIENT = 2;