本文共 440 字,大约阅读时间需要 1 分钟。
startActivityForResult不返回结果,请检查AndroidManifest中的描写叙述,是否对该Activity设置了:launchMode="singleTask",
查看文档:
For example, if the activity you are launching uses the singleTask launch mode,it will not run in your task and thus you will immediately receive a cancel result.
。
。你应该知道了吧。。。