diff --git a/assets/gap.js b/assets/gap.js
index 871efb9f..4c092701 100644
--- a/assets/gap.js
+++ b/assets/gap.js
@@ -310,8 +310,8 @@ var Device = {
file: {
result: "",
- testSaveLocationExists: function(){
- Device.file.result = window.DroidGap.testSaveLocationExists();
+ getFreeDiskSpace: function(){
+ Device.file.result = window.DroidGap.getFreeDiskSpace();
return Device.file.result;
},
testFileExists: function(file){
diff --git a/assets/index.html b/assets/index.html
index 9fdc6479..e5913d62 100644
--- a/assets/index.html
+++ b/assets/index.html
@@ -1,5 +1,6 @@
-
+
+
@@ -110,8 +111,8 @@ http = function(func)
}
fileManagement = function(x){
- if (x == 'testSDCard'){
- $('file_status').value = Device.file.testSaveLocationExists();
+ if (x == 'getFreeDiskSpace'){
+ $('file_status').value = Device.file.getFreeDiskSpace();
}else
if (x == 'testFileExists'){
$('file_status').value = Device.file.testFileExists($('checkfile').value);
@@ -175,7 +176,9 @@ phInformation = function(){
addLoadEvent(initGap);
-
+
+
+
-
-
-
-
-
+
+
+
+
+
Audio
+
Make sure your Android sdk sdcard is mounted!
-
-
+
+
+
+