Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package io.appium.java_client.android;
 
 public interface StartsActivity {
This method should start arbitrary activity during a test. If the activity belongs to another application, that application is started and the activity is opened.

Parameters:
appPackage The package containing the activity. [Required]
appActivity The activity to start. [Required]
appWaitPackage Automation will begin after this package starts. [Optional]
appWaitActivity Automation will begin after this activity starts. [Optional]
Example:
*.startActivity("com.foo.bar", ".MyActivity", null, null);
	  public void startActivity(String appPackageString appActivityString appWaitPackageString appWaitActivity)
	                                                                                  throws IllegalArgumentException;
  
   
This method should start arbitrary activity during a test. If the activity belongs to another application, that application is started and the activity is opened.

Parameters:
appPackage The package containing the activity. [Required]
appActivity The activity to start. [Required]
Example:
*.startActivity("com.foo.bar", ".MyActivity");
	  
	  public void startActivity(String appPackageString appActivity)
              throws IllegalArgumentException;	  
New to GrepCode? Check out our FAQ X