Questions tagged [android-applicationinfo]

ApplicationInfo class contains information about an Android application, corresponding to the information in the application manifest.

Information you can retrieve about a particular application. This corresponds to information collected from the AndroidManifest.xml's <application> tag.

See ApplicationInfo reference.

140 questions
3
votes
1 answer

How to get android play store installed apps packages through android code?

There are 3 types of apps in android Android System apps Apps installed from Android Play Store Apps installed through local apk (usually installed by developers or any other source) I get the 1st category of apps packages (i.e. System apps) using…
Navjot
  • 1,202
  • 1
  • 11
  • 24
3
votes
1 answer

How to launch system apps programmatically or how to filter out launchable system apps?

I want to make a list of installed and system applications. system applications means the pre-installed applications (applications which are installed at the time of manufacture). For this i categorized all the apps using (ApplicationInfo.flags &…
Devu Soman
  • 2,246
  • 13
  • 36
  • 57
3
votes
1 answer

How can I get the icons of the applications in a list?

I am trying to make a listview with chechboxes for the installed applications on the android phone. I put the icons in an ArrayList as follows packs = new ArrayList(); // a list of all the packages names = new ArrayList(); // a list…
2
votes
0 answers

Calling ApplicationInfo.loadLabel too many times leads to crash

I have a severe issue about getting the appName from all apps in the device - both systemapps and userapps. The problem arises if there's is too many - in my Samsung S7 userapps and systemapps sums up to 433. There seems to be a limit how many calls…
java
  • 1,165
  • 1
  • 25
  • 50
2
votes
0 answers

OCR numbers recognition (Google Vision)

I have to create a sudoku solver, so I create with google vision, a number recognition to retrieve numbers from the grid.This numbers recognition trim the grid to analyse each cell but the recognition doesn't work.. I think the problem comes from…
2
votes
1 answer

When Minimize the Android app title bar color change

In android 5 and above OS version, when minimize the app my status bar color is shown in black. How to i change it manually.
2
votes
0 answers

How to perform expansion in .apk files?

I am developing an Android application. I created my .obb file in the external storage and I can access it. I want to test the expansion process in my app before my welcome screen navigates to main screen if the file exists or not, before uploading…
2
votes
6 answers

Android - How to know when app has been resumed after being in background

I'm trying to determine when my app is being resumed after the user closed it, in any way, pressing home button, back button or switching to another app. What I need to do is to set a boolean when the app goes in background, so, when it is resumed,…
dany84
  • 251
  • 1
  • 6
  • 17
2
votes
1 answer

How to Open Any Website in Android Application in Android Studio

I just started a new appliction using android studio .. but i need to open a web page in my application i tried using web view but it doesnt worked out... when i open my app it crashes down
karthikmunna
  • 139
  • 1
  • 2
  • 14
2
votes
1 answer

How can I search applicationinfo by permissions?

I want to show the list of applications installed on user device which have the internet permission on their manifest file currently I am getting all of them by using this code: PackageManager packageManager = mainActivity.getPackageManager(); …
2
votes
2 answers

What is significance of systemui APK in android?

Sorry for very basic question but could not find the exact answer for it. Using one application called AppXplore I am able to see one application systemui.apk (com.android.systemui) on my Nexus5. I want to know what is the use of this APK? What does…
Vikasdeep Singh
  • 20,983
  • 15
  • 78
  • 104
2
votes
2 answers

ApplicationInfo adapter in Android to display only apps with launcher intent

as per title i'm looking for a solution to display only the application with launcher intent. Here is my code to retrieve the app list: public static List getInstalledApplication(Context context) { PackageManager packageManager…
iGio90
  • 3,251
  • 7
  • 30
  • 43
1
vote
0 answers

error indicates on this line in code eventCalender.setTime(ConvertStringToDate(events.get(i).getDATE()));

Attempt to invoke virtual method 'long java.util.Date.getTime()' on a null object reference at java.util.Calendar.setTime TextView Day_Number = view.findViewById(R.id.calender_day); TextView EventNumber =…
1
vote
1 answer

Android's /data/system/packages.xml cert data

Android's /data/system/packages.xml contains a cert node that has a "key" attribute. How is that key attribute datastring generated? For example:
1
vote
0 answers

The text of the edittext can't modified

guys I want to keep the edittext text can't modified or cleaned by the user like i want https://www to be fixed no one can clean it but the user can write in the edittext
1 2
3
9 10