setContentView not working
<p>i have file name TabGroupActivity.java which contains the below function as </p>

<pre><code>  public void startChildActivity(String Id, Intent intent) {     
          try{
              Window window = getLocalActivityManager().startActivity(Id,intent.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP));
              if (window != null) {
                  System.out.println("Start Account page.....");
                  Global.mIdList.add(Id);
                  setContentView(window.getDecorView());

              }   
            } catch(Exception ex){ 
                System.out.println("Start Account page....."+ex.getMessage());
          }

      }
</code></pre>

<p>This is called from various files, when this is called as below it works. </p>

<pre><code>    file name e.java 

    Global.eInsObject = this;
            Global.eIns = new Intent(this,myAccount.class);
            startChildActivity("myAccount",Global.eIns);
</code></pre>

<p>This works perfectly fine but when i call the below was it doesnt give any error but also doesnt show new view or anything,. </p>

<p>file name :- Home.java</p>

<pre><code>System.out.println("Global.eInsObject is" +Global.eInsObject);
                                    System.out.println("Global.eIns is" +Global.eIns);

                                    TabGroupActivity parentActivityE = (TabGroupActivity) Global.eInsObject;
                                    //System.out.println("parentActivityE is "+parentActivityE);
                                    parentActivityE.startChildActivity("myAccount", Global.eIns);
</code></pre>
