service启动activity

Intent it = new Intent(context.getApplicationContext(), TestTimer.class);   
it.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
context.startActivity(it);

  

原文地址:https://www.cnblogs.com/nanhai/p/2740733.html