title: Android call method from another app without starting it
body: <p>I have two android applications with different packages <code>App1</code> and <code>App2</code>. Suppose I want to call a method <code>Method1</code> written in <code>App1</code>, from <code>App2</code>. One solution I found in the following link, <a href="https://stackoverflow.com/questions/12339083/android-call-method-from-another-app">Android call method from another app</a>, suggested that we should register a <code>BroadcastReceiver</code>  in <code>App1</code> and call <code>sendBroadcast()</code> from <code>App2</code>. But the problem is, I could call the <code>Method1</code> only if App1 is running in the background. Otherwise, nothing is happening. </p>
  
  <p>How to resolve this issue? Are there any other ways to call <code>Method1</code> without having to start <code>App1</code>?</p>