diff --git a/framework/assets/js/accelerometer.js b/framework/assets/js/accelerometer.js index 5c091710..89258011 100755 --- a/framework/assets/js/accelerometer.js +++ b/framework/assets/js/accelerometer.js @@ -40,7 +40,6 @@ Accelerometer.ERROR_MSG = ["Not running", "Starting", "", "Failed to start"]; * @param {AccelerationOptions} options The options for getting the accelerometer data such as timeout. (OPTIONAL) */ Accelerometer.prototype.getCurrentAcceleration = function(successCallback, errorCallback, options) { - console.log("Accelerometer.getCurrentAcceleration()"); // successCallback required if (typeof successCallback != "function") { diff --git a/framework/src/com/phonegap/FileUtils.java b/framework/src/com/phonegap/FileUtils.java index 217ef27f..1f437b0e 100755 --- a/framework/src/com/phonegap/FileUtils.java +++ b/framework/src/com/phonegap/FileUtils.java @@ -36,7 +36,6 @@ public class FileUtils extends Plugin { * Constructor. */ public FileUtils() { - System.out.println("FileUtils()"); } /** @@ -156,7 +155,6 @@ public class FileUtils extends Plugin { * @throws FileNotFoundException, IOException */ public String readAsText(String filename, String encoding) throws FileNotFoundException, IOException { - System.out.println("FileUtils.readAsText("+filename+", "+encoding+")"); StringBuilder data = new StringBuilder(); FileInputStream fis = new FileInputStream(filename); BufferedReader reader = new BufferedReader(new InputStreamReader(fis, encoding), 1024); diff --git a/framework/src/com/phonegap/HttpHandler.java b/framework/src/com/phonegap/HttpHandler.java old mode 100644 new mode 100755 index ab210fe4..4218b928 --- a/framework/src/com/phonegap/HttpHandler.java +++ b/framework/src/com/phonegap/HttpHandler.java @@ -62,7 +62,6 @@ public class HttpHandler { if (numread <= 0) break; out.write(buff, 0, numread); - System.out.println("numread" + numread); i++; } while (true); out.flush(); diff --git a/framework/src/com/phonegap/api/PluginManager.java b/framework/src/com/phonegap/api/PluginManager.java index 905d04cd..80328b3b 100755 --- a/framework/src/com/phonegap/api/PluginManager.java +++ b/framework/src/com/phonegap/api/PluginManager.java @@ -37,7 +37,6 @@ public final class PluginManager { * @param ctx */ public PluginManager(WebView app, DroidGap ctx) { - System.out.println("PluginManager()"); this.ctx = ctx; this.app = app; } @@ -66,7 +65,6 @@ public final class PluginManager { */ @SuppressWarnings("unchecked") public String exec(final String service, final String action, final String callbackId, final String jsonArgs, final boolean async) { - System.out.println("PluginManager.exec("+service+", "+action+", "+callbackId+", "+jsonArgs+", "+async+")"); PluginResult cr = null; boolean runAsync = async; try { @@ -133,9 +131,6 @@ public final class PluginManager { } ctx.sendJavascript(cr.toErrorCallbackString(callbackId)); } - if (cr != null) { - System.out.println(" -- returning result: "+cr.getJSONString()); - } return ( cr != null ? cr.getJSONString() : "{ status: 0, message: 'all good' }" ); } @@ -197,7 +192,6 @@ public final class PluginManager { if (this.plugins.containsKey(className)) { return this.getPlugin(className); } - System.out.println("PluginManager.addPlugin("+className+")"); try { Plugin plugin = (Plugin)clazz.newInstance(); this.plugins.put(className, plugin); @@ -233,7 +227,7 @@ public final class PluginManager { public void addService(String serviceType, String className) { this.services.put(serviceType, className); } - + /** * Called when the system is about to start resuming a previous activity. */