title: Calling one app from another app with URL passed as argument in Android
body: <p>I want to call b.apk from a.apk and b.apk reads a URL from a file and opens it in browser. I am able to do that with the help of 'intent'.
  Below is the code for the same:</p>
  
  <pre><code>Intent intent1 = new Intent(Intent.ACTION_MAIN);
  intent1.setClassName("own.example.weburl", "own.example.weburl.NewWebViewActivity");
  intent1.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK | Intent.FLAG_ACTIVITY_BROUGHT_TO_FRONT );
  startActivity(intent1);
  </code></pre>
  
  <p>Now I want to do the same thing , but I want to pass the URL to b.apk to open it instead of b.apk reading it from the file. So b.apk should just open the URL it received as argument. I went through Android Developer website to look for a way to do this, but couldn't find any.
  How to achieve this?</p>
  
  <p>Thanks.</p>