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
0
votes
1 answer

Android: applicationInfo.loadDescription() always returning null

I can successfully get the title, version and icon of an app using the code below but for some reason the description is always returned as null. Any help is appreciated. Relevant Code:- List packs =…
-1
votes
1 answer

How to know Application Installation is completed in android?

I want to create such a service which start when any new application is installing on android device. so how to know any application getting installed in android device, is there any Intent event is fired ?
-1
votes
2 answers

My app works fine on emulator, but crashes on device?

My Device Api level is 18 The app builds with no errors in it and it runs fine on emulator, but when i build an apk or if i directly run the app in device using usb debugging mode,the app gets installed and when i open it, it shows "App…
Abhishek
  • 1
  • 3
-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 hide/unhide app without root device 5.0 +

I make application that hide other apps. I succeed to hide and unhide other apps with rooted device. But when i was trying on unrooted device, not succeeded. I also tried with nfs, Device owner but not getting success. Followed these links. tried…
-1
votes
2 answers

How to task execute at app install time only once in Android

I am working on app which needs to executes a web-service at app install and only once. Currently i used Shared Preferences for this, But if user clear app data then it lost Shared Preferences value and my code detracts that app is newly created…
Tecksky Android
  • 133
  • 3
  • 14
-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…
-1
votes
1 answer

Android App Code Retrieve

Why are there errors keep showing in cmd when I try to retrieve my java code from the created android .apk file?? Whenever I try to use cmd to go to C:\Users\Akash\Desktop\dex2jar-0.0.9.15>dex2jar classes.dex, after hitting enter, there comes this…
user4535295
-1
votes
2 answers

Unfortunately the application stopped working

I'm a beginner in android development.I have been looking for a week now. Followed all the tutorials word by word. Whenever I start my android emulator it first shows ProcessSystem isn't responding. Wait or Exit? Second the application loads but as…
R_2293
  • 101
  • 1
  • 2
  • 12
-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
2 answers

Kill all recent applications in android

When i press home key for long time in my android device.I get list of all recent applications. Now i want to kill all my recent applications pro grammatically from within my application. I am able to get list of all recent applications but not able…
-1
votes
1 answer

Android issue rise after release

I've uploaded my first android app to the market, it contains some sounds, some images and some gallery projects. That makes the project size almost 9.5MB. i've used mp3 and png formats for sound and images respectively. I exported the project by…
Numair
  • 1,062
  • 1
  • 20
  • 41
-2
votes
2 answers

How do mobile applications (Facebook for example) access web pages with out using a browser?

How does mobile applications( like fb, linkedin,…) access a web page with out a web browser? Do these apps have an inbuilt web browser or do all apps share a common web browser in the phone? Do these apps also use javascript to display web pages…
charan kamma
  • 27
  • 1
  • 7
-2
votes
2 answers

How can i solve getApplicationContext() java.lang.NullPointerExeception

I am trying to connect to an azure application, using android, but I am getting this error. Here is my code and my logs. I have checked everything and it seen to be right, but the problem I think is with getApplicationContext(). I am unable to…
-2
votes
3 answers

How to resolve Class cast exception when casting Application to AppData in Android

public void onItemClick(AdapterView parent, View view, int position,long row) { PackageInfo packageInfo = (PackageInfo) parent .getItemAtPosition(position); AppData appData = (AppData) getApplicationContext(); …
Anwesh
  • 91
  • 1
  • 1
  • 12
1 2 3
9
10