Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Get all installed apps in android 11 (API 30) , how to get all other apps installed in android 11?

How can we get all installed applications in android 11? for Android 10 it is working fine but when I updated to android 11 then all of them are gone.

like image 588
Ali Imran Avatar asked Oct 27 '20 11:10

Ali Imran


People also ask

How do you get a list of all Android apps installed another device?

Go to Settings and find the App Management or Apps section, depending on your phone. If you can't locate it, simply perform a quick search within Settings. Once in App Management, tap on See All Apps or App Settings to see the list of apps installed on your device, excluding the system apps.

How do I see all the apps I have installed?

You can see all the apps you've ever downloaded on your Android phone by opening the "My apps & games" section in your Google Play Store. The apps you've downloaded are divided into two sections: "Installed" (all the apps currently installed on your phone) and "Library" (all the apps that aren't currently installed).

How do I find previously downloaded apps on Android 11?

Swipe up from the bottom, hold, then let go. If you're on Android Go with 3-button navigation, tap Recent apps .


1 Answers

From Android 11 Google has introduced a new permission to query all installed apps on android devices. So if you want to get all applications in yours app for some reason then just add following permission in your manifest

<uses-permission android:name="android.permission.QUERY_ALL_PACKAGES"/>

or for specific category of apps you can use this in your manifest. for example if you want only apps with android.intent.category.HOME category then add this code.

<queries>
   <intent>
     <action android:name="android.intent.action.MAIN" />
     <category android:name="android.intent.category.HOME" />
    </intent>
</queries> 

also you can filter apps more specifically by adding more categories to it like shown below

<queries>
   <intent>
     <action android:name="android.intent.action.MAIN" />
     <category android:name="android.intent.category.HOME,android.intent.category.DEFAULT" />
  </intent>
</queries> 
like image 80
Ali Imran Avatar answered Oct 14 '22 17:10

Ali Imran