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
2 answers
Discover default Twitter app and open URL with it
In application we retrieve JSON object from a server that includes also URLs to verified twitter accounts or featured tweet messages. When app user click on one of these specific links we would like to launch default twitter application for device.…

peter_budo
- 1,748
- 4
- 26
- 48
0
votes
2 answers
App fails to install on HoneyComb
I've just tried installing my app onto my Motorola Xoom and having problems with the install.
When I install the APK on device and try to start application it crashes with following message.
The application Package installer (process
…

D-Dᴙum
- 7,689
- 8
- 58
- 97
0
votes
2 answers
Issue in open app from another
I am making one app in which i get list of install app on phone and then i tap and open those app from my app. But here problem raise in CATEGORY_LAUNCHER it gives null pointer
my logcat output ::
05-30 14:34:33.876: E/Handler(14042): Failed to…

Nikunj Patel
- 21,853
- 23
- 89
- 133
0
votes
1 answer
unable to instantiate a PackageManager
I am making a application which relies on a class which uses a BroadCastReceiver so that I can catch when a application is installed and uninstalled. The intent is received just fine, and the code in onReceive executes as it should. Hoever, the…

slinden77
- 3,378
- 2
- 37
- 35
0
votes
1 answer
How to Override PackageInstaller Dialogs?
I am trying to update my application from a URL because i am distributing my application through a server and not posting the application in the android market . i am successful in updating the application. But i do not want the dialog that…

vivek
- 45
- 10
0
votes
2 answers
how to get list of installed instant messenger apps?
My app should be able to send the text in a TextView via WhatsApp, Email, SMS etc. For that i need a list of installed Messging Applications. I tried it with the PackageManger but i get all apps. How can i get only the Instant Messaging Apps?
This…

user1367269
- 3
- 2
-1
votes
2 answers
How can i disable any android app such that it cannot be opened until i change/press some button in app?
I am trying to build a parental control app. So now i want to disable or lock app (like Whatsapp, Facebook, etc). I have tried using PackageManager.setComponentEnabledSetting(). But it is throwing java.lang.SercurityException.
So how can I make a…

Rishab Munot
- 1
- 2
-1
votes
2 answers
How to fix 'SQLite No Column Exception'?
I am developing an android application that saves logged in user information in SQLite. But I am facing strange problem. In my DBHelper class create table function is created fine, insert function doesn't throw any exception but when I try to…

User
- 692
- 2
- 11
- 29
-1
votes
1 answer
Resist app to show in installed apps android
I am trying to create a GalleryHide app. I am succesful in removing my app Icon from Home Screen.
But it doesn't remove when I open any app Manager app. Is it possible to remove our package Detail
final PackageManager pm =…

Zar E Ahmer
- 33,936
- 20
- 234
- 300
-1
votes
1 answer
How to get amount of data taken up by current android application?
I'm making an android app and want to display to the user how much space I am taking up on their phone with data.
I currently am getting the size of the database file, and package application file, and adding them together but it is no where near…

panthor314
- 318
- 1
- 14
-1
votes
1 answer
Is it possible that "com.android.vending" name will change in the future?
I would like to assess in my app where it was installed from.
It seems that the PackageManager class is helpful and it is said in some SO answers that the method getInstallerPackageName() yields the "com.android.vending" string for Google Play.
I am…

P5music
- 3,197
- 2
- 32
- 81
-1
votes
1 answer
Android edit another user's SharedPreferences
I am trying to make a group system in my app.
Whenever a user is added to a group by its admin, it should appear that joined group into user's menu.
Should I use push notifications or is there another way to achieve this?

Xabi
- 159
- 1
- 3
- 13
-1
votes
1 answer
Where can i download Googles android package? (Not the apps)
Where can i download the jar file for com.android.support packages such as com.android.support:appcompat-v7 or com.android.support:design ?
I looked at mavenCentral and jCenter but there was nothing there.
EDIT:
probably get wasn't the right word to…

yooneskh
- 784
- 7
- 11
-1
votes
3 answers
how to use queryIntentActivityOptions() method
Am trying to create a dialog that shows all applications in a user phone that can be used to select a picture from the storage or take one using the camera. below are my two intents that am planning to use.
Intent photoPickerIntent = new…

Edijae Crusar
- 3,473
- 3
- 37
- 74
-1
votes
1 answer
Launching another App by knowing its App Name (not package name)
I currently have created an engine which accepts voice as input and then converts it to a string.
Now I wanted to add an option where the voice commands will specify an app name and I will open it.
For example my voice input was - 'open facebook'…

Sanved
- 921
- 13
- 19