Questions tagged [android-package-managers]

Class for retrieving various kinds of information related to the application packages that are currently installed on the device. You can find this class through getPackageManager().

561 questions
-1
votes
1 answer

Android/Java PackageManager list only specific system apps

I have a list that is populated by the package manager and it dieplays a list of all system apps. I need to find a way to "filter" that list so only specific apps show. I have a list of apps that I will "allow" the user to manimpulate. Is that…
daxgirl
  • 762
  • 4
  • 10
-1
votes
1 answer

Showing only Particuar installed apps on Android

Im trying to develop an application locker.but for that i need to show the user a list off all the apps installed on the device. the first time i managed to show the user all the apps installed but not the system apps like the…
Clinton Dsouza
  • 330
  • 4
  • 20
-1
votes
1 answer

Getting the list of apps installed, and understanding the flags being used

On Android, there is a common solution to get the list of apps using: PackageManager pm=getPackageManager(); List packages=pm.getInstalledApplications(PackageManager.GET_META_DATA) After this query, some of the ApplicationInfo…
-1
votes
1 answer

Hide Apps from Default Launcher

How is this possible? I've looked at PackageManager pm = this.getPackageManager(); pm.setComponentEnabledSetting(new ComponentName But It seems that isn't the solution. I want to essentially let the user checkbox which apps to hide from…
f00d
  • 581
  • 1
  • 6
  • 21
-1
votes
1 answer

Getting Application Names in Android Instead of Package Name

I was trying to get list of all application in android and calculating bytes send and recieved but the code below gives pickage names not application names: ActivityManager manager = (ActivityManager) getSystemService(ACTIVITY_SERVICE); …
user2011302
  • 391
  • 1
  • 4
  • 22
-2
votes
1 answer

Identifying if an app exists, if not go to play store in Jetpack Compose

Is there anyone who knows how to do this in Jetpack Compose? I want to create a function in my jetpack compose app that will open Google Authenticator if the app exists and go to play store if it doesn't exist. I found some answers to this question…
-2
votes
2 answers

Android App Keep On Crashing In API_Lev 23

I am new to android dev I have made as simple app in android (for api_version greater than 23) which fetches the name of all running apps. But the app doesn't work properly. When I click the button the functionality registered in "onClickListner" is…
-2
votes
1 answer

How to fully change package name in Android Studio?

For example currently I have package name like com.test.hello.company & I want to change it to com.test.company only. So How can I change & move the files in all these directories com.test.hello.company without any problem.
-2
votes
3 answers

How to Check App was previously installed or not

How to check if the app was previously installed or not? I know I can search for package manager class for first install time but the value returned from this method can be reset by uninstalling and reinstalling the app. I am talking about apps…
Amit Khatkar
  • 62
  • 1
  • 11
-2
votes
1 answer

Does every android phone has download app installed by default on their phone?

After clicking on a button I would like to start the default Download application. Will this work on every phone or at least on the majority of the phones? Thanks.
-2
votes
2 answers

Call a specific activity of another application. Android

I am relatively new to android and currently I am working on a complicated project for which I need to complete a requirement. I am a little stuck here. This is the in game activity for guest users after trial ends. public class GuestUserActivity…
-2
votes
1 answer

Improting google_play_services in ADT

When i import the google_play_services_lib package it shows me error in my res-->values folder. There are many folder starting with values and the error exists in most of those folders. I have downloaded all the SDK from SDK manager including…
-2
votes
1 answer

How come Google Play can install APK without user interaction

As everyone knows since google play comes as a system app it can get all the permissions and apis which are hidden to a 3rd party applications, it can install apks on background without user interactions(without clicking install). One of my client…
-3
votes
2 answers

How to get the application icon?

I'm trying to do an app with all installed app's name, permissions and icon. I have done successfully the first and the second, but I don't know what to do for the third. Here it is AppsAdapter class: class AppsAdapter extends BaseAdapter…
faby GT
  • 11
  • 2
  • 9
-3
votes
1 answer

Android app listing permissions only

I am developing an android application that will display all the applications installed in the mobile phone and when clicking on a particular application, it should show only permissions of that application. I used package manager to fetch the…
1 2 3
37
38