android open PackageManager as a dialog
<p>Hi I am opening another app from my app. I want to display that another app in a dialog box. So what are my options. I an trying the code below...</p>

<pre><code>public class PictureGallery extends Activity{

@Override
public void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);

    PackageManager pm = getPackageManager();
    Intent intent = pm.getLaunchIntentForPackage("com.abc.me");
    startActivity(intent); ???
    setContentView(intent); ????
   }
}
</code></pre>

<p>I am setting theme for that activity as a dialog. So how do I set setContentView as it's not a layout but diff. activity ?</p>

<p>Appreciate your help.</p>
