you can do this ..
call the main method of OtherApp.
ex : OtherApp.main(null); main method is static .. so it can be called like
this. you need to pass the String array as the argument or null if you are
neglecting the arguments. This will run as a same thread.
If you want to run as another thread, create seperate thread and call the main
method from within the run method of the thread.
Hope this answers you query.