Is there any way to do the following process in android Automation using Appium with android driver?
Press home button from some specific screen. Put app in backgrou
This will navigate to the Gmail App while executing your Appium script. You Just Change the package name & activity of your app.
Activity activity = new Activity("com.google.android.gm", "com.google.android.gm.ConversationListActivityGmail");
activity.setStopApp(false);
((AndroidDriver) driver).startActivity(activity);