Run the app inside dialog view Android : i have one activity which is a dialog in my app.

    <activity android:theme="@android:style/Theme.Dialog"
        android:name="com.example.myapp.AuthActivity" />

and it contains a button "run your app inside this dialog view itself"

On clicking this button, App should run or open under this dialog.

Is this possible? or its a worst question? 

Could anyone help me out in this?
 