How to run scripts without relaunching the app

Hi Everyone

I am using Appium 1.7.2.
->-In eclipse i have 2 java files a1.java and a2.java when i run the scripts in a1.java the application should launch from the login screen
->when i run a2.java Is it possible to run the scripts with the current screen of the application (Output of the a1.java) without relaunching the application(not from the login screen) and work with the current screen which is opened

Note: I am using an hybrid application for testing

Please help me in resolving this issue
Thanks in advance