PackageManager.getInstalledPackages()
PackageManger.getInstalledApplications()
Lists all the packages installed on the device including services, providers etc.
PackageManger.getInstalledApplications()
Lists only applications installed on the device. Excludes services, providers etc.