摘要: 如果是从BroadcastReceiver 启动一个新的Activity , 不要忘记i.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);public class MyReceiver extends BroadcastReceiver{ public static final String action=”acc”; public void onReceive(Context context, Intent intent) { Intent i=new Intent(context,Receivered.class); i.setFlags(Intent.FL 阅读全文
posted @ 2010-10-26 23:57 张兴业 阅读(484) 评论(0) 推荐(0) 编辑