Android 9 Development Cookbook(Third Edition)
上QQ阅读APP看书,第一时间看更新

Returning a result from an activity

Being able to start one activity from another is very useful and commonly used, but there are times when we need to know the result from the called activity. The startActivityForResult() method provides the solution.