Code example for ActivityManager

Methods: restartPackage

0
        { 
 
          @Override 
          public void onClick(DialogInterface dialog, int which)
          { 
            // TODO Auto-generated method stub 
            /* °±¤î©ÒÂI¿ïªºªA°È */ 
            mActivityManager.killBackgroundProcesses(arylistServicePackageName.get(
                click_id).toString());
            /* ²¾°£ArrayList¸Ìªº­È¨Ã§ó·sListView */ 
            Log.i("HIPPO_DEBUG", arylistTaskPackageID.get(click_id));
            exitActivity(Integer.parseInt(arylistTaskPackageID.get(click_id).toString()));
            arylistService.remove(click_id);
            ListView02.invalidateViews();
 
          } 
        }); 
        builder.setNegativeButton("NO", new DialogInterface.OnClickListener()
        { 
 
          @Override