title: Launch firefox mobile from another app
body: <p>I need to launch firefox mobile within my application. I'm currently doing this:</p>
  
  <pre><code>String url = "http://www.google.it";
  Intent intent = new Intent(Intent.ACTION_MAIN, null);
  intent.addCategory(Intent.CATEGORY_LAUNCHER);
  intent.setComponent(new ComponentName("org.mozilla.firefox_beta",
      "org.mozilla.firefox_beta.App"));
  intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
  intent.setData(Uri.parse(url));
  startActivity(intent);
  </code></pre>
  
  <p>And it works if firefox is not running.
  While if it is running (paused in background) this code just bring firefox up without loading the url I specified in the code.</p>