How to return a result (startActivityForResult) from a TabHost Activity?

后端 未结 5 1832
悲哀的现实
悲哀的现实 2020-11-22 12:40

I have 3 classes in my example: Class A, the main activity. Class A calls a startActivityForResult:

Intent intent = new Intent(this, ClassB.class);
startAct         


        
5条回答
  •  孤独总比滥情好
    2020-11-22 13:15

    Intent.FLAG_ACTIVITY_FORWARD_RESULT?

    If set and this intent is being used to launch a new activity from an existing one, then the reply target of the existing activity will be transfered to the new activity.

提交回复
热议问题