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.app.Activity 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 <!-- <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">11</td> 50 </tr> 51 <tr> 52 <td class="diffspec">From Level:</td> 53 <td class="diffvalueold">10</td> 54 </tr> 55 <tr> 56 <td class="diffspec">Generated</td> 57 <td class="diffvalue">2011.02.19 17:19</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.app.<A HREF="../../../../reference/android/app/Activity.html" target="_top"><font size="+2"><code>Activity</code></font></A> 75 </H2> 76 <p><font xsize="+1">Removed interface <code>android.view.LayoutInflater.Factory</code>.<br> Added interface <code>android.view.LayoutInflater.Factory2</code>.<br></font> 77 <a NAME="constructors"></a> 78 <a NAME="methods"></a> 79 <p> 80 <a NAME="Removed"></a> 81 <TABLE summary="Removed Methods" WIDTH="100%"> 82 <TR> 83 <TH VALIGN="TOP" COLSPAN=2>Removed Methods</FONT></TD> 84 </TH> 85 <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor"> 86 <TD VALIGN="TOP" WIDTH="25%"> 87 <A NAME="android.app.Activity.getInstanceCount_removed()"></A> 88 <nobr><code>long</code> getInstanceCount()</nobr> 89 </TD> 90 <TD> </TD> 91 </TR> 92 <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor"> 93 <TD VALIGN="TOP" WIDTH="25%"> 94 <A NAME="android.app.Activity.setPersistent_removed(boolean)"></A> 95 <nobr><code>void</code> setPersistent(<code>boolean</code>)</nobr> 96 </TD> 97 <TD> </TD> 98 </TR> 99 </TABLE> 100 101 <p> 102 <a NAME="Added"></a> 103 <TABLE summary="Added Methods" WIDTH="100%"> 104 <TR> 105 <TH VALIGN="TOP" COLSPAN=2>Added Methods</FONT></TD> 106 </TH> 107 <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor"> 108 <TD VALIGN="TOP" WIDTH="25%"> 109 <A NAME="android.app.Activity.dispatchKeyShortcutEvent_added(android.view.KeyEvent)"></A> 110 <nobr><code>boolean</code> <A HREF="../../../../reference/android/app/Activity.html#dispatchKeyShortcutEvent(android.view.KeyEvent)" target="_top"><code>dispatchKeyShortcutEvent</code></A>(<code>KeyEvent</code>)</nobr> 111 </TD> 112 <TD> </TD> 113 </TR> 114 <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor"> 115 <TD VALIGN="TOP" WIDTH="25%"> 116 <A NAME="android.app.Activity.dump_added(java.lang.String, java.io.FileDescriptor, java.io.PrintWriter, java.lang.String[])"></A> 117 <nobr><code>void</code> <A HREF="../../../../reference/android/app/Activity.html#dump(java.lang.String, java.io.FileDescriptor, java.io.PrintWriter, java.lang.String[])" target="_top"><code>dump</code></A>(<code>String,</nobr> FileDescriptor<nobr>,</nobr> PrintWriter<nobr>,</nobr> String[]<nobr><nobr></code>)</nobr> 118 </TD> 119 <TD> </TD> 120 </TR> 121 <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor"> 122 <TD VALIGN="TOP" WIDTH="25%"> 123 <A NAME="android.app.Activity.getActionBar_added()"></A> 124 <nobr><code>ActionBar</code> <A HREF="../../../../reference/android/app/Activity.html#getActionBar()" target="_top"><code>getActionBar</code></A>()</nobr> 125 </TD> 126 <TD> </TD> 127 </TR> 128 <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor"> 129 <TD VALIGN="TOP" WIDTH="25%"> 130 <A NAME="android.app.Activity.getFragmentManager_added()"></A> 131 <nobr><code>FragmentManager</code> <A HREF="../../../../reference/android/app/Activity.html#getFragmentManager()" target="_top"><code>getFragmentManager</code></A>()</nobr> 132 </TD> 133 <TD> </TD> 134 </TR> 135 <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor"> 136 <TD VALIGN="TOP" WIDTH="25%"> 137 <A NAME="android.app.Activity.getLoaderManager_added()"></A> 138 <nobr><code>LoaderManager</code> <A HREF="../../../../reference/android/app/Activity.html#getLoaderManager()" target="_top"><code>getLoaderManager</code></A>()</nobr> 139 </TD> 140 <TD> </TD> 141 </TR> 142 <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor"> 143 <TD VALIGN="TOP" WIDTH="25%"> 144 <A NAME="android.app.Activity.invalidateOptionsMenu_added()"></A> 145 <nobr><code>void</code> <A HREF="../../../../reference/android/app/Activity.html#invalidateOptionsMenu()" target="_top"><code>invalidateOptionsMenu</code></A>()</nobr> 146 </TD> 147 <TD> </TD> 148 </TR> 149 <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor"> 150 <TD VALIGN="TOP" WIDTH="25%"> 151 <A NAME="android.app.Activity.isChangingConfigurations_added()"></A> 152 <nobr><code>boolean</code> <A HREF="../../../../reference/android/app/Activity.html#isChangingConfigurations()" target="_top"><code>isChangingConfigurations</code></A>()</nobr> 153 </TD> 154 <TD> </TD> 155 </TR> 156 <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor"> 157 <TD VALIGN="TOP" WIDTH="25%"> 158 <A NAME="android.app.Activity.onActionModeFinished_added(android.view.ActionMode)"></A> 159 <nobr><code>void</code> <A HREF="../../../../reference/android/app/Activity.html#onActionModeFinished(android.view.ActionMode)" target="_top"><code>onActionModeFinished</code></A>(<code>ActionMode</code>)</nobr> 160 </TD> 161 <TD> </TD> 162 </TR> 163 <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor"> 164 <TD VALIGN="TOP" WIDTH="25%"> 165 <A NAME="android.app.Activity.onActionModeStarted_added(android.view.ActionMode)"></A> 166 <nobr><code>void</code> <A HREF="../../../../reference/android/app/Activity.html#onActionModeStarted(android.view.ActionMode)" target="_top"><code>onActionModeStarted</code></A>(<code>ActionMode</code>)</nobr> 167 </TD> 168 <TD> </TD> 169 </TR> 170 <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor"> 171 <TD VALIGN="TOP" WIDTH="25%"> 172 <A NAME="android.app.Activity.onAttachFragment_added(android.app.Fragment)"></A> 173 <nobr><code>void</code> <A HREF="../../../../reference/android/app/Activity.html#onAttachFragment(android.app.Fragment)" target="_top"><code>onAttachFragment</code></A>(<code>Fragment</code>)</nobr> 174 </TD> 175 <TD> </TD> 176 </TR> 177 <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor"> 178 <TD VALIGN="TOP" WIDTH="25%"> 179 <A NAME="android.app.Activity.onCreateView_added(android.view.View, java.lang.String, android.content.Context, android.util.AttributeSet)"></A> 180 <nobr><code>View</code> <A HREF="../../../../reference/android/app/Activity.html#onCreateView(android.view.View, java.lang.String, android.content.Context, android.util.AttributeSet)" target="_top"><code>onCreateView</code></A>(<code>View,</nobr> String<nobr>,</nobr> Context<nobr>,</nobr> AttributeSet<nobr><nobr></code>)</nobr> 181 </TD> 182 <TD> </TD> 183 </TR> 184 <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor"> 185 <TD VALIGN="TOP" WIDTH="25%"> 186 <A NAME="android.app.Activity.onKeyShortcut_added(int, android.view.KeyEvent)"></A> 187 <nobr><code>boolean</code> <A HREF="../../../../reference/android/app/Activity.html#onKeyShortcut(int, android.view.KeyEvent)" target="_top"><code>onKeyShortcut</code></A>(<code>int,</nobr> KeyEvent<nobr><nobr></code>)</nobr> 188 </TD> 189 <TD> </TD> 190 </TR> 191 <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor"> 192 <TD VALIGN="TOP" WIDTH="25%"> 193 <A NAME="android.app.Activity.onWindowStartingActionMode_added(android.view.ActionMode.Callback)"></A> 194 <nobr><code>ActionMode</code> <A HREF="../../../../reference/android/app/Activity.html#onWindowStartingActionMode(android.view.ActionMode.Callback)" target="_top"><code>onWindowStartingActionMode</code></A>(<code>Callback</code>)</nobr> 195 </TD> 196 <TD> </TD> 197 </TR> 198 <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor"> 199 <TD VALIGN="TOP" WIDTH="25%"> 200 <A NAME="android.app.Activity.recreate_added()"></A> 201 <nobr><code>void</code> <A HREF="../../../../reference/android/app/Activity.html#recreate()" target="_top"><code>recreate</code></A>()</nobr> 202 </TD> 203 <TD> </TD> 204 </TR> 205 <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor"> 206 <TD VALIGN="TOP" WIDTH="25%"> 207 <A NAME="android.app.Activity.setFinishOnTouchOutside_added(boolean)"></A> 208 <nobr><code>void</code> <A HREF="../../../../reference/android/app/Activity.html#setFinishOnTouchOutside(boolean)" target="_top"><code>setFinishOnTouchOutside</code></A>(<code>boolean</code>)</nobr> 209 </TD> 210 <TD> </TD> 211 </TR> 212 <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor"> 213 <TD VALIGN="TOP" WIDTH="25%"> 214 <A NAME="android.app.Activity.startActionMode_added(android.view.ActionMode.Callback)"></A> 215 <nobr><code>ActionMode</code> <A HREF="../../../../reference/android/app/Activity.html#startActionMode(android.view.ActionMode.Callback)" target="_top"><code>startActionMode</code></A>(<code>Callback</code>)</nobr> 216 </TD> 217 <TD> </TD> 218 </TR> 219 <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor"> 220 <TD VALIGN="TOP" WIDTH="25%"> 221 <A NAME="android.app.Activity.startActivityFromFragment_added(android.app.Fragment, android.content.Intent, int)"></A> 222 <nobr><code>void</code> <A HREF="../../../../reference/android/app/Activity.html#startActivityFromFragment(android.app.Fragment, android.content.Intent, int)" target="_top"><code>startActivityFromFragment</code></A>(<code>Fragment,</nobr> Intent<nobr>,</nobr> int<nobr><nobr></code>)</nobr> 223 </TD> 224 <TD> </TD> 225 </TR> 226 </TABLE> 227 228 <p> 229 <a NAME="Changed"></a> 230 <TABLE summary="Changed Methods" WIDTH="100%"> 231 <TR> 232 <TH VALIGN="TOP" COLSPAN=3>Changed Methods</FONT></TD> 233 </TH> 234 <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor"> 235 <TD VALIGN="TOP" WIDTH="25%"> 236 <A NAME="android.app.Activity.managedQuery_changed(android.net.Uri, java.lang.String[], java.lang.String, java.lang.String[], java.lang.String)"></A> 237 <nobr><code>Cursor</code> <A HREF="../../../../reference/android/app/Activity.html#managedQuery(android.net.Uri, java.lang.String[], java.lang.String, java.lang.String[], java.lang.String)" target="_top"><code>managedQuery</code></A>(<code>Uri,</nobr> String[]<nobr>,</nobr> String<nobr>,</nobr> String[]<nobr>,</nobr> String<nobr><nobr></code>) </nobr> 238 </TD> 239 <TD VALIGN="TOP" WIDTH="30%"> 240 <b>Now deprecated</b>.<br> 241 </TD> 242 <TD> </TD> 243 </TR> 244 <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor"> 245 <TD VALIGN="TOP" WIDTH="25%"> 246 <A NAME="android.app.Activity.startManagingCursor_changed(android.database.Cursor)"></A> 247 <nobr><code>void</code> <A HREF="../../../../reference/android/app/Activity.html#startManagingCursor(android.database.Cursor)" target="_top"><code>startManagingCursor</code></A>(<code>Cursor</code>) </nobr> 248 </TD> 249 <TD VALIGN="TOP" WIDTH="30%"> 250 <b>Now deprecated</b>.<br> 251 </TD> 252 <TD> </TD> 253 </TR> 254 <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor"> 255 <TD VALIGN="TOP" WIDTH="25%"> 256 <A NAME="android.app.Activity.stopManagingCursor_changed(android.database.Cursor)"></A> 257 <nobr><code>void</code> <A HREF="../../../../reference/android/app/Activity.html#stopManagingCursor(android.database.Cursor)" target="_top"><code>stopManagingCursor</code></A>(<code>Cursor</code>) </nobr> 258 </TD> 259 <TD VALIGN="TOP" WIDTH="30%"> 260 <b>Now deprecated</b>.<br> 261 </TD> 262 <TD> </TD> 263 </TR> 264 </TABLE> 265 266 <a NAME="fields"></a> 267 </div> 268 <div id="footer"> 269 <div id="copyright"> 270 Except as noted, this content is licensed under 271 <a href="http://creativecommons.org/licenses/by/2.5/"> Creative Commons Attribution 2.5</a>. 272 For details and restrictions, see the <a href="/license.html">Content License</a>. 273 </div> 274 <div id="footerlinks"> 275 <p> 276 <a href="http://www.android.com/terms.html">Site Terms of Service</a> - 277 <a href="http://www.android.com/privacy.html">Privacy Policy</a> - 278 <a href="http://www.android.com/branding.html">Brand Guidelines</a> 279 </p> 280 </div> 281 </div> <!-- end footer --> 282 </div><!-- end doc-content --> 283 </div> <!-- end body-content --> 284 <script src="//www.google-analytics.com/ga.js" type="text/javascript"> 285 </script> 286 <script type="text/javascript"> 287 try { 288 var pageTracker = _gat._getTracker("UA-5831155-1"); 289 pageTracker._setAllowAnchor(true); 290 pageTracker._initData(); 291 pageTracker._trackPageview(); 292 } catch(e) {} 293 </script> 294 </BODY> 295 </HTML> 296