summaryrefslogtreecommitdiffstats
path: root/docs/html/sdk/api_diff/11/changes/android.app.Activity.html
blob: 58a9a49e7277e1e1ae0894115a8f123d1aab864b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<HTML style="overflow:auto;">
<HEAD>
<meta name="generator" content="JDiff v1.1.0">
<!-- Generated by the JDiff Javadoc doclet -->
<!-- (http://www.jdiff.org) -->
<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.">
<meta name="keywords" content="diff, jdiff, javadiff, java diff, java difference, API difference, difference between two APIs, API diff, Javadoc, doclet">
<TITLE>
android.app.Activity
</TITLE>
<link href="../../../../assets/android-developer-docs.css" rel="stylesheet" type="text/css" />
<link href="../stylesheet-jdiff.css" rel="stylesheet" type="text/css" />
<noscript>
<style type="text/css">
body{overflow:auto;}
#body-content{position:relative; top:0;}
#doc-content{overflow:visible;border-left:3px solid #666;}
#side-nav{padding:0;}
#side-nav .toggle-list ul {display:block;}
#resize-packages-nav{border-bottom:3px solid #666;}
</style>
</noscript>
<style type="text/css">
</style>
</HEAD>
<BODY>
<!-- Start of nav bar -->
<a name="top"></a>
<div id="header" style="margin-bottom:0;padding-bottom:0;">
<div id="headerLeft">
<a href="../../../../index.html" tabindex="-1" target="_top"><img src="../../../../assets/images/bg_logo.png" alt="Android Developers" /></a>
</div>
  <div id="headerRight">
  <div id="headerLinks">
<!-- <img src="/assets/images/icon_world.jpg" alt="" /> -->
<span class="text">
<!-- &nbsp;<a href="#">English</a> | -->
<nobr><a href="http://developer.android.com" target="_top">Android Developers</a> | <a href="http://www.android.com" target="_top">Android.com</a></nobr>
</span>
</div>
  <div class="and-diff-id" style="margin-top:6px;margin-right:8px;">
    <table class="diffspectable">
      <tr>
        <td colspan="2" class="diffspechead">API Diff Specification</td>
      </tr>
      <tr>
        <td class="diffspec" style="padding-top:.25em">To Level:</td>
        <td class="diffvaluenew" style="padding-top:.25em">11</td>
      </tr>
      <tr>
        <td class="diffspec">From Level:</td>
        <td class="diffvalueold">10</td>
      </tr>
      <tr>
        <td class="diffspec">Generated</td>
        <td class="diffvalue">2011.02.19 17:19</td>
      </tr>
    </table>
    </div><!-- End and-diff-id -->
  <div class="and-diff-id" style="margin-right:8px;">
    <table class="diffspectable">
      <tr>
        <td class="diffspec" colspan="2"><a href="jdiff_statistics.html">Statistics</a>
      </tr>
    </table>
  </div> <!-- End and-diff-id -->
  </div> <!-- End headerRight -->
  </div> <!-- End header -->
<div id="body-content" xstyle="padding:12px;padding-right:18px;">
<div id="doc-content" style="position:relative;">
<div id="mainBodyFluid">
<H2>
Class android.app.<A HREF="../../../../reference/android/app/Activity.html" target="_top"><font size="+2"><code>Activity</code></font></A>
</H2>
<p><font xsize="+1">Removed interface <code>android.view.LayoutInflater.Factory</code>.<br> Added interface <code>android.view.LayoutInflater.Factory2</code>.<br></font>
<a NAME="constructors"></a>
<a NAME="methods"></a>
<p>
<a NAME="Removed"></a>
<TABLE summary="Removed Methods" WIDTH="100%">
<TR>
  <TH VALIGN="TOP" COLSPAN=2>Removed Methods</FONT></TD>
</TH>
<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
  <TD VALIGN="TOP" WIDTH="25%">
  <A NAME="android.app.Activity.getInstanceCount_removed()"></A>
  <nobr><code>long</code>&nbsp;getInstanceCount()</nobr>
  </TD>
  <TD>&nbsp;</TD>
</TR>
<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
  <TD VALIGN="TOP" WIDTH="25%">
  <A NAME="android.app.Activity.setPersistent_removed(boolean)"></A>
  <nobr><code>void</code>&nbsp;setPersistent(<code>boolean</code>)</nobr>
  </TD>
  <TD>&nbsp;</TD>
</TR>
</TABLE>
&nbsp;
<p>
<a NAME="Added"></a>
<TABLE summary="Added Methods" WIDTH="100%">
<TR>
  <TH VALIGN="TOP" COLSPAN=2>Added Methods</FONT></TD>
</TH>
<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
  <TD VALIGN="TOP" WIDTH="25%">
  <A NAME="android.app.Activity.dispatchKeyShortcutEvent_added(android.view.KeyEvent)"></A>
  <nobr><code>boolean</code>&nbsp;<A HREF="../../../../reference/android/app/Activity.html#dispatchKeyShortcutEvent(android.view.KeyEvent)" target="_top"><code>dispatchKeyShortcutEvent</code></A>(<code>KeyEvent</code>)</nobr>
  </TD>
  <TD>&nbsp;</TD>
</TR>
<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
  <TD VALIGN="TOP" WIDTH="25%">
  <A NAME="android.app.Activity.dump_added(java.lang.String, java.io.FileDescriptor, java.io.PrintWriter, java.lang.String[])"></A>
  <nobr><code>void</code>&nbsp;<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>
  </TD>
  <TD>&nbsp;</TD>
</TR>
<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
  <TD VALIGN="TOP" WIDTH="25%">
  <A NAME="android.app.Activity.getActionBar_added()"></A>
  <nobr><code>ActionBar</code>&nbsp;<A HREF="../../../../reference/android/app/Activity.html#getActionBar()" target="_top"><code>getActionBar</code></A>()</nobr>
  </TD>
  <TD>&nbsp;</TD>
</TR>
<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
  <TD VALIGN="TOP" WIDTH="25%">
  <A NAME="android.app.Activity.getFragmentManager_added()"></A>
  <nobr><code>FragmentManager</code>&nbsp;<A HREF="../../../../reference/android/app/Activity.html#getFragmentManager()" target="_top"><code>getFragmentManager</code></A>()</nobr>
  </TD>
  <TD>&nbsp;</TD>
</TR>
<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
  <TD VALIGN="TOP" WIDTH="25%">
  <A NAME="android.app.Activity.getLoaderManager_added()"></A>
  <nobr><code>LoaderManager</code>&nbsp;<A HREF="../../../../reference/android/app/Activity.html#getLoaderManager()" target="_top"><code>getLoaderManager</code></A>()</nobr>
  </TD>
  <TD>&nbsp;</TD>
</TR>
<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
  <TD VALIGN="TOP" WIDTH="25%">
  <A NAME="android.app.Activity.invalidateOptionsMenu_added()"></A>
  <nobr><code>void</code>&nbsp;<A HREF="../../../../reference/android/app/Activity.html#invalidateOptionsMenu()" target="_top"><code>invalidateOptionsMenu</code></A>()</nobr>
  </TD>
  <TD>&nbsp;</TD>
</TR>
<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
  <TD VALIGN="TOP" WIDTH="25%">
  <A NAME="android.app.Activity.isChangingConfigurations_added()"></A>
  <nobr><code>boolean</code>&nbsp;<A HREF="../../../../reference/android/app/Activity.html#isChangingConfigurations()" target="_top"><code>isChangingConfigurations</code></A>()</nobr>
  </TD>
  <TD>&nbsp;</TD>
</TR>
<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
  <TD VALIGN="TOP" WIDTH="25%">
  <A NAME="android.app.Activity.onActionModeFinished_added(android.view.ActionMode)"></A>
  <nobr><code>void</code>&nbsp;<A HREF="../../../../reference/android/app/Activity.html#onActionModeFinished(android.view.ActionMode)" target="_top"><code>onActionModeFinished</code></A>(<code>ActionMode</code>)</nobr>
  </TD>
  <TD>&nbsp;</TD>
</TR>
<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
  <TD VALIGN="TOP" WIDTH="25%">
  <A NAME="android.app.Activity.onActionModeStarted_added(android.view.ActionMode)"></A>
  <nobr><code>void</code>&nbsp;<A HREF="../../../../reference/android/app/Activity.html#onActionModeStarted(android.view.ActionMode)" target="_top"><code>onActionModeStarted</code></A>(<code>ActionMode</code>)</nobr>
  </TD>
  <TD>&nbsp;</TD>
</TR>
<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
  <TD VALIGN="TOP" WIDTH="25%">
  <A NAME="android.app.Activity.onAttachFragment_added(android.app.Fragment)"></A>
  <nobr><code>void</code>&nbsp;<A HREF="../../../../reference/android/app/Activity.html#onAttachFragment(android.app.Fragment)" target="_top"><code>onAttachFragment</code></A>(<code>Fragment</code>)</nobr>
  </TD>
  <TD>&nbsp;</TD>
</TR>
<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
  <TD VALIGN="TOP" WIDTH="25%">
  <A NAME="android.app.Activity.onCreateView_added(android.view.View, java.lang.String, android.content.Context, android.util.AttributeSet)"></A>
  <nobr><code>View</code>&nbsp;<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>
  </TD>
  <TD>&nbsp;</TD>
</TR>
<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
  <TD VALIGN="TOP" WIDTH="25%">
  <A NAME="android.app.Activity.onKeyShortcut_added(int, android.view.KeyEvent)"></A>
  <nobr><code>boolean</code>&nbsp;<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>
  </TD>
  <TD>&nbsp;</TD>
</TR>
<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
  <TD VALIGN="TOP" WIDTH="25%">
  <A NAME="android.app.Activity.onWindowStartingActionMode_added(android.view.ActionMode.Callback)"></A>
  <nobr><code>ActionMode</code>&nbsp;<A HREF="../../../../reference/android/app/Activity.html#onWindowStartingActionMode(android.view.ActionMode.Callback)" target="_top"><code>onWindowStartingActionMode</code></A>(<code>Callback</code>)</nobr>
  </TD>
  <TD>&nbsp;</TD>
</TR>
<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
  <TD VALIGN="TOP" WIDTH="25%">
  <A NAME="android.app.Activity.recreate_added()"></A>
  <nobr><code>void</code>&nbsp;<A HREF="../../../../reference/android/app/Activity.html#recreate()" target="_top"><code>recreate</code></A>()</nobr>
  </TD>
  <TD>&nbsp;</TD>
</TR>
<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
  <TD VALIGN="TOP" WIDTH="25%">
  <A NAME="android.app.Activity.setFinishOnTouchOutside_added(boolean)"></A>
  <nobr><code>void</code>&nbsp;<A HREF="../../../../reference/android/app/Activity.html#setFinishOnTouchOutside(boolean)" target="_top"><code>setFinishOnTouchOutside</code></A>(<code>boolean</code>)</nobr>
  </TD>
  <TD>&nbsp;</TD>
</TR>
<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
  <TD VALIGN="TOP" WIDTH="25%">
  <A NAME="android.app.Activity.startActionMode_added(android.view.ActionMode.Callback)"></A>
  <nobr><code>ActionMode</code>&nbsp;<A HREF="../../../../reference/android/app/Activity.html#startActionMode(android.view.ActionMode.Callback)" target="_top"><code>startActionMode</code></A>(<code>Callback</code>)</nobr>
  </TD>
  <TD>&nbsp;</TD>
</TR>
<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
  <TD VALIGN="TOP" WIDTH="25%">
  <A NAME="android.app.Activity.startActivityFromFragment_added(android.app.Fragment, android.content.Intent, int)"></A>
  <nobr><code>void</code>&nbsp;<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>
  </TD>
  <TD>&nbsp;</TD>
</TR>
</TABLE>
&nbsp;
<p>
<a NAME="Changed"></a>
<TABLE summary="Changed Methods" WIDTH="100%">
<TR>
  <TH VALIGN="TOP" COLSPAN=3>Changed Methods</FONT></TD>
</TH>
<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
  <TD VALIGN="TOP" WIDTH="25%">
  <A NAME="android.app.Activity.managedQuery_changed(android.net.Uri, java.lang.String[], java.lang.String, java.lang.String[], java.lang.String)"></A>
  <nobr><code>Cursor</code>&nbsp;<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>
  </TD>
  <TD VALIGN="TOP" WIDTH="30%">
<b>Now deprecated</b>.<br>
  </TD>
  <TD>&nbsp;</TD>
</TR>
<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
  <TD VALIGN="TOP" WIDTH="25%">
  <A NAME="android.app.Activity.startManagingCursor_changed(android.database.Cursor)"></A>
  <nobr><code>void</code>&nbsp;<A HREF="../../../../reference/android/app/Activity.html#startManagingCursor(android.database.Cursor)" target="_top"><code>startManagingCursor</code></A>(<code>Cursor</code>)  </nobr>
  </TD>
  <TD VALIGN="TOP" WIDTH="30%">
<b>Now deprecated</b>.<br>
  </TD>
  <TD>&nbsp;</TD>
</TR>
<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
  <TD VALIGN="TOP" WIDTH="25%">
  <A NAME="android.app.Activity.stopManagingCursor_changed(android.database.Cursor)"></A>
  <nobr><code>void</code>&nbsp;<A HREF="../../../../reference/android/app/Activity.html#stopManagingCursor(android.database.Cursor)" target="_top"><code>stopManagingCursor</code></A>(<code>Cursor</code>)  </nobr>
  </TD>
  <TD VALIGN="TOP" WIDTH="30%">
<b>Now deprecated</b>.<br>
  </TD>
  <TD>&nbsp;</TD>
</TR>
</TABLE>
&nbsp;
<a NAME="fields"></a>
      </div>	
      <div id="footer">
        <div id="copyright">
        Except as noted, this content is licensed under 
        <a href="http://creativecommons.org/licenses/by/2.5/"> Creative Commons Attribution 2.5</a>.
        For details and restrictions, see the <a href="/license.html">Content License</a>.
        </div>
      <div id="footerlinks">
      <p>
        <a href="http://www.android.com/terms.html">Site Terms of Service</a> -
        <a href="http://www.android.com/privacy.html">Privacy Policy</a> -
        <a href="http://www.android.com/branding.html">Brand Guidelines</a>
      </p>
    </div>
    </div> <!-- end footer -->
    </div><!-- end doc-content -->
    </div> <!-- end body-content --> 
<script src="//www.google-analytics.com/ga.js" type="text/javascript">
</script>
<script type="text/javascript">
  try {
    var pageTracker = _gat._getTracker("UA-5831155-1");
    pageTracker._setAllowAnchor(true);
    pageTracker._initData();
    pageTracker._trackPageview();
  } catch(e) {}
</script>
</BODY>
</HTML>