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.Context 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">17</td> 50 </tr> 51 <tr> 52 <td class="diffspec">From Level:</td> 53 <td class="diffvalueold">16</td> 54 </tr> 55 <tr> 56 <td class="diffspec">Generated</td> 57 <td class="diffvalue">2012.11.12 19:50</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.<A HREF="../../../../reference/android/content/Context.html" target="_top"><font size="+2"><code>Context</code></font></A> 75 </H2> 76 <a NAME="constructors"></a> 77 <a NAME="methods"></a> 78 <p> 79 <a NAME="Added"></a> 80 <TABLE summary="Added Methods" WIDTH="100%"> 81 <TR> 82 <TH VALIGN="TOP" COLSPAN=2>Added Methods</FONT></TD> 83 </TH> 84 <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor"> 85 <TD VALIGN="TOP" WIDTH="25%"> 86 <A NAME="android.content.Context.createConfigurationContext_added(android.content.res.Configuration)"></A> 87 <nobr><code>Context</code> <A HREF="../../../../reference/android/content/Context.html#createConfigurationContext(android.content.res.Configuration)" target="_top"><code>createConfigurationContext</code></A>(<code>Configuration</code>)</nobr> 88 </TD> 89 <TD> </TD> 90 </TR> 91 <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor"> 92 <TD VALIGN="TOP" WIDTH="25%"> 93 <A NAME="android.content.Context.createDisplayContext_added(android.view.Display)"></A> 94 <nobr><code>Context</code> <A HREF="../../../../reference/android/content/Context.html#createDisplayContext(android.view.Display)" target="_top"><code>createDisplayContext</code></A>(<code>Display</code>)</nobr> 95 </TD> 96 <TD> </TD> 97 </TR> 98 <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor"> 99 <TD VALIGN="TOP" WIDTH="25%"> 100 <A NAME="android.content.Context.removeStickyBroadcastAsUser_added(android.content.Intent, android.os.UserHandle)"></A> 101 <nobr><code>void</code> <A HREF="../../../../reference/android/content/Context.html#removeStickyBroadcastAsUser(android.content.Intent, android.os.UserHandle)" target="_top"><code>removeStickyBroadcastAsUser</code></A>(<code>Intent,</nobr> UserHandle<nobr><nobr></code>)</nobr> 102 </TD> 103 <TD> </TD> 104 </TR> 105 <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor"> 106 <TD VALIGN="TOP" WIDTH="25%"> 107 <A NAME="android.content.Context.sendBroadcastAsUser_added(android.content.Intent, android.os.UserHandle)"></A> 108 <nobr><code>void</code> <A HREF="../../../../reference/android/content/Context.html#sendBroadcastAsUser(android.content.Intent, android.os.UserHandle)" target="_top"><code>sendBroadcastAsUser</code></A>(<code>Intent,</nobr> UserHandle<nobr><nobr></code>)</nobr> 109 </TD> 110 <TD> </TD> 111 </TR> 112 <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor"> 113 <TD VALIGN="TOP" WIDTH="25%"> 114 <A NAME="android.content.Context.sendBroadcastAsUser_added(android.content.Intent, android.os.UserHandle, java.lang.String)"></A> 115 <nobr><code>void</code> <A HREF="../../../../reference/android/content/Context.html#sendBroadcastAsUser(android.content.Intent, android.os.UserHandle, java.lang.String)" target="_top"><code>sendBroadcastAsUser</code></A>(<code>Intent,</nobr> UserHandle<nobr>,</nobr> String<nobr><nobr></code>)</nobr> 116 </TD> 117 <TD> </TD> 118 </TR> 119 <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor"> 120 <TD VALIGN="TOP" WIDTH="25%"> 121 <A NAME="android.content.Context.sendOrderedBroadcastAsUser_added(android.content.Intent, android.os.UserHandle, java.lang.String, android.content.BroadcastReceiver, android.os.Handler, int, java.lang.String, android.os.Bundle)"></A> 122 <nobr><code>void</code> <A HREF="../../../../reference/android/content/Context.html#sendOrderedBroadcastAsUser(android.content.Intent, android.os.UserHandle, java.lang.String, android.content.BroadcastReceiver, android.os.Handler, int, java.lang.String, android.os.Bundle)" target="_top"><code>sendOrderedBroadcastAsUser</code></A>(<code>Intent,</nobr> UserHandle<nobr>,</nobr> String<nobr>,</nobr> BroadcastReceiver<nobr>,</nobr> Handler<nobr>,</nobr> int<nobr>,</nobr> String<nobr>,</nobr> Bundle<nobr><nobr></code>)</nobr> 123 </TD> 124 <TD> </TD> 125 </TR> 126 <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor"> 127 <TD VALIGN="TOP" WIDTH="25%"> 128 <A NAME="android.content.Context.sendStickyBroadcastAsUser_added(android.content.Intent, android.os.UserHandle)"></A> 129 <nobr><code>void</code> <A HREF="../../../../reference/android/content/Context.html#sendStickyBroadcastAsUser(android.content.Intent, android.os.UserHandle)" target="_top"><code>sendStickyBroadcastAsUser</code></A>(<code>Intent,</nobr> UserHandle<nobr><nobr></code>)</nobr> 130 </TD> 131 <TD> </TD> 132 </TR> 133 <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor"> 134 <TD VALIGN="TOP" WIDTH="25%"> 135 <A NAME="android.content.Context.sendStickyOrderedBroadcastAsUser_added(android.content.Intent, android.os.UserHandle, android.content.BroadcastReceiver, android.os.Handler, int, java.lang.String, android.os.Bundle)"></A> 136 <nobr><code>void</code> <A HREF="../../../../reference/android/content/Context.html#sendStickyOrderedBroadcastAsUser(android.content.Intent, android.os.UserHandle, android.content.BroadcastReceiver, android.os.Handler, int, java.lang.String, android.os.Bundle)" target="_top"><code>sendStickyOrderedBroadcastAsUser</code></A>(<code>Intent,</nobr> UserHandle<nobr>,</nobr> BroadcastReceiver<nobr>,</nobr> Handler<nobr>,</nobr> int<nobr>,</nobr> String<nobr>,</nobr> Bundle<nobr><nobr></code>)</nobr> 137 </TD> 138 <TD> </TD> 139 </TR> 140 </TABLE> 141 142 <a NAME="fields"></a> 143 <p> 144 <a NAME="Added"></a> 145 <TABLE summary="Added Fields" WIDTH="100%"> 146 <TR> 147 <TH VALIGN="TOP" COLSPAN=2>Added Fields</FONT></TD> 148 </TH> 149 <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor"> 150 <TD VALIGN="TOP" WIDTH="25%"> 151 <A NAME="android.content.Context.DISPLAY_SERVICE"></A> 152 <nobr><code>String</code> <A HREF="../../../../reference/android/content/Context.html#DISPLAY_SERVICE" target="_top"><code>DISPLAY_SERVICE</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.content.Context.USER_SERVICE"></A> 159 <nobr><code>String</code> <A HREF="../../../../reference/android/content/Context.html#USER_SERVICE" target="_top"><code>USER_SERVICE</code></A></nobr> 160 </TD> 161 <TD> </TD> 162 </TR> 163 </TABLE> 164 165 <p> 166 <a NAME="Changed"></a> 167 <TABLE summary="Changed Fields" WIDTH="100%"> 168 <TR> 169 <TH VALIGN="TOP" COLSPAN=3>Changed Fields</FONT></TD> 170 </TH> 171 <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor"> 172 <TD VALIGN="TOP" WIDTH="25%"> 173 <A NAME="android.content.Context.MODE_WORLD_READABLE"></A> 174 <nobr><code>int</code> <A HREF="../../../../reference/android/content/Context.html#MODE_WORLD_READABLE" target="_top"><code>MODE_WORLD_READABLE</code></font></A></nobr> </TD> 175 <TD VALIGN="TOP" WIDTH="30%"> 176 <b>Now deprecated</b>.<br> 177 </TD> 178 <TD> </TD> 179 </TR> 180 <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor"> 181 <TD VALIGN="TOP" WIDTH="25%"> 182 <A NAME="android.content.Context.MODE_WORLD_WRITEABLE"></A> 183 <nobr><code>int</code> <A HREF="../../../../reference/android/content/Context.html#MODE_WORLD_WRITEABLE" target="_top"><code>MODE_WORLD_WRITEABLE</code></font></A></nobr> </TD> 184 <TD VALIGN="TOP" WIDTH="30%"> 185 <b>Now deprecated</b>.<br> 186 </TD> 187 <TD> </TD> 188 </TR> 189 </TABLE> 190 191 </div> 192 <div id="footer"> 193 <div id="copyright"> 194 Except as noted, this content is licensed under 195 <a href="http://creativecommons.org/licenses/by/2.5/"> Creative Commons Attribution 2.5</a>. 196 For details and restrictions, see the <a href="/license.html">Content License</a>. 197 </div> 198 <div id="footerlinks"> 199 <p> 200 <a href="http://www.android.com/terms.html">Site Terms of Service</a> - 201 <a href="http://www.android.com/privacy.html">Privacy Policy</a> - 202 <a href="http://www.android.com/branding.html">Brand Guidelines</a> 203 </p> 204 </div> 205 </div> <!-- end footer --> 206 </div><!-- end doc-content --> 207 </div> <!-- end body-content --> 208 <script src="//www.google-analytics.com/ga.js" type="text/javascript"> 209 </script> 210 <script type="text/javascript"> 211 try { 212 var pageTracker = _gat._getTracker("UA-5831155-1"); 213 pageTracker._setAllowAnchor(true); 214 pageTracker._initData(); 215 pageTracker._trackPageview(); 216 } catch(e) {} 217 </script> 218 </BODY> 219 </HTML> 220