startActivity 新开一个Activity
private void startActivity(Intent intent) { Context ctx = ApplicationController.getTopActivity(); if (null == ctx) { ctx = ApplicationController.getApplication(); } if (!(ctx instanceof Activity)) { intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK); } ctx.startActivity(intent); }