Please note that the contents of this offline web site may be out of date. To access the most recent documentation visit the online version .
Note that links that point to online resources are green in color and will open in a new window.
We would love it if you could give us feedback about this material by filling this form (You have to be online to fill it)

Class android.content.pm. PackageManager

Removed Methods
void  installPackage( Uri, IPackageInstallObserver , int )  
void  installPackage( Uri )  
 

Changed Methods
Intent   getLaunchIntentForPackage ( String ) Change in exceptions thrown from android.content.pm.PackageManager.NameNotFoundException to no exceptions.
 
 

Removed Fields
int  FORWARD_LOCK_PACKAGE  
int  INSTALL_FAILED_ALREADY_EXISTS  
int  INSTALL_FAILED_CONFLICTING_PROVIDER  
int  INSTALL_FAILED_DEXOPT  
int  INSTALL_FAILED_DUPLICATE_PACKAGE  
int  INSTALL_FAILED_INSUFFICIENT_STORAGE  
int  INSTALL_FAILED_INVALID_APK  
int  INSTALL_FAILED_INVALID_URI  
int  INSTALL_FAILED_MISSING_SHARED_LIBRARY  
int  INSTALL_FAILED_NO_SHARED_USER  
int  INSTALL_FAILED_OLDER_SDK  
int  INSTALL_FAILED_REPLACE_COULDNT_DELETE  
int  INSTALL_FAILED_SHARED_USER_INCOMPATIBLE  
int  INSTALL_FAILED_UPDATE_INCOMPATIBLE  
int  INSTALL_PARSE_FAILED_BAD_MANIFEST  
int  INSTALL_PARSE_FAILED_BAD_PACKAGE_NAME  
int  INSTALL_PARSE_FAILED_BAD_SHARED_USER_ID  
int  INSTALL_PARSE_FAILED_CERTIFICATE_ENCODING  
int  INSTALL_PARSE_FAILED_INCONSISTENT_CERTIFICATES  
int  INSTALL_PARSE_FAILED_MANIFEST_EMPTY  
int  INSTALL_PARSE_FAILED_MANIFEST_MALFORMED  
int  INSTALL_PARSE_FAILED_NOT_APK  
int  INSTALL_PARSE_FAILED_NO_CERTIFICATES  
int  INSTALL_PARSE_FAILED_UNEXPECTED_EXCEPTION  
int  INSTALL_SUCCEEDED  
int  REPLACE_EXISTING_PACKAGE