From 10cbcd7f5a4ab67359ac2c0798783010a8fb73ba Mon Sep 17 00:00:00 2001 From: macdonst Date: Mon, 27 Feb 2012 13:07:56 -0500 Subject: [PATCH] Adding startActivity method to CordovaInterface as many plugins rely on this method --- framework/src/org/apache/cordova/api/CordovaInterface.java | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/framework/src/org/apache/cordova/api/CordovaInterface.java b/framework/src/org/apache/cordova/api/CordovaInterface.java index f46058f7..0cf8bb2d 100755 --- a/framework/src/org/apache/cordova/api/CordovaInterface.java +++ b/framework/src/org/apache/cordova/api/CordovaInterface.java @@ -69,6 +69,13 @@ public interface CordovaInterface { */ abstract public void startActivityForResult(IPlugin command, Intent intent, int requestCode); + /** + * Launch an activity for which you would not like a result when it finished. + * + * @param intent The intent to start + */ + abstract public void startActivity(Intent intent); + /** * Set the plugin to be called when a sub-activity exits. *