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().
Questions tagged [android-package-managers]
561 questions
0
votes
0 answers
Open built-in browser through intent and PackageManager
I want to know if I can open a share page in the browser instead of the Facebook app. If the Facebook app is present then share something by opening the Facebook app. Otherwise if it is not installed share the thing by opening the browser. I am…

Sohaib Rahman
- 183
- 2
- 19
0
votes
2 answers
Is it guaranteed that PackageManager.getInstallerPackageName() always returns a not `null` string?
Is it guaranteed that PackageManager.getInstallerPackageName() always returns a not null string?
PackageManager myapp= this.getPackageManager();
String installer = myapp.getInstallerPackageName("com.MyPackage");
if (installer == null) {
//…

cecan
- 25
- 8
0
votes
2 answers
How to freeze applications on rooted android device
How can I Freeze/Unfreeze applications on the rooted device like Titanium Backup app so that i make my app non-accessable from a rooted device. Any method to trace whether the device is rooted or not?

Mahmoud Jorban
- 952
- 4
- 13
- 25
0
votes
1 answer
Got error while trying to get running app icon from ActivityManager.RunningTaskInfo
i'm trying to making a app that shows running app icon in custom listview, and switch to corresponding app when click icon.
i think i should use "ActivityManager.RunningTaskinfo", "PackageManager" and "intent" to make it
so i'm trying.. but i got…

sukso
- 145
- 1
- 8
0
votes
1 answer
Get Application Install time in Android 2.2?
I am trying to get the install time of all the applications installed in my Android Phone with OS 2.2, but I am not getting exactly the time they were installed, instead I am getting today's date and time. I know that I can get it…

Usama Sarwar
- 8,922
- 7
- 54
- 80
0
votes
1 answer
Determine the intent filter for a receiver from the package info
I need to retrieve the action name for the intent filters against the receiver from a particular package, which got installed. I am receiving the broadcast intent for android.intent.action.PACKAGE_INSTALL.
I am getting the uuid for that package.…

CyBer2t
- 524
- 1
- 5
- 12
0
votes
1 answer
Android: Can I know if an application is running using AlarmMager
Is there any possible solution of knowing that some application is running in foreground using AlarmManager ?
Basically my question is that there is an argument importance associated with each process like procInfos.get(i).importance==100 in…

Saaram
- 337
- 3
- 7
- 29
0
votes
0 answers
Check presence of an application on Android device
Actually, I am putting a check on my application that whether one particular application is present or not in device if it is present than only my application will launch otherwise it will give a dialog to download that particular app to proceed.
As…

Piyush Agarwal
- 25,608
- 8
- 98
- 111
0
votes
1 answer
How to read PDF file in android and how can i read the indexes in pdf file in android?
I am going to develop an android application like foxit reader .In my application i need to find the indexes in pdf file ..please help me how can i found the indexes in pdf file programmatic ally .....

Prudhvi Reddy
- 81
- 1
- 8
0
votes
2 answers
how can i get to know which application package is invoking the softkeyboard?
friends, I need to develop a keyboard which should have an icon of the app which invokes the softkeyboard.
I found a link which might be useful is here How does an Android app load a keyboard?
So how can i get to know which is invoking the keyboard…

Charan Pai
- 2,288
- 5
- 32
- 44
0
votes
2 answers
Checking if Facebook is installed on Android
How can I check that? Do i have to use PackageManager? Thank you :D

gabi906
- 374
- 1
- 4
- 15
0
votes
0 answers
PackageManager getApplicationIcon Blurred Images
Whenever I pull all icons using PackageManager's getApplicationIcon(PackageName) I get an icon which is blurred at even a 70x70 ImageView.
Is there anyway to get a bigger, clearer icon of the Installed packages?

Manak Kapoor
- 962
- 3
- 12
- 21
0
votes
1 answer
Android - opencv manager & OpenCV binary package installed or not
How can I check(Android code) whether the opencv manager & appropriate OpenCV binary packages are already installed in the android device or not?

Manoj
- 3,947
- 9
- 46
- 84
0
votes
1 answer
How can I install a "bundle" of applications (apk's) on device with prompting user only once
My application is based on multiple applications (each one has different apk signatures). I want to install one apk and after one confirmation the device should install all applications in the "bundle".
I managed to install the bundle of…

user182192
- 729
- 3
- 14
- 26
0
votes
2 answers
Getting the Ram amount from a given package
I was wondering how I could get the amount of RAM usage of a given application or a package name that is installed in the android device. I so far went on with a package manager and feeding it with the package name I want. However, there is no…

Imesh Chandrasiri
- 5,558
- 15
- 60
- 103