diff --git a/mobile/build-test.xml b/mobile/build-test.xml
index 6584fcbd..94d78654 100644
--- a/mobile/build-test.xml
+++ b/mobile/build-test.xml
@@ -68,26 +68,7 @@
-->
-
-
-
+
-
-
-
-
- git.commits: ${git.commits}
-
-
-
-
-
- git.version: ${git.version}
+
+
+
+
+ git.commits: ${git.commits}
+
+
+
+
+
+ git.version: ${git.version}
- Creating backup of AndroidManifest.xml
-
+ Creating backup of AndroidManifest.xml
+
-
-
@@ -188,17 +169,35 @@
- Restoring backup of strings.xml and preferences.xml
-
-
+ Restoring backup of strings.xml and preferences.xml
+
+
+
diff --git a/mobile/src/com/cradle/iitc_mobile/IITC_Application.java b/mobile/src/com/cradle/iitc_mobile/IITC_Application.java
index 312faab7..23327f58 100644
--- a/mobile/src/com/cradle/iitc_mobile/IITC_Application.java
+++ b/mobile/src/com/cradle/iitc_mobile/IITC_Application.java
@@ -5,6 +5,12 @@ import android.preference.PreferenceManager;
import java.io.File;
+/*
+ * To write the WebView cache to external storage we need to override the
+ * getCacheDir method of the main application. Some internal Android code seems
+ * to call getApplicationContext().getCacheDir(); instead of
+ * getContext().getCacheDir(); to decide where to store and read cached files.
+ */
public class IITC_Application extends Application {
@Override
public File getCacheDir() {