Activities can't be added until the containing group has been created
Activities can't be added until the containing group has been created, error
Can any one help, below is the code im using.
try{
Intent previewMessage = new Intent(Home.this, a.class);
System.out.println("preview message "+previewMessage);
a insA = new a();
TabGroupActivity parentActivity = (TabGroupActivity)insA;
System.out.println("parentActivity message "+parentActivity);
parentActivity.startChildActivity("home", previewMessage);
开发者_如何学Python
}catch(Exception ex){
System.out.println("Caought exception :- "+ex.getMessage());
}
精彩评论