开发者

Android Activity Group Implementation

i have multiple activities in my activityGroup under tabactvity.

  1. I want to start the child actvity for result.

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

    View view = stocksgroup.group.getLocalActivityManager()

    .startActivity开发者_开发技巧("show_city", i

    .addFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP))

    .getDecorView();

    // Again, replace the view

    stocksgroup.group.replaceView(view);

this code basically taking me to the next activity. here i want to implement the actvity for result. hw can i do that?


It ts very late but just for reference a demo can be seen here: onActivityResult is not been invoked after the child activity calls finish()

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜