Skip to main content

Posts

Showing posts with the label Apps

How to Retrieve Installed Apps List in Android ?

/**      * Retrieve list with installed apps      */     public void testGetInstalledApps() {         Log.v("Test", "[*] testGetInstalledApps()");         PackageManager pm = getPackageManager();         List<ApplicationInfo> packages = pm.getInstalledApplications(PackageManager.GET_META_DATA);         installedApps = "";         for (ApplicationInfo packageInfo : packages)                 installedApps += packageInfo.packageName + ":";     }