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

What's the difference between ResolveInfo.loadLabel and PackageItemInfo.loadLabel?

Both classes ResolveInfo and ApplicationInfo (which extends PackageItemInfo) have a loadLabel method to "current textual label associated with this item". I tried running the following code, the first block to print out the label associated with the…
0
votes
2 answers

Android application on low memory calling

In my application i override the onLowmemory method. It gets called every time. And my mobile is stuck. How to release memory in this method. I am using below code : @Override public void onLowMemory() { // TODO Auto-generated method…
Siri
  • 701
  • 1
  • 6
  • 27
0
votes
0 answers

How to send a request to android server without ip address

I am a newbie in android app development & I have developed an android application which will start a web server and I want to request that server without providing my IP. For example : This is, what I type in a browser. Now localhost is not…
vk41286
  • 113
  • 1
  • 1
  • 10
0
votes
1 answer

Cancel Notification on App Uninstall

In my code, I create a notification that once clicked tries to uninstall an app identified by its package name. I want the notification to be disappear only if the app is successfully uninstalled. If the user clicks "cancel" for app uninstall…
0
votes
1 answer

Fixed button bar Instagram style - android app

I am trying to code a fixed button bar at the bottom of the page like it may be found on Instagram at the bottom of the screen. Screenshot: More similar images The buttons at the bottom of the page are fixed there. I tried to put a new relative…
0
votes
1 answer

Getting package/application info programmatically from Google Store without installing the app

don't know if possible, but i'll try. My goal is to retrieve some app information (e.g. version, signatures/permissions) from an app on google store, without installing it. In other words, there is a way to get a file with android market app's…
0
votes
2 answers

Android, track when app goes to background

Background: I dump some data in the Application class, and save it to files after a short interval or when the app goes to background (say, when the user presses the Home button or the Task-switcher button). I don't want to use onPause() of Activity…
EyeQ Tech
  • 7,198
  • 18
  • 72
  • 126
0
votes
1 answer

cannot be cast to android.content.pm.PackageInfo on click in my listview

my listview contains all app installed.. when i click over one i want open a new activity but actually i get an error.. This is the code: @Override public void onItemClick(AdapterView parent, View view, int position, long row) { …
David_D
  • 1,404
  • 4
  • 31
  • 65
0
votes
1 answer

Direct open different link on start of the activity

Is It Possible To open 2 url At a time from android app without opening the layout. I can open these two in two different activity or using two button in same activity. Uri uri = Uri.parse("http://www.facebook.com"); startActivity(new…
Subhalaxmi
  • 5,687
  • 3
  • 26
  • 42
0
votes
1 answer

Fetching Application info By using its package name

I am developing an Android application wherein I am trying to check whether an application has been already installed in the device or not. I am fetching the application info using below code. For example to check whether google maps is installed or…
0
votes
1 answer

What are internal and external packages in android

I have been using tools like androgurad, dedexer and apktool to decompile android apk files and have been viewing the statistics. While analysing the packages dependencies in apk files, I noticed that there are internal and external packages. Please…
Annamalai N
  • 371
  • 1
  • 7
  • 16
0
votes
4 answers

Does all apps have their code inside "com" folder?

I have a very basic question with respect to app development. I have no experience in app development, but, I need to reverse engineer android apps. When I reverse engineer (decompile using apktool or androguard) apps, I am seeing that every app has…
0
votes
1 answer

Android ApplicationInfo is a game?

I am a beginner to Andriod dev. I am trying to get a list of all games installed in my phone. Is there a way to know the App is 'a game' from either AppInfo or PackageInfo? Either send the appinfo to google market place and retrieve the related info…
IvoryHeart
  • 85
  • 1
  • 8
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
2 answers

android Application class onLowMemory

i have an application which saves some objects in my Application class for global use. i don't want the Application class to be killed (because i need the information which is saved in it), so i've override the onLowMemory() function to make a…
Asaf Nevo
  • 11,338
  • 23
  • 79
  • 154