当按返回键触发setResult时 resultcode==0; 解决办法:注册清单里android:launchMode="singleInstance"去掉 转载于:https://www.cnblogs.com/wangle2014/p/4252734.html