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
1
vote
1 answer

How to update android app without user interaction?

I am developing an application in android, i just want to add feature of auto update when the internet is available. I want to update app while app is running as well as when the app not in active mode. Please reply me with any idea.
ajaylouis
  • 247
  • 1
  • 4
  • 18
1
vote
2 answers

Android: how to make custom app info menu

I have an android application which works with httppost methods. It's a tablet application and i am using Android Version 4.0.4. I want to chance post url informaion from: Settings > Applications > MyApp's App Info menu. How can i create new…
WeyCell
  • 273
  • 1
  • 2
  • 12
1
vote
0 answers

How to get the package name of an application and then launch that app using Intent?

I am developing an Android app. In that app, there is a button to go to another activity which contains a list of installed apps on the phone. When the user selects an app, its package name is saved and the user returns to the previous activity.…
user2304058
  • 99
  • 2
  • 3
  • 7
1
vote
2 answers

How to know if APK file is newer than the installed one?

I am making an app to be updated from my own home page. I made the update procedure and works fine. Now, I want the update to proceed only if the APK on my page is newer than the installed one. By newer, I mean newer with respect to date installed,…
Luis A. Florit
  • 2,169
  • 1
  • 33
  • 58
1
vote
2 answers

How to filter some of the application apps?

I need to display a screen with all the installed applications. I can do this already, but I need to filter some of the system applications. I am doing like this: if((appInfo.flags & ApplicationInfo.FLAG_SYSTEM) == 1) This works, but the problem is…
Comic Sans MS Lover
  • 1,729
  • 5
  • 26
  • 52
0
votes
1 answer

ApplicationInfo.java to Gridview

I want the user's recently used applications to show up in a GridView. So far, I know I need to include this: http://developer.android.com/resources/samples/Home/src/com/example/android/home/ApplicationInfo.html And I have the GridView setup in…
user879162
0
votes
0 answers

Whenever the page scroll down pull to refresh automatically recalled. What to do?

//Swipe Refresh Layout: swipeRefreshLayout = (SwipeRefreshLayout)findViewById(R.id.swipe); swipeRefreshLayout.setOnRefreshListener(new SwipeRefreshLayout.OnRefreshListener() { @Override public void onRefresh()…
0
votes
0 answers

Android `applicationInfo.name` is always null on Android API <= 24

I am working on an Android library and want to programmatically access the android:name attribute of the tag from the Manifest file. According to official documentation, this is the correct way to get the android:name…
Abdul Mateen
  • 1,418
  • 1
  • 14
  • 32
0
votes
0 answers

Multiple instances of App are shown in recent app list

I am facing an issue in android application that Multiple instances of App are seeing in recent list.
0
votes
1 answer

I am using cardview with gridview and in design panel my coding output is ok but when i run it on any android phone it is not working

This is my XML code for gridview with cardview and it is appearing alright in the design panel but when I run it on my phone that has android oreo go edition it is showing like this This is an image of how it appears on my phone This is an image of…
0
votes
1 answer

how to save and retrieve application info to shared preference in kotlin?

I want to hide app icon from grid view and save it. I can save application info to shared preferences as mutable set string and get it but cant convert string to application info and show in my grid view my app activity private var applist:…
0
votes
1 answer

Is anyway to get approved application details for a specific enterprise through android management API?

I want to get the list of approved applications for a specific enterprise. As I am using Android Management API, Is there anyway to get it? If not, Is it possible to get it using any third party API's?
0
votes
2 answers

can we able to lock all applications in android device through android-management-api?

While applying lock command through android-management-api in the device, the device will be locked. But if users know the password, they can able to unlock the device and use the applications in the device. My requirement is to disable all…
0
votes
1 answer

Handshake Exception when trying to upload a file using MultipartRequest in flutter

I tried to upload a file to s3 using MultipartRequest in flutter but upon reach "response.send()" i get I/flutter ( 8307): HandshakeException: Handshake error in client (OS Error: I/flutter ( 8307): CERTIFICATE_VERIFY_FAILED: self signed…
0
votes
1 answer

How to get recent used applications pragmatically?

I am trying to implement the add recently opened application in my application. I am trying to do with the getRunningAppProcess() but it gives me only my application details. Also, tried with the getSystemService(), but didn't get any lead. Found…