Adding startActivity method to CordovaInterface as many plugins rely on this method

This commit is contained in:
macdonst 2012-02-27 13:07:56 -05:00
parent e918ffd751
commit 10cbcd7f5a

View File

@ -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.
*