摘要: 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 want?Context中有一个startActivity方法,Activity继承自Context,重载了startActivity方法。如果使用Activity的startActivity方法,不会有任何限制,而如果使用Context的start 阅读全文
posted @ 2011-11-02 20:55 One Kid Sky 阅读(18783) 评论(1) 推荐(1) 编辑