Embed 3th party activity in my Activity
<p>I'm using the following code to get the activity of a 3th party application and to put it in my activity:</p>

<pre><code>LocalActivityManager mgr = getLocalActivityManager();

Intent i = new Intent(this, SomeActivity.class);

Window w = mgr.startActivity("unique_per_activity_string", i);
View wd = w != null ? w.getDecorView() : null;

if(wd != null) {
    mSomeContainer.addView(wd);
}
</code></pre>

<p>Copyright Synic: <a href="http://stackoverflow.com/questions/3265265/android-using-activitygroup-to-embed-activities">android: using ActivityGroup to embed activities</a></p>

<p>However, due Security Restrictions, I'm receiving the following error:</p>

<p>java.lang.SecurityException: Requesting code from com.google.android.youtube (with uid 10065) to be run in process com.xxx.xxx (with uid 10144). (It is possible to show your own activity with your own SharedUID from your own application.)</p>

<p>Now i'm wondering if there is any way I can avoid this. By using rooted devices(?), bug in Android OS, or anything else. If I can get it to work by rooting my device, how would i achieve it? (not the rooting ofc)</p>
