Reference:Android.content.pm.PackageInfo

From Triled Wiki

Jump to: navigation, search


android.content.pm
public class android.content.pm.PackageInfo

java.lang.Object
android.content.pm.PackageInfo Parcelable

Overall information about the contents of a package. This corresponds to all of the information collected from AndroidManifest.xml.

Contents

[edit] Summary

[edit] Constants

      Value  
Creator   CREATOR        

[edit] Fields

public      ActivityInfo[activities   Array of all <activity> tags included in <application>, or null if there were none.  
public      ApplicationInfo   applicationInfo   Information collected from the <application> tag, or null if there was none.  
public      InstrumentationInfo[instrumentation   Array of all <instrumentation> tags included in <manifest>, or null if there were none.  
public      String   packageName   The name of this package.  
public      ProviderInfo[providers   Array of all <provider> tags included in <application>, or null if there were none.  
public      ActivityInfo[receivers   Array of all <receiver> tags included in <application>, or null if there were none.  
public      ServiceInfo[services   Array of all <service> tags included in <application>, or null if there were none.  

[edit] Public Constructors

          PackageInfo ()

[edit] Public Methods

        String   toString ()
Answers a string containing a concise, human-readable description of the receiver.
        void  writeToParcel (Parcel dest)

[edit] Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
[edit] Methods inherited from interface android.os.Parcelable

writeToParcel

[edit] Details

[edit] Constants

[edit] public static final Creator CREATOR

[edit] Fields

[edit] public ActivityInfo[ ]activities

Array of all <activity> tags included in <application>, or null if there were none. This is only filled in if the flag GET_ACTIVITIES was set.

[edit] public ApplicationInfo applicationInfo

Information collected from the <application> tag, or null if there was none.

[edit] public InstrumentationInfo[ ]instrumentation

Array of all <instrumentation> tags included in <manifest>, or null if there were none.

[edit] public String packageName

The name of this package. From the <manifest> tag's "name" attribute.

[edit] public ProviderInfo[ ]providers

Array of all <provider> tags included in <application>, or null if there were none. This is only filled in if the flag GET_PROVIDERS was set.

[edit] public ActivityInfo[ ]receivers

Array of all <receiver> tags included in <application>, or null if there were none. This is only filled in if the flag GET_RECEIVERS was set.

[edit] public ServiceInfo[ ]services

Array of all <service> tags included in <application>, or null if there were none. This is only filled in if the flag GET_SERVICES was set.

[edit] Public Constructors

[edit] public PackageInfo()

[edit] Public Methods

[edit] public String toString()

Answers a string containing a concise, human-readable description of the receiver.

[edit] public void writeToParcel(Parcel dest)

[edit] References

Personal tools