开发者

Activities can't be added until the containing group has been created

开发者 https://www.devze.com 2023-03-24 23:11 出处:网络
Activities can\'t be added until the containing group has been created, error Can any one help, below is the code im using.

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());
                                }
0

精彩评论

暂无评论...
验证码 换一张
取 消