Home | History | Annotate | Download | only in changes
      1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
      2 <HTML style="overflow:auto;">
      3 <HEAD>
      4 <meta name="generator" content="JDiff v1.1.0">
      5 <!-- Generated by the JDiff Javadoc doclet -->
      6 <!-- (http://www.jdiff.org) -->
      7 <meta name="description" content="JDiff is a Javadoc doclet which generates an HTML report of all the packages, classes, constructors, methods, and fields which have been removed, added or changed in any way, including their documentation, when two APIs are compared.">
      8 <meta name="keywords" content="diff, jdiff, javadiff, java diff, java difference, API difference, difference between two APIs, API diff, Javadoc, doclet">
      9 <TITLE>
     10 android.content.pm.PackageManager
     11 </TITLE>
     12 <link href="../../../../assets/android-developer-docs.css" rel="stylesheet" type="text/css" />
     13 <link href="../stylesheet-jdiff.css" rel="stylesheet" type="text/css" />
     14 <noscript>
     15 <style type="text/css">
     16 body{overflow:auto;}
     17 #body-content{position:relative; top:0;}
     18 #doc-content{overflow:visible;border-left:3px solid #666;}
     19 #side-nav{padding:0;}
     20 #side-nav .toggle-list ul {display:block;}
     21 #resize-packages-nav{border-bottom:3px solid #666;}
     22 </style>
     23 </noscript>
     24 <style type="text/css">
     25 </style>
     26 </HEAD>
     27 <BODY>
     28 <!-- Start of nav bar -->
     29 <a name="top"></a>
     30 <div id="header" style="margin-bottom:0;padding-bottom:0;">
     31 <div id="headerLeft">
     32 <a href="../../../../index.html" tabindex="-1" target="_top"><img src="../../../../assets/images/bg_logo.png" alt="Android Developers" /></a>
     33 </div>
     34   <div id="headerRight">
     35   <div id="headerLinks">
     36 <!-- <img src="/assets/images/icon_world.jpg" alt="" /> -->
     37 <span class="text">
     38 <!-- &nbsp;<a href="#">English</a> | -->
     39 <nobr><a href="http://developer.android.com" target="_top">Android Developers</a> | <a href="http://www.android.com" target="_top">Android.com</a></nobr>
     40 </span>
     41 </div>
     42   <div class="and-diff-id" style="margin-top:6px;margin-right:8px;">
     43     <table class="diffspectable">
     44       <tr>
     45         <td colspan="2" class="diffspechead">API Diff Specification</td>
     46       </tr>
     47       <tr>
     48         <td class="diffspec" style="padding-top:.25em">To Level:</td>
     49         <td class="diffvaluenew" style="padding-top:.25em">4</td>
     50       </tr>
     51       <tr>
     52         <td class="diffspec">From Level:</td>
     53         <td class="diffvalueold">3</td>
     54       </tr>
     55       <tr>
     56         <td class="diffspec">Generated</td>
     57         <td class="diffvalue">2009.11.19 19:34</td>
     58       </tr>
     59     </table>
     60     </div><!-- End and-diff-id -->
     61   <div class="and-diff-id" style="margin-right:8px;">
     62     <table class="diffspectable">
     63       <tr>
     64         <td class="diffspec" colspan="2"><a href="jdiff_statistics.html">Statistics</a>
     65       </tr>
     66     </table>
     67   </div> <!-- End and-diff-id -->
     68   </div> <!-- End headerRight -->
     69   </div> <!-- End header -->
     70 <div id="body-content" xstyle="padding:12px;padding-right:18px;">
     71 <div id="doc-content" style="position:relative;">
     72 <div id="mainBodyFluid">
     73 <H2>
     74 Class android.content.pm.<A HREF="../../../../reference/android/content/pm/PackageManager.html" target="_top"><font size="+2"><code>PackageManager</code></font></A>
     75 </H2>
     76 <a NAME="constructors"></a>
     77 <a NAME="methods"></a>
     78 <p>
     79 <a NAME="Removed"></a>
     80 <TABLE summary="Removed Methods" WIDTH="100%">
     81 <TR>
     82   <TH VALIGN="TOP" COLSPAN=2>Removed Methods</FONT></TD>
     83 </TH>
     84 <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
     85   <TD VALIGN="TOP" WIDTH="25%">
     86   <A NAME="android.content.pm.PackageManager.installPackage_removed(android.net.Uri, android.content.pm.IPackageInstallObserver, int)"></A>
     87   <nobr><code>void</code>&nbsp;installPackage(<code>Uri,</nobr> IPackageInstallObserver<nobr>,</nobr> int<nobr><nobr></code>)</nobr>
     88   </TD>
     89   <TD>&nbsp;</TD>
     90 </TR>
     91 <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
     92   <TD VALIGN="TOP" WIDTH="25%">
     93   <A NAME="android.content.pm.PackageManager.installPackage_removed(android.net.Uri)"></A>
     94   <nobr><code>void</code>&nbsp;installPackage(<code>Uri</code>)</nobr>
     95   </TD>
     96   <TD>&nbsp;</TD>
     97 </TR>
     98 </TABLE>
     99 &nbsp;
    100 <p>
    101 <a NAME="Changed"></a>
    102 <TABLE summary="Changed Methods" WIDTH="100%">
    103 <TR>
    104   <TH VALIGN="TOP" COLSPAN=3>Changed Methods</FONT></TD>
    105 </TH>
    106 <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
    107   <TD VALIGN="TOP" WIDTH="25%">
    108   <A NAME="android.content.pm.PackageManager.getLaunchIntentForPackage_changed(java.lang.String)"></A>
    109   <nobr><code>Intent</code>&nbsp;<A HREF="../../../../reference/android/content/pm/PackageManager.html#getLaunchIntentForPackage(java.lang.String)" target="_top"><code>getLaunchIntentForPackage</code></A>(<code>String</code>)  </nobr>
    110   </TD>
    111   <TD VALIGN="TOP" WIDTH="30%">
    112 Change in exceptions thrown from <code>android.content.pm.PackageManager.NameNotFoundException</code> to no exceptions.<br>
    113   </TD>
    114   <TD>&nbsp;</TD>
    115 </TR>
    116 </TABLE>
    117 &nbsp;
    118 <a NAME="fields"></a>
    119 <p>
    120 <a NAME="Removed"></a>
    121 <TABLE summary="Removed Fields" WIDTH="100%">
    122 <TR>
    123   <TH VALIGN="TOP" COLSPAN=2>Removed Fields</FONT></TD>
    124 </TH>
    125 <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
    126   <TD VALIGN="TOP" WIDTH="25%">
    127   <A NAME="android.content.pm.PackageManager.FORWARD_LOCK_PACKAGE"></A>
    128   <code>int</code>&nbsp;FORWARD_LOCK_PACKAGE
    129   </TD>
    130   <TD>&nbsp;</TD>
    131 </TR>
    132 <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
    133   <TD VALIGN="TOP" WIDTH="25%">
    134   <A NAME="android.content.pm.PackageManager.INSTALL_FAILED_ALREADY_EXISTS"></A>
    135   <code>int</code>&nbsp;INSTALL_FAILED_ALREADY_EXISTS
    136   </TD>
    137   <TD>&nbsp;</TD>
    138 </TR>
    139 <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
    140   <TD VALIGN="TOP" WIDTH="25%">
    141   <A NAME="android.content.pm.PackageManager.INSTALL_FAILED_CONFLICTING_PROVIDER"></A>
    142   <code>int</code>&nbsp;INSTALL_FAILED_CONFLICTING_PROVIDER
    143   </TD>
    144   <TD>&nbsp;</TD>
    145 </TR>
    146 <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
    147   <TD VALIGN="TOP" WIDTH="25%">
    148   <A NAME="android.content.pm.PackageManager.INSTALL_FAILED_DEXOPT"></A>
    149   <code>int</code>&nbsp;INSTALL_FAILED_DEXOPT
    150   </TD>
    151   <TD>&nbsp;</TD>
    152 </TR>
    153 <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
    154   <TD VALIGN="TOP" WIDTH="25%">
    155   <A NAME="android.content.pm.PackageManager.INSTALL_FAILED_DUPLICATE_PACKAGE"></A>
    156   <code>int</code>&nbsp;INSTALL_FAILED_DUPLICATE_PACKAGE
    157   </TD>
    158   <TD>&nbsp;</TD>
    159 </TR>
    160 <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
    161   <TD VALIGN="TOP" WIDTH="25%">
    162   <A NAME="android.content.pm.PackageManager.INSTALL_FAILED_INSUFFICIENT_STORAGE"></A>
    163   <code>int</code>&nbsp;INSTALL_FAILED_INSUFFICIENT_STORAGE
    164   </TD>
    165   <TD>&nbsp;</TD>
    166 </TR>
    167 <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
    168   <TD VALIGN="TOP" WIDTH="25%">
    169   <A NAME="android.content.pm.PackageManager.INSTALL_FAILED_INVALID_APK"></A>
    170   <code>int</code>&nbsp;INSTALL_FAILED_INVALID_APK
    171   </TD>
    172   <TD>&nbsp;</TD>
    173 </TR>
    174 <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
    175   <TD VALIGN="TOP" WIDTH="25%">
    176   <A NAME="android.content.pm.PackageManager.INSTALL_FAILED_INVALID_URI"></A>
    177   <code>int</code>&nbsp;INSTALL_FAILED_INVALID_URI
    178   </TD>
    179   <TD>&nbsp;</TD>
    180 </TR>
    181 <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
    182   <TD VALIGN="TOP" WIDTH="25%">
    183   <A NAME="android.content.pm.PackageManager.INSTALL_FAILED_MISSING_SHARED_LIBRARY"></A>
    184   <code>int</code>&nbsp;INSTALL_FAILED_MISSING_SHARED_LIBRARY
    185   </TD>
    186   <TD>&nbsp;</TD>
    187 </TR>
    188 <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
    189   <TD VALIGN="TOP" WIDTH="25%">
    190   <A NAME="android.content.pm.PackageManager.INSTALL_FAILED_NO_SHARED_USER"></A>
    191   <code>int</code>&nbsp;INSTALL_FAILED_NO_SHARED_USER
    192   </TD>
    193   <TD>&nbsp;</TD>
    194 </TR>
    195 <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
    196   <TD VALIGN="TOP" WIDTH="25%">
    197   <A NAME="android.content.pm.PackageManager.INSTALL_FAILED_OLDER_SDK"></A>
    198   <code>int</code>&nbsp;INSTALL_FAILED_OLDER_SDK
    199   </TD>
    200   <TD>&nbsp;</TD>
    201 </TR>
    202 <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
    203   <TD VALIGN="TOP" WIDTH="25%">
    204   <A NAME="android.content.pm.PackageManager.INSTALL_FAILED_REPLACE_COULDNT_DELETE"></A>
    205   <code>int</code>&nbsp;INSTALL_FAILED_REPLACE_COULDNT_DELETE
    206   </TD>
    207   <TD>&nbsp;</TD>
    208 </TR>
    209 <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
    210   <TD VALIGN="TOP" WIDTH="25%">
    211   <A NAME="android.content.pm.PackageManager.INSTALL_FAILED_SHARED_USER_INCOMPATIBLE"></A>
    212   <code>int</code>&nbsp;INSTALL_FAILED_SHARED_USER_INCOMPATIBLE
    213   </TD>
    214   <TD>&nbsp;</TD>
    215 </TR>
    216 <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
    217   <TD VALIGN="TOP" WIDTH="25%">
    218   <A NAME="android.content.pm.PackageManager.INSTALL_FAILED_UPDATE_INCOMPATIBLE"></A>
    219   <code>int</code>&nbsp;INSTALL_FAILED_UPDATE_INCOMPATIBLE
    220   </TD>
    221   <TD>&nbsp;</TD>
    222 </TR>
    223 <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
    224   <TD VALIGN="TOP" WIDTH="25%">
    225   <A NAME="android.content.pm.PackageManager.INSTALL_PARSE_FAILED_BAD_MANIFEST"></A>
    226   <code>int</code>&nbsp;INSTALL_PARSE_FAILED_BAD_MANIFEST
    227   </TD>
    228   <TD>&nbsp;</TD>
    229 </TR>
    230 <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
    231   <TD VALIGN="TOP" WIDTH="25%">
    232   <A NAME="android.content.pm.PackageManager.INSTALL_PARSE_FAILED_BAD_PACKAGE_NAME"></A>
    233   <code>int</code>&nbsp;INSTALL_PARSE_FAILED_BAD_PACKAGE_NAME
    234   </TD>
    235   <TD>&nbsp;</TD>
    236 </TR>
    237 <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
    238   <TD VALIGN="TOP" WIDTH="25%">
    239   <A NAME="android.content.pm.PackageManager.INSTALL_PARSE_FAILED_BAD_SHARED_USER_ID"></A>
    240   <code>int</code>&nbsp;INSTALL_PARSE_FAILED_BAD_SHARED_USER_ID
    241   </TD>
    242   <TD>&nbsp;</TD>
    243 </TR>
    244 <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
    245   <TD VALIGN="TOP" WIDTH="25%">
    246   <A NAME="android.content.pm.PackageManager.INSTALL_PARSE_FAILED_CERTIFICATE_ENCODING"></A>
    247   <code>int</code>&nbsp;INSTALL_PARSE_FAILED_CERTIFICATE_ENCODING
    248   </TD>
    249   <TD>&nbsp;</TD>
    250 </TR>
    251 <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
    252   <TD VALIGN="TOP" WIDTH="25%">
    253   <A NAME="android.content.pm.PackageManager.INSTALL_PARSE_FAILED_INCONSISTENT_CERTIFICATES"></A>
    254   <code>int</code>&nbsp;INSTALL_PARSE_FAILED_INCONSISTENT_CERTIFICATES
    255   </TD>
    256   <TD>&nbsp;</TD>
    257 </TR>
    258 <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
    259   <TD VALIGN="TOP" WIDTH="25%">
    260   <A NAME="android.content.pm.PackageManager.INSTALL_PARSE_FAILED_MANIFEST_EMPTY"></A>
    261   <code>int</code>&nbsp;INSTALL_PARSE_FAILED_MANIFEST_EMPTY
    262   </TD>
    263   <TD>&nbsp;</TD>
    264 </TR>
    265 <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
    266   <TD VALIGN="TOP" WIDTH="25%">
    267   <A NAME="android.content.pm.PackageManager.INSTALL_PARSE_FAILED_MANIFEST_MALFORMED"></A>
    268   <code>int</code>&nbsp;INSTALL_PARSE_FAILED_MANIFEST_MALFORMED
    269   </TD>
    270   <TD>&nbsp;</TD>
    271 </TR>
    272 <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
    273   <TD VALIGN="TOP" WIDTH="25%">
    274   <A NAME="android.content.pm.PackageManager.INSTALL_PARSE_FAILED_NOT_APK"></A>
    275   <code>int</code>&nbsp;INSTALL_PARSE_FAILED_NOT_APK
    276   </TD>
    277   <TD>&nbsp;</TD>
    278 </TR>
    279 <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
    280   <TD VALIGN="TOP" WIDTH="25%">
    281   <A NAME="android.content.pm.PackageManager.INSTALL_PARSE_FAILED_NO_CERTIFICATES"></A>
    282   <code>int</code>&nbsp;INSTALL_PARSE_FAILED_NO_CERTIFICATES
    283   </TD>
    284   <TD>&nbsp;</TD>
    285 </TR>
    286 <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
    287   <TD VALIGN="TOP" WIDTH="25%">
    288   <A NAME="android.content.pm.PackageManager.INSTALL_PARSE_FAILED_UNEXPECTED_EXCEPTION"></A>
    289   <code>int</code>&nbsp;INSTALL_PARSE_FAILED_UNEXPECTED_EXCEPTION
    290   </TD>
    291   <TD>&nbsp;</TD>
    292 </TR>
    293 <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
    294   <TD VALIGN="TOP" WIDTH="25%">
    295   <A NAME="android.content.pm.PackageManager.INSTALL_SUCCEEDED"></A>
    296   <code>int</code>&nbsp;INSTALL_SUCCEEDED
    297   </TD>
    298   <TD>&nbsp;</TD>
    299 </TR>
    300 <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
    301   <TD VALIGN="TOP" WIDTH="25%">
    302   <A NAME="android.content.pm.PackageManager.REPLACE_EXISTING_PACKAGE"></A>
    303   <code>int</code>&nbsp;REPLACE_EXISTING_PACKAGE
    304   </TD>
    305   <TD>&nbsp;</TD>
    306 </TR>
    307 </TABLE>
    308 &nbsp;
    309       </div>	
    310       <div id="footer">
    311         <div id="copyright">
    312         Except as noted, this content is licensed under 
    313         <a href="http://creativecommons.org/licenses/by/2.5/"> Creative Commons Attribution 2.5</a>.
    314         For details and restrictions, see the <a href="/license.html">Content License</a>.
    315         </div>
    316       <div id="footerlinks">
    317       <p>
    318         <a href="http://www.android.com/terms.html">Site Terms of Service</a> -
    319         <a href="http://www.android.com/privacy.html">Privacy Policy</a> -
    320         <a href="http://www.android.com/branding.html">Brand Guidelines</a>
    321       </p>
    322     </div>
    323     </div> <!-- end footer -->
    324     </div><!-- end doc-content -->
    325     </div> <!-- end body-content --> 
    326 <script src="//www.google-analytics.com/ga.js" type="text/javascript">
    327 </script>
    328 <script type="text/javascript">
    329   try {
    330     var pageTracker = _gat._getTracker("UA-5831155-1");
    331     pageTracker._setAllowAnchor(true);
    332     pageTracker._initData();
    333     pageTracker._trackPageview();
    334   } catch(e) {}
    335 </script>
    336 </BODY>
    337 </HTML>
    338