Top "Android-package-managers" questions

Class for retrieving various kinds of information related to the application packages that are currently installed on the device.

Get active Application name in Android

I am trying to make a program that shows all the active applications. I searched everywhere but could only find …

android android-package-managers
How to get the list of apps that have been installed by a user on an Android device?

I am using the following piece of code at the moment: List<PackageInfo> packs = getPackageManager().getInstalledPackages(0); but it …

android android-package-managers android-applicationinfo installed-applications
Turn off notifications of an app programatically on Android

I am developing a package manager application which shows checkboxes to turn off notifications from different applications installed on the …

android android-notifications android-package-managers
getPackageManager ().getInstalledPackages (PackageManager.GET_ACTIVITIES) returns null

If I call PackageManager pm = getPackageManager () ; List<PackageInfo> pis = pm.getInstalledPackages (PackageManager.GET_PROVIDERS) ; I get a list …

android installed-applications android-package-managers
How to use default Package Installer (Android) when trying to install an APK from another app?

I have been trying to install other apps from my app. I have downloaded the .apk from the server and …

android android-intent installation apk android-package-managers
hasSystemFeature(PackageManager.FEATURE_CAMERA) returns true for device with no camera

I have a application which uses camera functionality in it but part of its functionality can also run without camera …

android android-camera android-package-managers
Remove Activity as Default Launcher

I set my activity as a default launcher to intercept home button clicks like so: <activity android:name=".ExampleActivity" …

android android-intent android-package-managers android-launcher
Android Camera : Does it have a unique package name?

I am building an app that auto sorts installed apps and allows the user to launch those apps. I just …

android android-intent android-camera android-package-managers android-applicationinfo
Android get a list of all installed apps

I have obtained a list of installed app using this code: public List<ResolveInfo>() { PackageManager pm=getPackageManager(); Intent …

android android-package-managers
Get Preferred/Default app on Android

I am trying to get the default/preferred application for a given Intent. For example, when the user installs a …

android android-package-managers