title: Developing two android apps and communicating between two
body: <p>I am developing two applications names <strong>A</strong> and <strong>B</strong>. </p>
  
  <p><strong>Application A</strong> as activity named <code>MainActivity</code>, service called <code>UpdateService</code>, <code>BroadcastReciever</code> called <code>UpdateReceiver</code>. </p>
  
  <p><strong>Application B</strong> as activity named <code>TestActivity</code>, service called <code>DoService</code>, <code>BroadcastReciever</code> called <code>DoReceiver</code>. </p>
  
  <p>In my <strong>application B</strong>, I want to access few methods and code from <code>MainActivity</code> which is in <strong>Application A</strong>. </p>
  
  <p>In this way, I need full control of <strong>Application A</strong> code to access it in my <strong>application B</strong>.</p>
  
  <p>How can I achieve it? </p>