Ejemplo n.º 1
0
 @SuppressLint("NewApi")
 public static void clearAllSigninstanceActivity() {
   Iterator<Map.Entry<Activity, Activity>> iter = signinstanceActivity.entrySet().iterator();
   while (iter.hasNext()) {
     Activity act = iter.next().getValue();
     try {
       LogCat.d("exit", act.getClass().getSimpleName());
       act.finish();
     } catch (Exception e) {
     }
   }
 }
Ejemplo n.º 2
0
  @Override
  public void onCreate() {
    super.onCreate();

    context = getApplicationContext();

    initApp();

    LogCat.d(
        "PROC",
        "启动进程:"
            + ProcessUtil.getMyPid()
            + " 进程名:"
            + ProcessUtil.getCurProcessName(getApplicationContext()));
  }