2013-04-09 98 views

回答

0
//getting label name which is install 
      PackageManager p = mContext.getPackageManager(); 
      List<ApplicationInfo> info = p.getInstalledApplications(0); 
      for(int i=0;i<info.size();i++){ 
       String label = p.getApplicationLabel(info.get(i)).toString(); 
       System.out.println("LABEL:"+label); 
      } 
相關問題