intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK)
在使用startActivity时候出现异常:
Caused by: Android.util.AndroidRuntimeException: Calling startActivity() from outside of an Activity context requires the FLAG_ACTIVITY_NEW_TASK flag. Is this really what you
原创
2016-06-29 10:42:55 ·
7438 阅读 ·
0 评论