aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xAndroid/res/xml/config.xml1
-rw-r--r--src/android_error.html17
2 files changed, 18 insertions, 0 deletions
diff --git a/Android/res/xml/config.xml b/Android/res/xml/config.xml
index 28f0047..69ea9e1 100755
--- a/Android/res/xml/config.xml
+++ b/Android/res/xml/config.xml
@@ -47,6 +47,7 @@
<preference name="InAppBrowserStorageEnabled" value="true" />
<preference name="disallowOverscroll" value="true" />
-->
+ <preference name="errorUrl" value="file:///android_asset/www/src/android_error.html" />
<feature name="App">
<param name="android-package" value="org.apache.cordova.App"/>
diff --git a/src/android_error.html b/src/android_error.html
new file mode 100644
index 0000000..b39079f
--- /dev/null
+++ b/src/android_error.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<html>
+ <head>
+ <title></title>
+ <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no;" />
+ <meta charset="utf-8">
+
+ <link rel="stylesheet" href="css/fms.css" type="text/css" media="screen" title="no title" charset="utf-8">
+
+ </head>
+ <body>
+ <div id="load-screen">
+ <div class="radar"></div>
+ <p>There seems to have been a problem starting the app. Please quit and try again</p>
+ </div>
+ </body>
+</html>