Get list of all social media application installed in phone?
问题 I am developing an application which lists all application installed in users mobile. I retrieved all applications and I listed it in RecyclerView . Now I want to separate Social Media applications from that list for some other purposes. Is there any way to separate Social Media Apps ? I am using below code to retrieve all apps package names from phone. public List<String> GetAllInstalledApkInfo(){ List<String> ApkPackageName = new ArrayList<>(); Intent intent = new Intent(Intent.ACTION_MAIN