Beruflich Dokumente
Kultur Dokumente
DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width,initial-scale=1.0,minimum-scal
e=1.0,maximum-scale=1.0,user-scalable=no" />
<meta content="IE=edge" http-equiv="X-UA-Compatible">
<link rel="shortcut icon" type="image/x-icon" href="../../../favicon.ico" />
<title>InputMethodService - Android SDK | Android Developers</title>
<!-- STYLESHEETS -->
<link rel="stylesheet"
href="http://fonts.googleapis.com/css?family=Roboto+Condensed">
<link rel="stylesheet" href="http://fonts.googleapis.com/css?family=Roboto:light
,regular,medium,thin,italic,mediumitalic,bold"
title="roboto">
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m
)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-5831155-1', 'android.com');
ga('create', 'UA-49880327-2', 'android.com', {'name': 'universal'}); // New t
racker);
ga('send', 'pageview');
ga('universal.send', 'pageview'); // Send page view for new tracker.
</script>
</head>
<body class="gc-documentation
develop reference" itemscope itemtype="http://schema.org/Article">
<div id="doc-api-level" class="3" style="display:none"></div>
<a name="top"></a>
<a name="top"></a>
<!-- dialog to prompt lang pref change when loaded from hardcoded URL
<div id="langMessage" style="display:none">
<div>
<div class="lang en">
<p>You requested a page in English, would you like to proceed with this la
nguage setting?</p>
</div>
<div class="lang es">
<p>You requested a page in Spanish (Espaol), would you like to proceed with
this language setting?</p>
</div>
<div class="lang ja">
<p>You requested a page in Japanese (), would you like to proceed with this l
anguage setting?</p>
</div>
<div class="lang ko">
<p>You requested a page in Korean (
), would you like to proceed with this lan
guage setting?</p>
</div>
<div class="lang ru">
<p>You requested a page in Russian (), would you like to proceed with this langu
ge setting?</p>
</div>
<div class="lang zh-cn">
<p>You requested a page in Simplified Chinese (), would you like to proceed wi
th this language setting?</p>
</div>
<div class="lang zh-tw">
<p>You requested a page in Traditional Chinese (), would you like to proceed w
ith this language setting?</p>
</div>
<a href="#" class="button yes" onclick="return false;">
<span class="lang en">Yes</span>
<span class="lang es">S</span>
<span class="lang ja">Yes</span>
<span class="lang ko">Yes</span>
<span class="lang ru">Yes</span>
<span class="lang zh-cn"></span>
<span class="lang zh-tw"></span>
</a>
<a href="#" class="button" onclick="$('#langMessage').hide();return false;">
<span class="lang en">No</span>
<span class="lang es">No</span>
<span class="lang ja">No</span>
<span class="lang ko">No</span>
<span class="lang ru">No</span>
<span class="lang zh-cn"></span>
<span class="lang zh-tw"></span>
</a>
</div>
</div> -->
<!-- Header -->
<div id="header-wrapper">
<div class="dac-header" id="header">
<div class="dac-header-inner">
<a class="dac-nav-toggle" data-dac-toggle-nav href="javascript:;" title=
"Open navigation">
<span class="dac-nav-hamburger">
<span class="dac-nav-hamburger-top"></span>
<span class="dac-nav-hamburger-mid"></span>
<span class="dac-nav-hamburger-bot"></span>
</span>
</a>
<a class="dac-header-logo" href="../../../index.html">
<img class="dac-header-logo-image" src="../../../assets/images/android
_logo.png"
srcset="../../../assets/images/android_logo@2x.png 2x"
Console
</a>
</div><!-- end header-wrap.wrap -->
</div><!-- end header -->
<div id="searchResults" class="wrap" style="display:none;">
<h2 id="searchTitle">Results</h2>
<div id="leftSearchControl" class="search-control">Loading...</div>
</div>
</div> <!--end header-wrapper -->
<!-- Navigation-->
<nav class="dac-nav">
<div class="dac-nav-dimmer" data-dac-toggle-nav></div>
<ul class="dac-nav-list" data-dac-nav>
<li class="dac-nav-item dac-nav-head">
<a class="dac-nav-link dac-nav-logo" data-dac-toggle-nav href="javascrip
t:;" title="Close navigation">
<img class="dac-logo-image" src="../../../assets/images/android_logo.p
ng"
srcset="../../../assets/images/android_logo@2x.png 2x"
width="32" height="36" alt="Android" /> Developers
</a>
</li>
<li class="dac-nav-item home">
<a class="dac-nav-link dac-visible-mobile-block" href="../../../index.ht
ml">Home</a>
<ul class="dac-nav-secondary about">
<li class="dac-nav-item about">
<a class="dac-nav-link" href="../../../about/index.html">Android</a>
</li>
<li class="dac-nav-item wear">
<a class="dac-nav-link" href="../../../wear/index.html">Wear</a>
</li>
<li class="dac-nav-item tv">
<a class="dac-nav-link" href="../../../tv/index.html">TV</a>
</li>
<li class="dac-nav-item auto">
<a class="dac-nav-link" href="../../../auto/index.html">Auto</a>
</li>
</ul>
</li>
<li class="dac-nav-item design">
<a class="dac-nav-link" href="../../../design/index.html"
zh-tw-lang=""
zh-cn-lang=""
ru-lang=""
ko-lang=" "
ja-lang=""
es-lang="Disear">Design</a>
</li>
<li class="dac-nav-item develop">
<a class="dac-nav-link" href="../../../develop/index.html"
zh-tw-lang=""
zh-cn-lang=""
ru-lang=""
ko-lang=" "
ja-lang=""
es-lang="Desarrollar">Develop</a>
<ul class="dac-nav-secondary develop">
<li class="dac-nav-item training">
<a class="dac-nav-link" href="../../../training/index.html"
zh-tw-lang=""
zh-cn-lang=""
ru-lang=""
ko-lang=" "
ja-lang=""
es-lang="Capacitacin">Training</a>
</li>
<li class="dac-nav-item guide">
<a class="dac-nav-link" href="../../../guide/index.html"
zh-tw-lang="API "
zh-cn-lang="API "
ru-lang=" API"
ko-lang="API
"
ja-lang="API "
es-lang="Guas de la API">API Guides</a>
</li>
<li class="dac-nav-item reference">
<a class="dac-nav-link" href="../../../reference/packages.html"
zh-tw-lang=""
zh-cn-lang=""
ru-lang=""
ko-lang="
"
ja-lang=""
es-lang="Referencia">Reference</a>
</li>
<li class="dac-nav-item tools">
<a class="dac-nav-link" href="../../../sdk/index.html"
zh-tw-lang=""
zh-cn-lang=""
ru-lang=""
ko-lang=" "
ja-lang=""
es-lang="Herramientas">Tools</a></li>
<li class="dac-nav-item google">
<a class="dac-nav-link" href="../../../google/index.html">Google Ser
vices</a>
</li>
<li class="dac-nav-item preview">
<a class="dac-nav-link" href="../../../preview/index.html">Preview</
a>
</li>
</ul>
</li>
<li class="dac-nav-item distribute">
<a class="dac-nav-link" href="../../../distribute/googleplay/index.html"
zh-tw-lang=""
zh-cn-lang=""
ru-lang=""
ko-lang=" "
ja-lang=""
es-lang="Distribuir">Distribute</a>
<ul class="dac-nav-secondary distribute">
<li class="dac-nav-item googleplay">
<a class="dac-nav-link" href="../../../distribute/googleplay/index.h
tml">Google Play</a></li>
<li class="dac-nav-item essentials">
<a class="dac-nav-link" href="../../../distribute/essentials/index.h
tml">Essentials</a></li>
<li class="dac-nav-item users">
<a class="dac-nav-link" href="../../../distribute/users/index.html">
Get Users</a></li>
<li class="dac-nav-item engage">
<a class="dac-nav-link" href="../../../distribute/engage/index.html"
>Engage & Retain</a></li>
<li class="dac-nav-item monetize">
<a class="dac-nav-link" href="../../../distribute/monetize/index.htm
l">Earn</a>
</li>
<li class="dac-nav-item analyze">
<a class="dac-nav-link" href="../../../distribute/analyze/index.html
">Analyze</a>
</li>
<li class="dac-nav-item stories">
<a class="dac-nav-link" href="../../../distribute/stories/index.html
">Stories</a>
</li>
</ul>
</li>
</ul>
</nav>
<!-- end navigation-->
<ul>
<li class="api apilevel-1">
<a href="../../../reference/android/package-summary.html">android</a></li>
<li class="api apilevel-4">
<a href="../../../reference/android/accessibilityservice/package-summary.html"
>android.accessibilityservice</a></li>
<li class="api apilevel-5">
<a href="../../../reference/android/accounts/package-summary.html">android.acc
ounts</a></li>
<li class="api apilevel-11">
<a href="../../../reference/android/animation/package-summary.html">android.an
imation</a></li>
<li class="api apilevel-16">
<a href="../../../reference/android/annotation/package-summary.html">android.a
nnotation</a></li>
<li class="api apilevel-1">
<a href="../../../reference/android/app/package-summary.html">android.app</a><
/li>
<li class="api apilevel-8">
<a href="../../../reference/android/app/admin/package-summary.html">android.ap
p.admin</a></li>
<li class="api apilevel-23">
<a href="../../../reference/android/app/assist/package-summary.html">android.a
pp.assist</a></li>
<li class="api apilevel-8">
<a href="../../../reference/android/app/backup/package-summary.html">android.a
pp.backup</a></li>
<li class="api apilevel-21">
<a href="../../../reference/android/app/job/package-summary.html">android.app.
job</a></li>
<li class="api apilevel-21">
<a href="../../../reference/android/app/usage/package-summary.html">android.ap
p.usage</a></li>
<li class="api apilevel-3">
<a href="../../../reference/android/appwidget/package-summary.html">android.ap
pwidget</a></li>
<li class="api apilevel-5">
<a href="../../../reference/android/bluetooth/package-summary.html">android.bl
uetooth</a></li>
<li class="api apilevel-21">
<a href="../../../reference/android/bluetooth/le/package-summary.html">android
.bluetooth.le</a></li>
<li class="api apilevel-1">
<a href="../../../reference/android/content/package-summary.html">android.cont
ent</a></li>
<li class="api apilevel-1">
<a href="../../../reference/android/content/pm/package-summary.html">android.c
ontent.pm</a></li>
<li class="api apilevel-1">
<a href="../../../reference/android/content/res/package-summary.html">android.
content.res</a></li>
<li class="api apilevel-1">
<a href="../../../reference/android/database/package-summary.html">android.dat
abase</a></li>
<li class="api apilevel-1">
<a href="../../../reference/android/database/sqlite/package-summary.html">andr
oid.database.sqlite</a></li>
<li class="api apilevel-">
<a href="../../../reference/android/databinding/package-summary.html">android.
databinding</a></li>
<li class="api apilevel-11">
<a href="../../../reference/android/drm/package-summary.html">android.drm</a><
/li>
<li class="api apilevel-4">
<a href="../../../reference/android/gesture/package-summary.html">android.gest
ure</a></li>
<li class="api apilevel-1">
<a href="../../../reference/android/graphics/package-summary.html">android.gra
phics</a></li>
<li class="api apilevel-1">
<a href="../../../reference/android/graphics/drawable/package-summary.html">an
droid.graphics.drawable</a></li>
<li class="api apilevel-1">
<a href="../../../reference/android/graphics/drawable/shapes/package-summary.h
tml">android.graphics.drawable.shapes</a></li>
<li class="api apilevel-19">
<a href="../../../reference/android/graphics/pdf/package-summary.html">android
.graphics.pdf</a></li>
<li class="api apilevel-1">
<a href="../../../reference/android/hardware/package-summary.html">android.har
dware</a></li>
<li class="api apilevel-21">
<a href="../../../reference/android/hardware/camera2/package-summary.html">and
roid.hardware.camera2</a></li>
<li class="api apilevel-21">
<a href="../../../reference/android/hardware/camera2/params/package-summary.ht
ml">android.hardware.camera2.params</a></li>
<li class="api apilevel-17">
<a href="../../../reference/android/hardware/display/package-summary.html">and
roid.hardware.display</a></li>
<li class="api apilevel-23">
<a href="../../../reference/android/hardware/fingerprint/package-summary.html"
>android.hardware.fingerprint</a></li>
<li class="api apilevel-16">
<a href="../../../reference/android/hardware/input/package-summary.html">andro
id.hardware.input</a></li>
<li class="api apilevel-12">
<a href="../../../reference/android/hardware/usb/package-summary.html">android
.hardware.usb</a></li>
<li class="selected api apilevel-3">
<a href="../../../reference/android/inputmethodservice/package-summary.html">a
ndroid.inputmethodservice</a></li>
<li class="api apilevel-1">
<a href="../../../reference/android/location/package-summary.html">android.loc
ation</a></li>
<li class="api apilevel-1">
<a href="../../../reference/android/media/package-summary.html">android.media<
/a></li>
<li class="api apilevel-9">
<a href="../../../reference/android/media/audiofx/package-summary.html">androi
d.media.audiofx</a></li>
<li class="api apilevel-21">
<a href="../../../reference/android/media/browse/package-summary.html">android
.media.browse</a></li>
<li class="api apilevel-14">
<a href="../../../reference/android/media/effect/package-summary.html">android
.media.effect</a></li>
<li class="api apilevel-23">
<a href="../../../reference/android/media/midi/package-summary.html">android.m
edia.midi</a></li>
<li class="api apilevel-21">
<a href="../../../reference/android/media/projection/package-summary.html">and
roid.media.projection</a></li>
<li class="api apilevel-21">
<a href="../../../reference/android/media/session/package-summary.html">androi
d.media.session</a></li>
<li class="api apilevel-21">
<a href="../../../reference/android/media/tv/package-summary.html">android.med
ia.tv</a></li>
<li class="api apilevel-12">
<a href="../../../reference/android/mtp/package-summary.html">android.mtp</a><
/li>
<li class="api apilevel-1">
<a href="../../../reference/android/net/package-summary.html">android.net</a><
/li>
<li class="api apilevel-1">
<a href="../../../reference/android/net/http/package-summary.html">android.net
.http</a></li>
<li class="api apilevel-16">
<a href="../../../reference/android/net/nsd/package-summary.html">android.net.
nsd</a></li>
<li class="api apilevel-12">
<a href="../../../reference/android/net/rtp/package-summary.html">android.net.
rtp</a></li>
<li class="api apilevel-9">
<a href="../../../reference/android/net/sip/package-summary.html">android.net.
sip</a></li>
<li class="api apilevel-1">
<a href="../../../reference/android/net/wifi/package-summary.html">android.net
.wifi</a></li>
<li class="api apilevel-14">
<a href="../../../reference/android/net/wifi/p2p/package-summary.html">android
.net.wifi.p2p</a></li>
<li class="api apilevel-16">
<a href="../../../reference/android/net/wifi/p2p/nsd/package-summary.html">and
roid.net.wifi.p2p.nsd</a></li>
<li class="api apilevel-9">
<a href="../../../reference/android/nfc/package-summary.html">android.nfc</a><
/li>
<li class="api apilevel-19">
<a href="../../../reference/android/nfc/cardemulation/package-summary.html">an
droid.nfc.cardemulation</a></li>
<li class="api apilevel-10">
<a href="../../../reference/android/nfc/tech/package-summary.html">android.nfc
.tech</a></li>
<li class="api apilevel-1">
<a href="../../../reference/android/opengl/package-summary.html">android.openg
l</a></li>
<li class="api apilevel-1">
<a href="../../../reference/android/os/package-summary.html">android.os</a></l
i>
<li class="api apilevel-9">
<a href="../../../reference/android/os/storage/package-summary.html">android.o
s.storage</a></li>
<li class="api apilevel-1">
<a href="../../../reference/android/preference/package-summary.html">android.p
reference</a></li>
<li class="api apilevel-19">
<a href="../../../reference/android/print/package-summary.html">android.print<
/a></li>
<li class="api apilevel-19">
<a href="../../../reference/android/print/pdf/package-summary.html">android.pr
int.pdf</a></li>
<li class="api apilevel-19">
<a href="../../../reference/android/printservice/package-summary.html">android
.printservice</a></li>
<li class="api apilevel-1">
<a href="../../../reference/android/provider/package-summary.html">android.pro
vider</a></li>
<li class="api apilevel-11">
<a href="../../../reference/android/renderscript/package-summary.html">android
.renderscript</a></li>
<li class="api apilevel-1">
<a href="../../../reference/android/sax/package-summary.html">android.sax</a><
/li>
<li class="api apilevel-14">
<a href="../../../reference/android/security/package-summary.html">android.sec
urity</a></li>
<li class="api apilevel-23">
<a href="../../../reference/android/security/keystore/package-summary.html">an
droid.security.keystore</a></li>
<li class="api apilevel-22">
<a href="../../../reference/android/service/carrier/package-summary.html">andr
oid.service.carrier</a></li>
<li class="api apilevel-23">
<a href="../../../reference/android/service/chooser/package-summary.html">andr
oid.service.chooser</a></li>
<li class="api apilevel-17">
<a href="../../../reference/android/service/dreams/package-summary.html">andro
id.service.dreams</a></li>
<li class="api apilevel-21">
<a href="../../../reference/android/service/media/package-summary.html">androi
d.service.media</a></li>
<li class="api apilevel-18">
<a href="../../../reference/android/service/notification/package-summary.html"
>android.service.notification</a></li>
<li class="api apilevel-21">
<a href="../../../reference/android/service/restrictions/package-summary.html"
>android.service.restrictions</a></li>
<li class="api apilevel-14">
<a href="../../../reference/android/service/textservice/package-summary.html">
android.service.textservice</a></li>
<li class="api apilevel-21">
<a href="../../../reference/android/service/voice/package-summary.html">androi
d.service.voice</a></li>
<li class="api apilevel-7">
<a href="../../../reference/android/service/wallpaper/package-summary.html">an
droid.service.wallpaper</a></li>
<li class="api apilevel-3">
<a href="../../../reference/android/speech/package-summary.html">android.speec
h</a></li>
<li class="api apilevel-4">
<a href="../../../reference/android/speech/tts/package-summary.html">android.s
peech.tts</a></li>
<li class="api apilevel-">
<a href="../../../reference/android/support/annotation/package-summary.html">a
ndroid.support.annotation</a></li>
<li class="api apilevel-">
<a href="../../../reference/android/support/app/recommendation/package-summary
.html">android.support.app.recommendation</a></li>
<li class="api apilevel-">
<a href="../../../reference/android/support/customtabs/package-summary.html">a
ndroid.support.customtabs</a></li>
<li class="api apilevel-">
<a href="../../../reference/android/support/design/package-summary.html">andro
id.support.design</a></li>
<li class="api apilevel-">
<a href="../../../reference/android/support/design/widget/package-summary.html
">android.support.design.widget</a></li>
<li class="api apilevel-">
<a href="../../../reference/android/support/multidex/package-summary.html">and
roid.support.multidex</a></li>
<li class="api apilevel-">
<a href="../../../reference/android/support/percent/package-summary.html">andr
oid.support.percent</a></li>
<li class="api apilevel-">
<a href="../../../reference/android/support/v13/app/package-summary.html">andr
oid.support.v13.app</a></li>
<li class="api apilevel-">
<a href="../../../reference/android/support/v14/preference/package-summary.htm
l">android.support.v14.preference</a></li>
<li class="api apilevel-">
<a href="../../../reference/android/support/v17/leanback/package-summary.html"
>android.support.v17.leanback</a></li>
<li class="api apilevel-">
<a href="../../../reference/android/support/v17/leanback/app/package-summary.h
tml">android.support.v17.leanback.app</a></li>
<li class="api apilevel-">
<a href="../../../reference/android/support/v17/leanback/database/package-summ
ary.html">android.support.v17.leanback.database</a></li>
<li class="api apilevel-">
<a href="../../../reference/android/support/v17/leanback/graphics/package-summ
ary.html">android.support.v17.leanback.graphics</a></li>
<li class="api apilevel-">
<a href="../../../reference/android/support/v17/leanback/system/package-summar
y.html">android.support.v17.leanback.system</a></li>
<li class="api apilevel-">
<a href="../../../reference/android/support/v17/leanback/widget/package-summar
y.html">android.support.v17.leanback.widget</a></li>
<li class="api apilevel-">
<a href="../../../reference/android/support/v17/preference/package-summary.htm
l">android.support.v17.preference</a></li>
<li class="api apilevel-">
<a href="../../../reference/android/support/v4/accessibilityservice/package-su
mmary.html">android.support.v4.accessibilityservice</a></li>
<li class="api apilevel-">
<a href="../../../reference/android/support/v4/animation/package-summary.html"
>android.support.v4.animation</a></li>
<li class="api apilevel-">
<a href="../../../reference/android/support/v4/app/package-summary.html">andro
id.support.v4.app</a></li>
<li class="api apilevel-">
<a href="../../../reference/android/support/v4/content/package-summary.html">a
ndroid.support.v4.content</a></li>
<li class="api apilevel-">
<a href="../../../reference/android/support/v4/content/pm/package-summary.html
">android.support.v4.content.pm</a></li>
<li class="api apilevel-">
<a href="../../../reference/android/support/v4/content/res/package-summary.htm
l">android.support.v4.content.res</a></li>
<li class="api apilevel-">
<a href="../../../reference/android/support/v4/database/package-summary.html">
android.support.v4.database</a></li>
<li class="api apilevel-">
<a href="../../../reference/android/support/v4/graphics/package-summary.html">
android.support.v4.graphics</a></li>
<li class="api apilevel-">
<a href="../../../reference/android/support/v4/graphics/drawable/package-summa
ry.html">android.support.v4.graphics.drawable</a></li>
<li class="api apilevel-">
<a href="../../../reference/android/support/v4/hardware/display/package-summar
y.html">android.support.v4.hardware.display</a></li>
<li class="api apilevel-">
<a href="../../../reference/android/support/v4/hardware/fingerprint/package-su
mmary.html">android.support.v4.hardware.fingerprint</a></li>
<li class="api apilevel-">
<a href="../../../reference/android/support/v4/media/package-summary.html">and
roid.support.v4.media</a></li>
<li class="api apilevel-">
<a href="../../../reference/android/support/v4/media/session/package-summary.h
tml">android.support.v4.media.session</a></li>
<li class="api apilevel-">
<a href="../../../reference/android/support/v4/net/package-summary.html">andro
id.support.v4.net</a></li>
<li class="api apilevel-">
<a href="../../../reference/android/support/v4/os/package-summary.html">androi
d.support.v4.os</a></li>
<li class="api apilevel-">
<a href="../../../reference/android/support/v4/print/package-summary.html">and
roid.support.v4.print</a></li>
<li class="api apilevel-">
<a href="../../../reference/android/support/v4/provider/package-summary.html">
android.support.v4.provider</a></li>
<li class="api apilevel-">
<a href="../../../reference/android/support/v4/text/package-summary.html">andr
oid.support.v4.text</a></li>
<li class="api apilevel-">
<a href="../../../reference/android/support/v4/util/package-summary.html">andr
oid.support.v4.util</a></li>
<li class="api apilevel-">
<a href="../../../reference/android/support/v4/view/package-summary.html">andr
oid.support.v4.view</a></li>
<li class="api apilevel-">
<a href="../../../reference/android/support/v4/view/accessibility/package-summ
ary.html">android.support.v4.view.accessibility</a></li>
<li class="api apilevel-">
<a href="../../../reference/android/support/v4/view/animation/package-summary.
html">android.support.v4.view.animation</a></li>
<li class="api apilevel-">
<a href="../../../reference/android/support/v4/widget/package-summary.html">an
droid.support.v4.widget</a></li>
<li class="api apilevel-">
<a href="../../../reference/android/support/v7/app/package-summary.html">andro
id.support.v7.app</a></li>
<li class="api apilevel-">
<a href="../../../reference/android/support/v7/appcompat/package-summary.html"
>android.support.v7.appcompat</a></li>
<li class="api apilevel-">
<a href="../../../reference/android/support/v7/cardview/package-summary.html">
android.support.v7.cardview</a></li>
<li class="api apilevel-">
<a href="../../../reference/android/support/v7/graphics/package-summary.html">
android.support.v7.graphics</a></li>
<li class="api apilevel-">
<a href="../../../reference/android/support/v7/graphics/drawable/package-summa
ry.html">android.support.v7.graphics.drawable</a></li>
<li class="api apilevel-">
<a href="../../../reference/android/support/v7/gridlayout/package-summary.html
">android.support.v7.gridlayout</a></li>
<li class="api apilevel-">
<a href="../../../reference/android/support/v7/media/package-summary.html">and
roid.support.v7.media</a></li>
<li class="api apilevel-">
<a href="../../../reference/android/support/v7/mediarouter/package-summary.htm
l">android.support.v7.mediarouter</a></li>
<li class="api apilevel-">
<a href="../../../reference/android/support/v7/preference/package-summary.html
">android.support.v7.preference</a></li>
<li class="api apilevel-">
<a href="../../../reference/android/support/v7/recyclerview/package-summary.ht
ml">android.support.v7.recyclerview</a></li>
<li class="api apilevel-">
<a href="../../../reference/android/support/v7/util/package-summary.html">andr
oid.support.v7.util</a></li>
<li class="api apilevel-">
<a href="../../../reference/android/support/v7/view/package-summary.html">andr
oid.support.v7.view</a></li>
<li class="api apilevel-">
<a href="../../../reference/android/support/v7/widget/package-summary.html">an
droid.support.v7.widget</a></li>
<li class="api apilevel-">
<a href="../../../reference/android/support/v7/widget/helper/package-summary.h
tml">android.support.v7.widget.helper</a></li>
<li class="api apilevel-">
<a href="../../../reference/android/support/v7/widget/util/package-summary.htm
l">android.support.v7.widget.util</a></li>
<li class="api apilevel-">
<a href="../../../reference/android/support/v8/renderscript/package-summary.ht
ml">android.support.v8.renderscript</a></li>
<li class="api apilevel-21">
<a href="../../../reference/android/system/package-summary.html">android.syste
m</a></li>
<li class="api apilevel-21">
<a href="../../../reference/android/telecom/package-summary.html">android.tele
com</a></li>
<li class="api apilevel-1">
<a href="../../../reference/android/telephony/package-summary.html">android.te
lephony</a></li>
<li class="api apilevel-5">
<a href="../../../reference/android/telephony/cdma/package-summary.html">andro
id.telephony.cdma</a></li>
<li class="api apilevel-1">
<a href="../../../reference/android/telephony/gsm/package-summary.html">androi
d.telephony.gsm</a></li>
<li class="api apilevel-1">
<a href="../../../reference/android/test/package-summary.html">android.test</a
></li>
<li class="api apilevel-1">
<a href="../../../reference/android/test/mock/package-summary.html">android.te
st.mock</a></li>
<li class="api apilevel-1">
<a href="../../../reference/android/test/suitebuilder/package-summary.html">an
droid.test.suitebuilder</a></li>
<li class="api apilevel-1">
<a href="../../../reference/android/test/suitebuilder/annotation/package-summa
ry.html">android.test.suitebuilder.annotation</a></li>
<li class="api apilevel-1">
<a href="../../../reference/android/text/package-summary.html">android.text</a
></li>
<li class="api apilevel-3">
<a href="../../../reference/android/text/format/package-summary.html">android.
text.format</a></li>
<li class="api apilevel-1">
<a href="../../../reference/android/text/method/package-summary.html">android.
text.method</a></li>
<li class="api apilevel-1">
<a href="../../../reference/android/text/style/package-summary.html">android.t
ext.style</a></li>
<li class="api apilevel-1">
<a href="../../../reference/android/text/util/package-summary.html">android.te
xt.util</a></li>
<li class="api apilevel-19">
<a href="../../../reference/android/transition/package-summary.html">android.t
ransition</a></li>
<li class="api apilevel-1">
<a href="../../../reference/android/util/package-summary.html">android.util</a
></li>
<li class="api apilevel-1">
<a href="../../../reference/android/view/package-summary.html">android.view</a
></li>
<li class="api apilevel-4">
<a href="../../../reference/android/view/accessibility/package-summary.html">a
ndroid.view.accessibility</a></li>
<li class="api apilevel-1">
<a href="../../../reference/android/view/animation/package-summary.html">andro
id.view.animation</a></li>
<li class="api apilevel-3">
<a href="../../../reference/android/view/inputmethod/package-summary.html">and
roid.view.inputmethod</a></li>
<li class="api apilevel-14">
<a href="../../../reference/android/view/textservice/package-summary.html">and
roid.view.textservice</a></li>
<li class="api apilevel-1">
<a href="../../../reference/android/webkit/package-summary.html">android.webki
t</a></li>
<li class="api apilevel-1">
<a href="../../../reference/android/widget/package-summary.html">android.widge
t</a></li>
<li class="api apilevel-">
<a href="../../../reference/com/android/internal/backup/package-summary.html">
com.android.internal.backup</a></li>
<li class="api apilevel-">
<a href="../../../reference/com/android/internal/logging/package-summary.html"
>com.android.internal.logging</a></li>
<li class="api apilevel-">
<a href="../../../reference/com/android/internal/os/package-summary.html">com.
android.internal.os</a></li>
<li class="api apilevel-">
<a href="../../../reference/com/android/internal/statusbar/package-summary.htm
l">com.android.internal.statusbar</a></li>
<li class="api apilevel-">
<a href="../../../reference/com/android/internal/widget/package-summary.html">
com.android.internal.widget</a></li>
<li class="api apilevel-">
<a href="../../../reference/com/android/test/runner/package-summary.html">com.
android.test.runner</a></li>
<li class="api apilevel-1">
<a href="../../../reference/dalvik/annotation/package-summary.html">dalvik.ann
otation</a></li>
<li class="api apilevel-1">
<a href="../../../reference/dalvik/bytecode/package-summary.html">dalvik.bytec
ode</a></li>
<li class="api apilevel-1">
<a href="../../../reference/dalvik/system/package-summary.html">dalvik.system<
/a></li>
<li class="api apilevel-1">
<a href="../../../reference/java/awt/font/package-summary.html">java.awt.font<
/a></li>
<li class="api apilevel-3">
<a href="../../../reference/java/beans/package-summary.html">java.beans</a></l
i>
<li class="api apilevel-1">
<a href="../../../reference/java/io/package-summary.html">java.io</a></li>
<li class="api apilevel-1">
<a href="../../../reference/java/lang/package-summary.html">java.lang</a></li>
<li class="api apilevel-1">
<a href="../../../reference/java/lang/annotation/package-summary.html">java.la
ng.annotation</a></li>
<li class="api apilevel-1">
<a href="../../../reference/java/lang/ref/package-summary.html">java.lang.ref<
/a></li>
<li class="api apilevel-1">
<a href="../../../reference/java/lang/reflect/package-summary.html">java.lang.
reflect</a></li>
<li class="api apilevel-1">
<a href="../../../reference/java/math/package-summary.html">java.math</a></li>
<li class="api apilevel-1">
<a href="../../../reference/java/net/package-summary.html">java.net</a></li>
<li class="api apilevel-1">
<a href="../../../reference/java/nio/package-summary.html">java.nio</a></li>
<li class="api apilevel-1">
<a href="../../../reference/java/nio/channels/package-summary.html">java.nio.c
hannels</a></li>
<li class="api apilevel-1">
<a href="../../../reference/java/nio/channels/spi/package-summary.html">java.n
io.channels.spi</a></li>
<li class="api apilevel-1">
<a href="../../../reference/java/nio/charset/package-summary.html">java.nio.ch
arset</a></li>
<li class="api apilevel-1">
<a href="../../../reference/java/nio/charset/spi/package-summary.html">java.ni
o.charset.spi</a></li>
<li class="api apilevel-1">
<a href="../../../reference/java/security/package-summary.html">java.security<
/a></li>
<li class="api apilevel-1">
<a href="../../../reference/java/security/acl/package-summary.html">java.secur
ity.acl</a></li>
<a href="../../../reference/javax/security/auth/package-summary.html">javax.se
curity.auth</a></li>
<li class="api apilevel-1">
<a href="../../../reference/javax/security/auth/callback/package-summary.html"
>javax.security.auth.callback</a></li>
<li class="api apilevel-1">
<a href="../../../reference/javax/security/auth/login/package-summary.html">ja
vax.security.auth.login</a></li>
<li class="api apilevel-1">
<a href="../../../reference/javax/security/auth/x500/package-summary.html">jav
ax.security.auth.x500</a></li>
<li class="api apilevel-1">
<a href="../../../reference/javax/security/cert/package-summary.html">javax.se
curity.cert</a></li>
<li class="api apilevel-1">
<a href="../../../reference/javax/sql/package-summary.html">javax.sql</a></li>
<li class="api apilevel-1">
<a href="../../../reference/javax/xml/package-summary.html">javax.xml</a></li>
<li class="api apilevel-8">
<a href="../../../reference/javax/xml/datatype/package-summary.html">javax.xml
.datatype</a></li>
<li class="api apilevel-8">
<a href="../../../reference/javax/xml/namespace/package-summary.html">javax.xm
l.namespace</a></li>
<li class="api apilevel-1">
<a href="../../../reference/javax/xml/parsers/package-summary.html">javax.xml.
parsers</a></li>
<li class="api apilevel-8">
<a href="../../../reference/javax/xml/transform/package-summary.html">javax.xm
l.transform</a></li>
<li class="api apilevel-8">
<a href="../../../reference/javax/xml/transform/dom/package-summary.html">java
x.xml.transform.dom</a></li>
<li class="api apilevel-8">
<a href="../../../reference/javax/xml/transform/sax/package-summary.html">java
x.xml.transform.sax</a></li>
<li class="api apilevel-8">
<a href="../../../reference/javax/xml/transform/stream/package-summary.html">j
avax.xml.transform.stream</a></li>
<li class="api apilevel-8">
<a href="../../../reference/javax/xml/validation/package-summary.html">javax.x
ml.validation</a></li>
<li class="api apilevel-8">
<a href="../../../reference/javax/xml/xpath/package-summary.html">javax.xml.xp
ath</a></li>
<li class="api apilevel-1">
<a href="../../../reference/junit/framework/package-summary.html">junit.framew
ork</a></li>
<li class="api apilevel-1">
<a href="../../../reference/junit/runner/package-summary.html">junit.runner</a
></li>
<li class="api apilevel-1">
<a href="../../../reference/org/apache/http/conn/package-summary.html">org.apa
che.http.conn</a></li>
<li class="api apilevel-1">
<a href="../../../reference/org/apache/http/conn/scheme/package-summary.html">
org.apache.http.conn.scheme</a></li>
<li class="api apilevel-1">
<a href="../../../reference/org/apache/http/conn/ssl/package-summary.html">org
.apache.http.conn.ssl</a></li>
<ul>
<li><h2>Interfaces</h2>
<ul>
<li class="api apilevel-3"><a href="../../../reference/android/inputme
thodservice/KeyboardView.OnKeyboardActionListener.html">KeyboardView.OnKeyboardA
ctionListener</a></li>
</ul>
</li>
<li><h2>Classes</h2>
<ul>
<li class="api apilevel-3"><a href="../../../reference/android/inputme
thodservice/AbstractInputMethodService.html">AbstractInputMethodService</a></li>
<li class="api apilevel-3"><a href="../../../reference/android/inputme
thodservice/AbstractInputMethodService.AbstractInputMethodImpl.html">AbstractInp
utMethodService.AbstractInputMethodImpl</a></li>
<li class="api apilevel-3"><a href="../../../reference/android/inputme
thodservice/AbstractInputMethodService.AbstractInputMethodSessionImpl.html">Abst
ractInputMethodService.AbstractInputMethodSessionImpl</a></li>
<li class="api apilevel-3"><a href="../../../reference/android/inputme
thodservice/ExtractEditText.html">ExtractEditText</a></li>
<li class="selected api apilevel-3"><a href="../../../reference/androi
d/inputmethodservice/InputMethodService.html">InputMethodService</a></li>
<li class="api apilevel-3"><a href="../../../reference/android/inputme
thodservice/InputMethodService.InputMethodImpl.html">InputMethodService.InputMet
hodImpl</a></li>
<li class="api apilevel-3"><a href="../../../reference/android/inputme
thodservice/InputMethodService.InputMethodSessionImpl.html">InputMethodService.I
nputMethodSessionImpl</a></li>
<li class="api apilevel-3"><a href="../../../reference/android/inputme
thodservice/InputMethodService.Insets.html">InputMethodService.Insets</a></li>
<li class="api apilevel-3"><a href="../../../reference/android/inputme
thodservice/Keyboard.html">Keyboard</a></li>
<li class="api apilevel-3"><a href="../../../reference/android/inputme
thodservice/Keyboard.Key.html">Keyboard.Key</a></li>
<li class="api apilevel-3"><a href="../../../reference/android/inputme
thodservice/Keyboard.Row.html">Keyboard.Row</a></li>
<li class="api apilevel-3"><a href="../../../reference/android/inputme
thodservice/KeyboardView.html">KeyboardView</a></li>
</ul>
</li>
</ul><br/>
</div><!-- end classes -->
</div><!-- end nav-panels -->
<div id="nav-tree" style="display:none" class="scroll-pane">
<div id="tree-list"></div>
</div><!-- end nav-tree -->
</div><!-- end swapper -->
<div id="nav-swap">
<a class="fullscreen">fullscreen</a>
<a href='#' onclick='swapNav();return false;'><span id='tree-link'>Use Tre
e Navigation</span><span id='panel-link' style='display:none'>Use Panel Navigati
on</span></a>
</div>
</div> <!-- end devdoc-nav -->
</div> <!-- end side-nav -->
<script type="text/javascript">
// init fullscreen based on user pref
var fullscreen = readCookie("fullscreen");
if (fullscreen != 0) {
if (fullscreen == "false") {
toggleFullscreen(false);
} else {
toggleFullscreen(true);
}
}
// init nav version for mobile
if (isMobile) {
swapNav(); // tree view should be used on mobile
$('#nav-swap').hide();
} else {
chooseDefaultNav();
if ($("#nav-tree").is(':visible')) {
init_default_navtree("../../../");
}
}
// scroll the selected page into view
$(document).ready(function() {
scrollIntoView("packages-nav");
scrollIntoView("classes-nav");
});
</script>
<div class="sum-details-links">
Summary:
<a href="#nestedclasses">Nested Classes</a>
<div class="api-level">
Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLeve
ls">API level 3</a>
</div>
</div><!-- end api-info-block -->
<!-- ======== START OF CLASS DATA ======== -->
<div id="jd-header">
public
class
<h1 itemprop="name">InputMethodService</h1>
<tr>
<td colspan="6" class="jd-inheritance-class-cell"><a href="../../../refe
rence/java/lang/Object.html">java.lang.Object</a></td>
</tr>
<tr>
<td class="jd-inheritance-space"> ↳</td>
<td colspan="5" class="jd-inheritance-class-cell"><a href="../../../refe
rence/android/content/Context.html">android.content.Context</a></td>
</tr>
<tr>
<td class="jd-inheritance-space"> </td>
<td class="jd-inheritance-space"> ↳</td>
<td colspan="4" class="jd-inheritance-class-cell"><a href="../../../refe
rence/android/content/ContextWrapper.html">android.content.ContextWrapper</a></t
d>
</tr>
<tr>
<td class="jd-inheritance-space"> </td>
<td class="jd-inheritance-space"> </td>
<td class="jd-inheritance-space"> ↳</td>
<td colspan="3" class="jd-inheritance-class-cell"><a href="../../../refe
rence/android/app/Service.html">android.app.Service</a></td>
</tr>
<tr>
<td class="jd-inheritance-space"> </td>
<td class="jd-inheritance-space"> </td>
<td class="jd-inheritance-space"> </td>
<td class="jd-inheritance-space"> ↳</td>
<td colspan="2" class="jd-inheritance-class-cell"><a href="../../../refe
rence/android/inputmethodservice/AbstractInputMethodService.html">android.inputm
ethodservice.AbstractInputMethodService</a></td>
</tr>
<tr>
<td class="jd-inheritance-space"> </td>
<td class="jd-inheritance-space"> </td>
<td class="jd-inheritance-space"> </td>
<td class="jd-inheritance-space"> </td>
<td class="jd-inheritance-space"> ↳</td>
<td colspan="1" class="jd-inheritance-class-cell">android.inputmethodser
vice.InputMethodService</td>
</tr>
</table>
<div class="jd-descr">
<h2>Class Overview</h2>
<p itemprop="articleBody">InputMethodService provides a standard implementation
of an InputMethod,
which final implementations can derive from and customize. See the
base class <code><a href="../../../reference/android/inputmethodservice/Abstrac
tInputMethodService.html">AbstractInputMethodService</a></code> and the <code><a
href="../../../reference/android/view/inputmethod/InputMethod.html">InputMethod
</a></code>
interface for more information on the basics of writing input methods.
<p>In addition to the normal Service lifecycle methods, this class
introduces some new specific callbacks that most subclasses will want
to make use of:</p>
<ul>
<li> <code><a href="../../../reference/android/inputmethodservice/InputMethodSe
rvice.html#onInitializeInterface()">onInitializeInterface()</a></code> for userinterface initialization,
in particular to deal with configuration changes while the service is
running.
<li> <code><a href="../../../reference/android/inputmethodservice/InputMethodSe
rvice.html#onBindInput()">onBindInput()</a></code> to find out about switching t
o a new client.
<li> <code><a href="../../../reference/android/inputmethodservice/InputMethodSe
rvice.html#onStartInput(android.view.inputmethod.EditorInfo, boolean)">onStartIn
put(EditorInfo, boolean)</a></code> to deal with an input session starting with
the client.
<li> <code><a href="../../../reference/android/inputmethodservice/InputMethodSe
rvice.html#onCreateInputView()">onCreateInputView()</a></code>, <code><a href=".
./../../reference/android/inputmethodservice/InputMethodService.html#onCreateCan
didatesView()">onCreateCandidatesView()</a></code>,
and <code><a href="../../../reference/android/inputmethodservice/InputMethodSer
vice.html#onCreateExtractTextView()">onCreateExtractTextView()</a></code> for no
n-demand generation of the UI.
methods.</p>
<a name="CandidatesView"></a>
<h3>Candidates View</h3>
<p>Often while the user is generating raw text, an input method wants to
provide them with a list of possible interpretations of that text that can
be selected for use. This is accomplished with the candidates view, and
like the soft input view you implement <code><a href="../../../reference/androi
d/inputmethodservice/InputMethodService.html#onCreateCandidatesView()">onCreateC
andidatesView()</a></code>
to instantiate your own view implementing your candidates UI.</p>
<p>Management of the candidates view is a little different than the input
view, because the candidates view tends to be more transient, being shown
only when there are possible candidates for the current text being entered
by the user. To control whether the candidates view is shown, you use
<code><a href="../../../reference/android/inputmethodservice/InputMethodService
.html#setCandidatesViewShown(boolean)">setCandidatesViewShown(boolean)</a></code
>. Note that because the candidate
view tends to be shown and hidden a lot, it does not impact the application
UI in the same way as the soft input view: it will never cause application
windows to resize, only cause them to be panned if needed for the user to
see the current focus.</p>
<a name="FullscreenMode"></a>
<h3>Fullscreen Mode</h3>
<p>Sometimes your input method UI is too large to integrate with the
application UI, so you just want to take over the screen. This is
accomplished by switching to full-screen mode, causing the input method
window to fill the entire screen and add its own "extracted text" editor
showing the user the text that is being typed. Unlike the other UI elements,
there is a standard implementation for the extract editor that you should
not need to change. The editor is placed at the top of the IME, above the
input and candidates views.</p>
<p>Similar to the input view, you control whether the IME is running in
fullscreen mode by implementing <code><a href="../../../reference/android/input
methodservice/InputMethodService.html#onEvaluateFullscreenMode()">onEvaluateFull
screenMode()</a></code>
to return true or false based on
whether it should be fullscreen in the current environment. If any of your
state has changed that may impact this, call
<code><a href="../../../reference/android/inputmethodservice/InputMethodService
.html#updateFullscreenMode()">updateFullscreenMode()</a></code> to have it re-ev
aluated. The default
implementation selects fullscreen mode when the screen is in a landscape
orientation, which is appropriate behavior for most input methods that have
a significant input area.</p>
<p>When in fullscreen mode, you have some special requirements because the
user can not see the application UI. In particular, you should implement
<code><a href="../../../reference/android/inputmethodservice/InputMethodService
.html#onDisplayCompletions(android.view.inputmethod.CompletionInfo[])">onDisplay
Completions(CompletionInfo[])</a></code> to show completions
generated by your application, typically in your candidates view like you
would normally show candidates.
<a name="GeneratingText"></a>
<h3>Generating Text</h3>
<p>The key part of an IME is of course generating text for the application.
This is done through calls to the
<code><a href="../../../reference/android/view/inputmethod/InputConnection.html
">InputConnection</a></code> interface to the
application, which can be retrieved from <code><a href="../../../reference/andr
oid/inputmethodservice/InputMethodService.html#getCurrentInputConnection()">getC
urrentInputConnection()</a></code>.
This interface allows you to generate raw key events or, if the target
supports it, directly edit in strings of candidates and committed text.</p>
<p>Information about what the target is expected and supports can be found
through the <code><a href="../../../reference/android/view/inputmethod/EditorIn
fo.html">EditorInfo</a></code> class, which is
retrieved with <code><a href="../../../reference/android/inputmethodservice/Inp
utMethodService.html#getCurrentInputEditorInfo()">getCurrentInputEditorInfo()</a
></code> method. The most
important part of this is <code><a href="../../../reference/android/view/inputm
ethod/EditorInfo.html#inputType">EditorInfo.inputType</a></code>; in particular,
if this is
<code><a href="../../../reference/android/text/InputType.html#TYPE_NULL">Editor
Info.TYPE_NULL</a></code>,
then the target does not support complex edits and you need to only deliver
raw key events to it. An input method will also want to look at other
values here, to for example detect password mode, auto complete text views,
phone number entry, etc.</p>
<p>When the user switches between input targets, you will receive calls to
<code><a href="../../../reference/android/inputmethodservice/InputMethodService
.html#onFinishInput()">onFinishInput()</a></code> and <code><a href="../../../re
ference/android/inputmethodservice/InputMethodService.html#onStartInput(android.
view.inputmethod.EditorInfo, boolean)">onStartInput(EditorInfo, boolean)</a></co
de>.
You can use these to reset and initialize your input state for the current
target. For example, you will often want to clear any input state, and
update a soft keyboard to be appropriate for the new inputType.</p></p>
<div class="jd-descr">
<h2>Summary</h2>
class</nobr></td>
<td class="jd-linkcol"><a href="../../../reference/android/inputmethodserv
ice/InputMethodService.InputMethodImpl.html">InputMethodService.InputMethodImpl<
/a></td>
<td class="jd-descrcol" width="100%">
Concrete implementation of
<code><a href="../../../reference/android/inputmethodservice/AbstractInputMetho
dService.AbstractInputMethodImpl.html">AbstractInputMethodService.AbstractInputM
ethodImpl</a></code> that provides
all of the standard behavior for an input method.
</td>
</tr>
<tr class=" api apilevel-3" >
<td class="jd-typecol"><nobr>
class</nobr></td>
<td class="jd-linkcol"><a href="../../../reference/android/inputmethodserv
ice/InputMethodService.InputMethodSessionImpl.html">InputMethodService.InputMeth
odSessionImpl</a></td>
<td class="jd-descrcol" width="100%">
Concrete implementation of
<code><a href="../../../reference/android/inputmethodservice/AbstractInputMetho
dService.AbstractInputMethodSessionImpl.html">AbstractInputMethodService.Abstrac
tInputMethodSessionImpl</a></code> that provides
all of the standard behavior for an input method session.
</td>
</tr>
class</nobr></td>
<td class="jd-linkcol"><a href="../../../reference/android/inputmethodserv
ice/InputMethodService.Insets.html">InputMethodService.Insets</a></td>
<td class="jd-descrcol" width="100%">
Information about where interesting parts of the input method UI appear.
</td>
</tr>
</td>
</tr>
<tr class=" api apilevel-" >
<td class="jd-linkcol"><a href="../../../reference/android/inputmethodse
rvice/InputMethodService.html#attr_android:imeExtractExitAnimation">android:imeE
xtractExitAnimation</a></td>
<td class="jd-linkcol">
</td>
<td class="jd-descrcol" width="100%">
Animation to use when hiding the fullscreen extract UI after
</td>
</tr>
<tr class="alt-color api apilevel-" >
<td class="jd-linkcol"><a href="../../../reference/android/inputmethodse
rvice/InputMethodService.html#attr_android:imeFullscreenBackground">android:imeF
ullscreenBackground</a></td>
<td class="jd-linkcol">
</td>
<td class="jd-descrcol" width="100%">
Background to use for entire input method when it is being
shown in fullscreen mode with the extract view, to ensure
that it completely covers the application.
</td>
</tr>
</td>
</tr>
<tr class=" api apilevel-11" >
<td class="jd-typecol">int</td>
<td class="jd-linkcol"><a href="../../../reference/android/inputmethodse
rvice/InputMethodService.html#BACK_DISPOSITION_WILL_DISMISS">BACK_DISPOSITION_WI
LL_DISMISS</a></td>
</td>
</tr>
<tr class="alt-color api apilevel-11" >
<td class="jd-typecol">int</td>
<td class="jd-linkcol"><a href="../../../reference/android/inputmethodse
rvice/InputMethodService.html#BACK_DISPOSITION_WILL_NOT_DISMISS">BACK_DISPOSITIO
N_WILL_NOT_DISMISS</a></td>
<td class="jd-descrcol" width="100%">
This input method will not consume the back key.
</td>
</tr>
</table>
</td>
</tr>
<tr class=" api apilevel-5" >
<td class="jd-typecol">int</td>
<td class="jd-linkcol"><a href="../../../reference/android/app/Service.h
tml#START_FLAG_REDELIVERY">START_FLAG_REDELIVERY</a></td>
<td class="jd-descrcol" width="100%">
This flag is set in <code><a href="../../../reference/android/app/Serv
ice.html#onStartCommand(android.content.Intent, int, int)">onStartCommand(Intent
, int, int)</a></code> if the Intent is a
re-delivery of a previously delivered intent, because the service
had previously returned <code><a href="../../../reference/android/app/Service.h
tml#START_REDELIVER_INTENT">START_REDELIVER_INTENT</a></code> but had been
killed before calling <code><a href="../../../reference/android/app/Service.htm
l#stopSelf(int)">stopSelf(int)</a></code> for that Intent.
</td>
</tr>
<tr class="alt-color api apilevel-5" >
<td class="jd-typecol">int</td>
<td class="jd-linkcol"><a href="../../../reference/android/app/Service.h
tml#START_FLAG_RETRY">START_FLAG_RETRY</a></td>
<td class="jd-descrcol" width="100%">
This flag is set in <code><a href="../../../reference/android/app/Serv
ice.html#onStartCommand(android.content.Intent, int, int)">onStartCommand(Intent
, int, int)</a></code> if the Intent is a
retry because the original attempt never got to or returned from
<code><a href="../../../reference/android/app/Service.html#onStartCommand(andro
id.content.Intent, int, int)">onStartCommand(Intent, int, int)</a></code>.
</td>
</tr>
<tr class=" api apilevel-5" >
<td class="jd-typecol">int</td>
<td class="jd-linkcol"><a href="../../../reference/android/app/Service.h
tml#START_NOT_STICKY">START_NOT_STICKY</a></td>
<td class="jd-descrcol" width="100%">
Constant to return from <code><a href="../../../reference/android/app/
Service.html#onStartCommand(android.content.Intent, int, int)">onStartCommand(In
tent, int, int)</a></code>: if this service's
</td>
</tr>
<tr class="alt-color api apilevel-5" >
<td class="jd-typecol">int</td>
<td class="jd-linkcol"><a href="../../../reference/android/app/Service.h
tml#START_REDELIVER_INTENT">START_REDELIVER_INTENT</a></td>
<td class="jd-descrcol" width="100%">
Constant to return from <code><a href="../../../reference/android/app/
Service.html#onStartCommand(android.content.Intent, int, int)">onStartCommand(In
tent, int, int)</a></code>: if this service's
process is killed while it is started (after returning from
<code><a href="../../../reference/android/app/Service.html#onStartCommand(andro
id.content.Intent, int, int)">onStartCommand(Intent, int, int)</a></code>), then
it will be scheduled for a restart
and the last delivered Intent re-delivered to it again via
<code><a href="../../../reference/android/app/Service.html#onStartCommand(andro
id.content.Intent, int, int)">onStartCommand(Intent, int, int)</a></code>.
</td>
</tr>
<tr class=" api apilevel-5" >
<td class="jd-typecol">int</td>
<td class="jd-linkcol"><a href="../../../reference/android/app/Service.h
tml#START_STICKY">START_STICKY</a></td>
<td class="jd-descrcol" width="100%">
Constant to return from <code><a href="../../../reference/android/app/
Service.html#onStartCommand(android.content.Intent, int, int)">onStartCommand(In
tent, int, int)</a></code>: if this service's
process is killed while it is started (after returning from
<code><a href="../../../reference/android/app/Service.html#onStartCommand(andro
id.content.Intent, int, int)">onStartCommand(Intent, int, int)</a></code>), then
leave it in the started state but
don't retain this delivered intent.
</td>
</tr>
<tr class="alt-color api apilevel-5" >
<td class="jd-typecol">int</td>
<td class="jd-linkcol"><a href="../../../reference/android/app/Service.h
tml#START_STICKY_COMPATIBILITY">START_STICKY_COMPATIBILITY</a></td>
<td class="jd-descrcol" width="100%">
Constant to return from <code><a href="../../../reference/android/app/
Service.html#onStartCommand(android.content.Intent, int, int)">onStartCommand(In
tent, int, int)</a></code>: compatibility
version of <code><a href="../../../reference/android/app/Service.html#START_STI
CKY">START_STICKY</a></code> that does not guarantee that
<code><a href="../../../reference/android/app/Service.html#onStartCommand(andro
id.content.Intent, int, int)">onStartCommand(Intent, int, int)</a></code> will b
e called again after being killed.
</td>
</tr>
</table>
</div>
</div>
</td></tr>
</td>
</tr>
<tr class=" api apilevel-5" >
<td class="jd-typecol"><a href="../../../reference/java/lang/String.html
">String</a></td>
<td class="jd-linkcol"><a href="../../../reference/android/content/Conte
xt.html#ACCOUNT_SERVICE">ACCOUNT_SERVICE</a></td>
<td class="jd-descrcol" width="100%">
Use with <code><a href="../../../reference/android/content/Context.htm
l#getSystemService(java.lang.Class<T>)">getSystemService(Class<T>)</a></code> to
retrieve a
<code><a href="../../../reference/android/accounts/AccountManager.html">Account
Manager</a></code> for receiving intents at a
time of your choosing.
</td>
</tr>
<tr class="alt-color api apilevel-1" >
<td class="jd-typecol"><a href="../../../reference/java/lang/String.html
">String</a></td>
<td class="jd-linkcol"><a href="../../../reference/android/content/Conte
xt.html#ACTIVITY_SERVICE">ACTIVITY_SERVICE</a></td>
<td class="jd-descrcol" width="100%">
Use with <code><a href="../../../reference/android/content/Context.htm
l#getSystemService(java.lang.Class<T>)">getSystemService(Class<T>)</a></code> to
retrieve a
<code><a href="../../../reference/android/app/ActivityManager.html">ActivityMan
ager</a></code> for interacting with the global
system state.
</td>
</tr>
<tr class=" api apilevel-1" >
<td class="jd-typecol"><a href="../../../reference/java/lang/String.html
">String</a></td>
<td class="jd-linkcol"><a href="../../../reference/android/content/Conte
xt.html#ALARM_SERVICE">ALARM_SERVICE</a></td>
<td class="jd-descrcol" width="100%">
Use with <code><a href="../../../reference/android/content/Context.htm
l#getSystemService(java.lang.Class<T>)">getSystemService(Class<T>)</a></code> to
retrieve a
<code><a href="../../../reference/android/app/AlarmManager.html">AlarmManager</
a></code> for receiving intents at a
time of your choosing.
</td>
</tr>
</td>
</tr>
<tr class=" api apilevel-19" >
<td class="jd-typecol"><a href="../../../reference/java/lang/String.html
">String</a></td>
<td class="jd-linkcol"><a href="../../../reference/android/content/Conte
xt.html#APP_OPS_SERVICE">APP_OPS_SERVICE</a></td>
<td class="jd-descrcol" width="100%">
Use with <code><a href="../../../reference/android/content/Context.htm
l#getSystemService(java.lang.Class<T>)">getSystemService(Class<T>)</a></code> to
retrieve a
<code><a href="../../../reference/android/app/AppOpsManager.html">AppOpsManager
</a></code> for tracking application operations
on the device.
</td>
</tr>
<tr class="alt-color api apilevel-1" >
<td class="jd-typecol"><a href="../../../reference/java/lang/String.html
">String</a></td>
<td class="jd-linkcol"><a href="../../../reference/android/content/Conte
xt.html#AUDIO_SERVICE">AUDIO_SERVICE</a></td>
<td class="jd-descrcol" width="100%">
Use with <code><a href="../../../reference/android/content/Context.htm
l#getSystemService(java.lang.Class<T>)">getSystemService(Class<T>)</a></code> to
retrieve a
<code><a href="../../../reference/android/media/AudioManager.html">AudioManager
</a></code> for handling management of volume,
ringer modes and audio routing.
</td>
</tr>
<tr class=" api apilevel-21" >
<td class="jd-typecol"><a href="../../../reference/java/lang/String.html
">String</a></td>
<td class="jd-linkcol"><a href="../../../reference/android/content/Conte
xt.html#BATTERY_SERVICE">BATTERY_SERVICE</a></td>
<td class="jd-descrcol" width="100%">
Use with <code><a href="../../../reference/android/content/Context.htm
l#getSystemService(java.lang.Class<T>)">getSystemService(Class<T>)</a></code> to
retrieve a
<code><a href="../../../reference/android/os/BatteryManager.html">BatteryManage
r</a></code> for managing battery state.
</td>
</tr>
<tr class="alt-color api apilevel-14" >
<td class="jd-typecol">int</td>
<td class="jd-linkcol"><a href="../../../reference/android/content/Conte
xt.html#BIND_ABOVE_CLIENT">BIND_ABOVE_CLIENT</a></td>
<td class="jd-descrcol" width="100%">
Flag for <code><a href="../../../reference/android/content/Context.htm
l#bindService(android.content.Intent, android.content.ServiceConnection, int)">b
indService(Intent, ServiceConnection, int)</a></code>: indicates that the client
application
binding to this service considers the service to be more important than
the app itself.
</td>
</tr>
<tr class=" api apilevel-14" >
<td class="jd-typecol">int</td>
<td class="jd-linkcol"><a href="../../../reference/android/content/Conte
xt.html#BIND_ADJUST_WITH_ACTIVITY">BIND_ADJUST_WITH_ACTIVITY</a></td>
<td class="jd-descrcol" width="100%">
Flag for <code><a href="../../../reference/android/content/Context.htm
l#bindService(android.content.Intent, android.content.ServiceConnection, int)">b
indService(Intent, ServiceConnection, int)</a></code>: If binding from an activi
ty, allow the
target service's process importance to be raised based on whether the
activity is visible to the user, regardless whether another flag is
used to reduce the amount that the client process's overall importance
is used to impact it.
</td>
</tr>
<tr class="alt-color api apilevel-14" >
<td class="jd-typecol">int</td>
<td class="jd-linkcol"><a href="../../../reference/android/content/Conte
xt.html#BIND_ALLOW_OOM_MANAGEMENT">BIND_ALLOW_OOM_MANAGEMENT</a></td>
<td class="jd-descrcol" width="100%">
Flag for <code><a href="../../../reference/android/content/Context.htm
</td>
</tr>
<tr class=" api apilevel-1" >
<td class="jd-typecol">int</td>
<td class="jd-linkcol"><a href="../../../reference/android/content/Conte
xt.html#BIND_AUTO_CREATE">BIND_AUTO_CREATE</a></td>
<td class="jd-descrcol" width="100%">
Flag for <code><a href="../../../reference/android/content/Context.htm
l#bindService(android.content.Intent, android.content.ServiceConnection, int)">b
indService(Intent, ServiceConnection, int)</a></code>: automatically create the
service as long
as the binding exists.
</td>
</tr>
<tr class="alt-color api apilevel-1" >
<td class="jd-typecol">int</td>
<td class="jd-linkcol"><a href="../../../reference/android/content/Conte
xt.html#BIND_DEBUG_UNBIND">BIND_DEBUG_UNBIND</a></td>
<td class="jd-descrcol" width="100%">
Flag for <code><a href="../../../reference/android/content/Context.htm
l#bindService(android.content.Intent, android.content.ServiceConnection, int)">b
indService(Intent, ServiceConnection, int)</a></code>: include debugging help fo
r mismatched
calls to unbind.
</td>
</tr>
<tr class=" api apilevel-14" >
<td class="jd-typecol">int</td>
<td class="jd-linkcol"><a href="../../../reference/android/content/Conte
xt.html#BIND_IMPORTANT">BIND_IMPORTANT</a></td>
<td class="jd-descrcol" width="100%">
Flag for <code><a href="../../../reference/android/content/Context.htm
l#bindService(android.content.Intent, android.content.ServiceConnection, int)">b
indService(Intent, ServiceConnection, int)</a></code>: this service is very impo
rtant to
the client, so should be brought to the foreground process level
when the client is.
</td>
</tr>
<tr class="alt-color api apilevel-8" >
<td class="jd-typecol">int</td>
<td class="jd-linkcol"><a href="../../../reference/android/content/Conte
xt.html#BIND_NOT_FOREGROUND">BIND_NOT_FOREGROUND</a></td>
<td class="jd-descrcol" width="100%">
Flag for <code><a href="../../../reference/android/content/Context.htm
l#bindService(android.content.Intent, android.content.ServiceConnection, int)">b
indService(Intent, ServiceConnection, int)</a></code>: don't allow this binding
to raise
the target service's process to the foreground scheduling priority.
</td>
</tr>
<tr class=" api apilevel-14" >
<td class="jd-typecol">int</td>
<td class="jd-linkcol"><a href="../../../reference/android/content/Conte
xt.html#BIND_WAIVE_PRIORITY">BIND_WAIVE_PRIORITY</a></td>
<td class="jd-descrcol" width="100%">
Flag for <code><a href="../../../reference/android/content/Context.htm
l#bindService(android.content.Intent, android.content.ServiceConnection, int)">b
indService(Intent, ServiceConnection, int)</a></code>: don't impact the scheduli
ng or
memory management priority of the target service's hosting process.
</td>
</tr>
<tr class="alt-color api apilevel-18" >
<td class="jd-typecol"><a href="../../../reference/java/lang/String.html
">String</a></td>
<td class="jd-linkcol"><a href="../../../reference/android/content/Conte
xt.html#BLUETOOTH_SERVICE">BLUETOOTH_SERVICE</a></td>
<td class="jd-descrcol" width="100%">
Use with <code><a href="../../../reference/android/content/Context.htm
l#getSystemService(java.lang.Class<T>)">getSystemService(Class<T>)</a></code> to
retrieve a
<code><a href="../../../reference/android/bluetooth/BluetoothManager.html">Blue
toothManager</a></code> for using Bluetooth.
</td>
</tr>
<tr class=" api apilevel-21" >
<td class="jd-typecol"><a href="../../../reference/java/lang/String.html
">String</a></td>
<td class="jd-linkcol"><a href="../../../reference/android/content/Conte
xt.html#CAMERA_SERVICE">CAMERA_SERVICE</a></td>
</td>
</tr>
<tr class="alt-color api apilevel-19" >
<td class="jd-typecol"><a href="../../../reference/java/lang/String.html
">String</a></td>
<td class="jd-linkcol"><a href="../../../reference/android/content/Conte
xt.html#CAPTIONING_SERVICE">CAPTIONING_SERVICE</a></td>
<td class="jd-descrcol" width="100%">
Use with <code><a href="../../../reference/android/content/Context.htm
l#getSystemService(java.lang.Class<T>)">getSystemService(Class<T>)</a></code> to
retrieve a
<code><a href="../../../reference/android/view/accessibility/CaptioningManager.
html">CaptioningManager</a></code> for obtaining
captioning properties and listening for changes in captioning
preferences.
</td>
</tr>
<tr class=" api apilevel-23" >
<td class="jd-typecol"><a href="../../../reference/java/lang/String.html
">String</a></td>
<td class="jd-linkcol"><a href="../../../reference/android/content/Conte
xt.html#CARRIER_CONFIG_SERVICE">CARRIER_CONFIG_SERVICE</a></td>
<td class="jd-descrcol" width="100%">
Use with <code><a href="../../../reference/android/content/Context.htm
l#getSystemService(java.lang.Class<T>)">getSystemService(Class<T>)</a></code> to
retrieve a
<code><a href="../../../reference/android/telephony/CarrierConfigManager.html">
CarrierConfigManager</a></code> for reading carrier configuration values.
</td>
</tr>
<tr class="alt-color api apilevel-1" >
<td class="jd-typecol"><a href="../../../reference/java/lang/String.html
">String</a></td>
<td class="jd-linkcol"><a href="../../../reference/android/content/Conte
xt.html#CLIPBOARD_SERVICE">CLIPBOARD_SERVICE</a></td>
<td class="jd-descrcol" width="100%">
Use with <code><a href="../../../reference/android/content/Context.htm
l#getSystemService(java.lang.Class<T>)">getSystemService(Class<T>)</a></code> to
retrieve a
<code><a href="../../../reference/android/text/ClipboardManager.html">Clipboard
Manager</a></code> for accessing and modifying
<code><a href="../../../reference/android/content/ClipboardManager.html">Clipbo
ardManager</a></code> for accessing and modifying
the contents of the global clipboard.
</td>
</tr>
<tr class=" api apilevel-1" >
<td class="jd-typecol"><a href="../../../reference/java/lang/String.html
">String</a></td>
<td class="jd-linkcol"><a href="../../../reference/android/content/Conte
xt.html#CONNECTIVITY_SERVICE">CONNECTIVITY_SERVICE</a></td>
<td class="jd-descrcol" width="100%">
Use with <code><a href="../../../reference/android/content/Context.htm
l#getSystemService(java.lang.Class<T>)">getSystemService(Class<T>)</a></code> to
retrieve a <code><a href="../../../reference/android/net/ConnectivityManager.ht
ml">ConnectivityManager</a></code> for handling management of
network connections.
</td>
</tr>
<tr class="alt-color api apilevel-19" >
<td class="jd-typecol"><a href="../../../reference/java/lang/String.html
">String</a></td>
<td class="jd-linkcol"><a href="../../../reference/android/content/Conte
xt.html#CONSUMER_IR_SERVICE">CONSUMER_IR_SERVICE</a></td>
<td class="jd-descrcol" width="100%">
Use with <code><a href="../../../reference/android/content/Context.htm
l#getSystemService(java.lang.Class<T>)">getSystemService(Class<T>)</a></code> to
retrieve a
<code><a href="../../../reference/android/hardware/ConsumerIrManager.html">Cons
umerIrManager</a></code> for transmitting infrared
signals from the device.
</td>
</tr>
<tr class=" api apilevel-1" >
<td class="jd-typecol">int</td>
<td class="jd-linkcol"><a href="../../../reference/android/content/Conte
xt.html#CONTEXT_IGNORE_SECURITY">CONTEXT_IGNORE_SECURITY</a></td>
<td class="jd-descrcol" width="100%">
Flag for use with <code><a href="../../../reference/android/content/Co
ntext.html#createPackageContext(java.lang.String, int)">createPackageContext(Str
ing, int)</a></code>: ignore any security
restrictions on the Context being requested, allowing it to always
be loaded.
</td>
</tr>
<tr class="alt-color api apilevel-1" >
<td class="jd-typecol">int</td>
<td class="jd-linkcol"><a href="../../../reference/android/content/Conte
xt.html#CONTEXT_INCLUDE_CODE">CONTEXT_INCLUDE_CODE</a></td>
<td class="jd-descrcol" width="100%">
Flag for use with <code><a href="../../../reference/android/content/Co
ntext.html#createPackageContext(java.lang.String, int)">createPackageContext(Str
ing, int)</a></code>: include the application
code with the context.
</td>
</tr>
<tr class=" api apilevel-4" >
<td class="jd-typecol">int</td>
<td class="jd-linkcol"><a href="../../../reference/android/content/Conte
xt.html#CONTEXT_RESTRICTED">CONTEXT_RESTRICTED</a></td>
<td class="jd-descrcol" width="100%">
Flag for use with <code><a href="../../../reference/android/content/Co
ntext.html#createPackageContext(java.lang.String, int)">createPackageContext(Str
ing, int)</a></code>: a restricted context may
disable specific features.
</td>
</tr>
<tr class="alt-color api apilevel-8" >
<td class="jd-typecol"><a href="../../../reference/java/lang/String.html
">String</a></td>
<td class="jd-linkcol"><a href="../../../reference/android/content/Conte
xt.html#DEVICE_POLICY_SERVICE">DEVICE_POLICY_SERVICE</a></td>
<td class="jd-descrcol" width="100%">
Use with <code><a href="../../../reference/android/content/Context.htm
l#getSystemService(java.lang.Class<T>)">getSystemService(Class<T>)</a></code> to
retrieve a
<code><a href="../../../reference/android/app/admin/DevicePolicyManager.html">D
evicePolicyManager</a></code> for working with global
device policy management.
</td>
</tr>
<tr class=" api apilevel-17" >
<td class="jd-typecol"><a href="../../../reference/java/lang/String.html
">String</a></td>
<td class="jd-linkcol"><a href="../../../reference/android/content/Conte
xt.html#DISPLAY_SERVICE">DISPLAY_SERVICE</a></td>
<td class="jd-descrcol" width="100%">
Use with <code><a href="../../../reference/android/content/Context.htm
l#getSystemService(java.lang.Class<T>)">getSystemService(Class<T>)</a></code> to
retrieve a
<code><a href="../../../reference/android/hardware/display/DisplayManager.html"
>DisplayManager</a></code> for interacting with display devices.
</td>
</tr>
<tr class="alt-color api apilevel-9" >
<td class="jd-typecol"><a href="../../../reference/java/lang/String.html
">String</a></td>
<td class="jd-linkcol"><a href="../../../reference/android/content/Conte
xt.html#DOWNLOAD_SERVICE">DOWNLOAD_SERVICE</a></td>
<td class="jd-descrcol" width="100%">
Use with <code><a href="../../../reference/android/content/Context.htm
l#getSystemService(java.lang.Class<T>)">getSystemService(Class<T>)</a></code> to
retrieve a
<code><a href="../../../reference/android/app/DownloadManager.html">DownloadMan
ager</a></code> for requesting HTTP downloads.
</td>
</tr>
<tr class=" api apilevel-8" >
<td class="jd-typecol"><a href="../../../reference/java/lang/String.html
">String</a></td>
<td class="jd-linkcol"><a href="../../../reference/android/content/Conte
xt.html#DROPBOX_SERVICE">DROPBOX_SERVICE</a></td>
<td class="jd-descrcol" width="100%">
Use with <code><a href="../../../reference/android/content/Context.htm
l#getSystemService(java.lang.Class<T>)">getSystemService(Class<T>)</a></code> to
retrieve a
<code><a href="../../../reference/android/os/DropBoxManager.html">DropBoxManage
r</a></code> instance for recording
diagnostic logs.
</td>
</tr>
<tr class="alt-color api apilevel-23" >
<td class="jd-typecol"><a href="../../../reference/java/lang/String.html
">String</a></td>
<td class="jd-linkcol"><a href="../../../reference/android/content/Conte
xt.html#FINGERPRINT_SERVICE">FINGERPRINT_SERVICE</a></td>
<td class="jd-descrcol" width="100%">
Use with <code><a href="../../../reference/android/content/Context.htm
l#getSystemService(java.lang.Class<T>)">getSystemService(Class<T>)</a></code> to
retrieve a
<code><a href="../../../reference/android/hardware/fingerprint/FingerprintManag
er.html">FingerprintManager</a></code> for handling management
of fingerprints.
</td>
</tr>
<tr class=" api apilevel-3" >
<td class="jd-typecol"><a href="../../../reference/java/lang/String.html
">String</a></td>
<td class="jd-linkcol"><a href="../../../reference/android/content/Conte
xt.html#INPUT_METHOD_SERVICE">INPUT_METHOD_SERVICE</a></td>
<td class="jd-descrcol" width="100%">
Use with <code><a href="../../../reference/android/content/Context.htm
l#getSystemService(java.lang.Class<T>)">getSystemService(Class<T>)</a></code> to
retrieve a
<code><a href="../../../reference/android/view/inputmethod/InputMethodManager.h
tml">InputMethodManager</a></code> for accessing input
methods.
</td>
</tr>
<tr class="alt-color api apilevel-16" >
<td class="jd-typecol"><a href="../../../reference/java/lang/String.html
">String</a></td>
<td class="jd-linkcol"><a href="../../../reference/android/content/Conte
xt.html#INPUT_SERVICE">INPUT_SERVICE</a></td>
<td class="jd-descrcol" width="100%">
Use with <code><a href="../../../reference/android/content/Context.htm
l#getSystemService(java.lang.Class<T>)">getSystemService(Class<T>)</a></code> to
retrieve a
<code><a href="../../../reference/android/hardware/input/InputManager.html">Inp
utManager</a></code> for interacting with input devices.
</td>
</tr>
<tr class=" api apilevel-21" >
<td class="jd-typecol"><a href="../../../reference/java/lang/String.html
">String</a></td>
<td class="jd-linkcol"><a href="../../../reference/android/content/Conte
xt.html#JOB_SCHEDULER_SERVICE">JOB_SCHEDULER_SERVICE</a></td>
<td class="jd-descrcol" width="100%">
Use with <code><a href="../../../reference/android/content/Context.htm
l#getSystemService(java.lang.Class<T>)">getSystemService(Class<T>)</a></code> to
retrieve a <code><a href="../../../reference/android/app/job/JobScheduler.html"
>JobScheduler</a></code> instance for managing occasional
background tasks.
</td>
</tr>
<tr class="alt-color api apilevel-1" >
<td class="jd-typecol"><a href="../../../reference/java/lang/String.html
">String</a></td>
<td class="jd-linkcol"><a href="../../../reference/android/content/Conte
xt.html#KEYGUARD_SERVICE">KEYGUARD_SERVICE</a></td>
<td class="jd-descrcol" width="100%">
Use with <code><a href="../../../reference/android/content/Context.htm
l#getSystemService(java.lang.Class<T>)">getSystemService(Class<T>)</a></code> to
retrieve a
<code><a href="../../../reference/android/app/NotificationManager.html">Notific
ationManager</a></code> for controlling keyguard.
</td>
</tr>
<tr class=" api apilevel-21" >
<td class="jd-typecol"><a href="../../../reference/java/lang/String.html
">String</a></td>
<td class="jd-linkcol"><a href="../../../reference/android/content/Conte
xt.html#LAUNCHER_APPS_SERVICE">LAUNCHER_APPS_SERVICE</a></td>
<td class="jd-descrcol" width="100%">
Use with <code><a href="../../../reference/android/content/Context.htm
l#getSystemService(java.lang.Class<T>)">getSystemService(Class<T>)</a></code> to
retrieve a
<code><a href="../../../reference/android/content/pm/LauncherApps.html">Launche
rApps</a></code> for querying and monitoring launchable apps across
profiles of a user.
</td>
</tr>
<tr class="alt-color api apilevel-1" >
<td class="jd-typecol"><a href="../../../reference/java/lang/String.html
">String</a></td>
<td class="jd-linkcol"><a href="../../../reference/android/content/Conte
xt.html#LAYOUT_INFLATER_SERVICE">LAYOUT_INFLATER_SERVICE</a></td>
<td class="jd-descrcol" width="100%">
Use with <code><a href="../../../reference/android/content/Context.htm
l#getSystemService(java.lang.Class<T>)">getSystemService(Class<T>)</a></code> to
retrieve a
<code><a href="../../../reference/android/view/LayoutInflater.html">LayoutInfla
ter</a></code> for inflating layout resources in this
context.
</td>
</tr>
<tr class=" api apilevel-1" >
<td class="jd-typecol"><a href="../../../reference/java/lang/String.html
">String</a></td>
<td class="jd-linkcol"><a href="../../../reference/android/content/Conte
xt.html#LOCATION_SERVICE">LOCATION_SERVICE</a></td>
<td class="jd-descrcol" width="100%">
Use with <code><a href="../../../reference/android/content/Context.htm
l#getSystemService(java.lang.Class<T>)">getSystemService(Class<T>)</a></code> to
retrieve a <code><a href="../../../reference/android/location/LocationManager.h
tml">LocationManager</a></code> for controlling location
updates.
</td>
</tr>
<tr class="alt-color api apilevel-21" >
<td class="jd-typecol"><a href="../../../reference/java/lang/String.html
">String</a></td>
<td class="jd-linkcol"><a href="../../../reference/android/content/Conte
xt.html#MEDIA_PROJECTION_SERVICE">MEDIA_PROJECTION_SERVICE</a></td>
<td class="jd-descrcol" width="100%">
Use with <code><a href="../../../reference/android/content/Context.htm
l#getSystemService(java.lang.Class<T>)">getSystemService(Class<T>)</a></code> to
retrieve a <code><a href="../../../reference/android/media/projection/MediaProj
ectionManager.html">MediaProjectionManager</a></code> instance for managing
media projection sessions.
</td>
</tr>
<tr class=" api apilevel-16" >
<td class="jd-typecol"><a href="../../../reference/java/lang/String.html
">String</a></td>
<td class="jd-linkcol"><a href="../../../reference/android/content/Conte
xt.html#MEDIA_ROUTER_SERVICE">MEDIA_ROUTER_SERVICE</a></td>
<td class="jd-descrcol" width="100%">
Use with <code><a href="../../../reference/android/content/Context.htm
l#getSystemService(java.lang.Class<T>)">getSystemService(Class<T>)</a></code> to
retrieve a
<code><a href="../../../reference/android/media/MediaRouter.html">MediaRouter</
a></code> for controlling and managing
routing of media.
</td>
</tr>
<tr class="alt-color api apilevel-21" >
<td class="jd-typecol"><a href="../../../reference/java/lang/String.html
">String</a></td>
<td class="jd-linkcol"><a href="../../../reference/android/content/Conte
xt.html#MEDIA_SESSION_SERVICE">MEDIA_SESSION_SERVICE</a></td>
<td class="jd-descrcol" width="100%">
Use with <code><a href="../../../reference/android/content/Context.htm
l#getSystemService(java.lang.Class<T>)">getSystemService(Class<T>)</a></code> to
retrieve a
<code><a href="../../../reference/android/media/session/MediaSessionManager.htm
l">MediaSessionManager</a></code> for managing media Sessions.
</td>
</tr>
<tr class=" api apilevel-23" >
<td class="jd-typecol"><a href="../../../reference/java/lang/String.html
">String</a></td>
<td class="jd-linkcol"><a href="../../../reference/android/content/Conte
xt.html#MIDI_SERVICE">MIDI_SERVICE</a></td>
<td class="jd-descrcol" width="100%">
Use with <code><a href="../../../reference/android/content/Context.htm
l#getSystemService(java.lang.Class<T>)">getSystemService(Class<T>)</a></code> to
retrieve a
<code><a href="../../../reference/android/media/midi/MidiManager.html">MidiMana
ger</a></code> for accessing the MIDI service.
</td>
</tr>
<tr class="alt-color api apilevel-1" >
<td class="jd-typecol">int</td>
<td class="jd-linkcol"><a href="../../../reference/android/content/Conte
xt.html#MODE_APPEND">MODE_APPEND</a></td>
<td class="jd-descrcol" width="100%">
File creation mode: for use with <code><a href="../../../reference/and
roid/content/Context.html#openFileOutput(java.lang.String, int)">openFileOutput(
String, int)</a></code>, if the file
already exists then write data to the end of the existing file
instead of erasing it.
</td>
</tr>
<tr class=" api apilevel-16" >
<td class="jd-typecol">int</td>
<td class="jd-linkcol"><a href="../../../reference/android/content/Conte
xt.html#MODE_ENABLE_WRITE_AHEAD_LOGGING">MODE_ENABLE_WRITE_AHEAD_LOGGING</a></td
>
<td class="jd-descrcol" width="100%">
Database open flag: when set, the database is opened with write-ahead
logging enabled by default.
</td>
</tr>
<tr class="alt-color api apilevel-11" >
<td class="jd-typecol">int</td>
<td class="jd-linkcol"><a href="../../../reference/android/content/Conte
xt.html#MODE_MULTI_PROCESS">MODE_MULTI_PROCESS</a></td>
<td class="jd-descrcol" width="100%">
<em>
This constant was deprecated
in API level 23.
MODE_MULTI_PROCESS does not work reliably in
some versions of Android, and furthermore does not provide any
mechanism for reconciling concurrent modifications across
processes. Applications should not attempt to use it. Instead,
they should use an explicit cross-process data management
approach such as <code><a href="../../../reference/android/content/ContentProvi
der.html">ContentProvider</a></code>.
</em>
</td>
</tr>
<tr class=" api apilevel-1" >
<td class="jd-typecol">int</td>
<td class="jd-linkcol"><a href="../../../reference/android/content/Conte
xt.html#MODE_PRIVATE">MODE_PRIVATE</a></td>
<td class="jd-descrcol" width="100%">
File creation mode: the default mode, where the created file can only
be accessed by the calling application (or all applications sharing the
same user ID).
</td>
</tr>
<tr class="alt-color api apilevel-1" >
<td class="jd-typecol">int</td>
<td class="jd-linkcol"><a href="../../../reference/android/content/Conte
xt.html#MODE_WORLD_READABLE">MODE_WORLD_READABLE</a></td>
<td class="jd-descrcol" width="100%">
<em>
This constant was deprecated
in API level 17.
Creating world-readable files is very dangerous, and likely
to cause security holes in applications. It is strongly discouraged;
instead, applications should use more formal mechanism for interactions
such as <code><a href="../../../reference/android/content/ContentProvider.html"
>ContentProvider</a></code>, <code><a href="../../../reference/android/content/B
roadcastReceiver.html">BroadcastReceiver</a></code>, and
<code><a href="../../../reference/android/app/Service.html">Service</a></code>.
There are no guarantees that this
</td>
</tr>
<tr class=" api apilevel-1" >
<td class="jd-typecol">int</td>
<td class="jd-linkcol"><a href="../../../reference/android/content/Conte
xt.html#MODE_WORLD_WRITEABLE">MODE_WORLD_WRITEABLE</a></td>
<td class="jd-descrcol" width="100%">
<em>
This constant was deprecated
in API level 17.
Creating world-writable files is very dangerous, and likely
to cause security holes in applications. It is strongly discouraged;
instead, applications should use more formal mechanism for interactions
such as <code><a href="../../../reference/android/content/ContentProvider.html"
>ContentProvider</a></code>, <code><a href="../../../reference/android/content/B
roadcastReceiver.html">BroadcastReceiver</a></code>, and
<code><a href="../../../reference/android/app/Service.html">Service</a></code>.
There are no guarantees that this
access mode will remain on a file, such as when it goes through a
backup and restore.
File creation mode: allow all other applications to have write access
to the created file.</em>
</td>
</tr>
<tr class="alt-color api apilevel-23" >
<td class="jd-typecol"><a href="../../../reference/java/lang/String.html
">String</a></td>
<td class="jd-linkcol"><a href="../../../reference/android/content/Conte
xt.html#NETWORK_STATS_SERVICE">NETWORK_STATS_SERVICE</a></td>
<td class="jd-descrcol" width="100%">
Use with <code><a href="../../../reference/android/content/Context.htm
l#getSystemService(java.lang.Class<T>)">getSystemService(Class<T>)</a></code> to
retrieve a <code><a href="../../../reference/android/app/usage/NetworkStatsMana
ger.html">NetworkStatsManager</a></code> for querying network usage stats.
</td>
</tr>
<tr class=" api apilevel-10" >
<td class="jd-typecol"><a href="../../../reference/java/lang/String.html
">String</a></td>
<td class="jd-linkcol"><a href="../../../reference/android/content/Conte
xt.html#NFC_SERVICE">NFC_SERVICE</a></td>
</td>
</tr>
<tr class="alt-color api apilevel-1" >
<td class="jd-typecol"><a href="../../../reference/java/lang/String.html
">String</a></td>
<td class="jd-linkcol"><a href="../../../reference/android/content/Conte
xt.html#NOTIFICATION_SERVICE">NOTIFICATION_SERVICE</a></td>
<td class="jd-descrcol" width="100%">
Use with <code><a href="../../../reference/android/content/Context.htm
l#getSystemService(java.lang.Class<T>)">getSystemService(Class<T>)</a></code> to
retrieve a
<code><a href="../../../reference/android/app/NotificationManager.html">Notific
ationManager</a></code> for informing the user of
background events.
</td>
</tr>
<tr class=" api apilevel-16" >
<td class="jd-typecol"><a href="../../../reference/java/lang/String.html
">String</a></td>
<td class="jd-linkcol"><a href="../../../reference/android/content/Conte
xt.html#NSD_SERVICE">NSD_SERVICE</a></td>
<td class="jd-descrcol" width="100%">
Use with <code><a href="../../../reference/android/content/Context.htm
l#getSystemService(java.lang.Class<T>)">getSystemService(Class<T>)</a></code> to
retrieve a <code><a href="../../../reference/android/net/nsd/NsdManager.html">N
sdManager</a></code> for handling management of network service
discovery
</td>
</tr>
<tr class="alt-color api apilevel-1" >
<td class="jd-typecol"><a href="../../../reference/java/lang/String.html
">String</a></td>
<td class="jd-linkcol"><a href="../../../reference/android/content/Conte
xt.html#POWER_SERVICE">POWER_SERVICE</a></td>
<td class="jd-descrcol" width="100%">
Use with <code><a href="../../../reference/android/content/Context.htm
l#getSystemService(java.lang.Class<T>)">getSystemService(Class<T>)</a></code> to
retrieve a
<code><a href="../../../reference/android/os/PowerManager.html">PowerManager</a
</td>
</tr>
<tr class=" api apilevel-19" >
<td class="jd-typecol"><a href="../../../reference/java/lang/String.html
">String</a></td>
<td class="jd-linkcol"><a href="../../../reference/android/content/Conte
xt.html#PRINT_SERVICE">PRINT_SERVICE</a></td>
<td class="jd-descrcol" width="100%">
<code><a href="../../../reference/android/print/PrintManager.html">Pri
ntManager</a></code> for printing and managing
printers and print tasks.
</td>
</tr>
<tr class="alt-color api apilevel-21" >
<td class="jd-typecol"><a href="../../../reference/java/lang/String.html
">String</a></td>
<td class="jd-linkcol"><a href="../../../reference/android/content/Conte
xt.html#RESTRICTIONS_SERVICE">RESTRICTIONS_SERVICE</a></td>
<td class="jd-descrcol" width="100%">
Use with <code><a href="../../../reference/android/content/Context.htm
l#getSystemService(java.lang.Class<T>)">getSystemService(Class<T>)</a></code> to
retrieve a
<code><a href="../../../reference/android/content/RestrictionsManager.html">Res
trictionsManager</a></code> for retrieving application restrictions
and requesting permissions for restricted operations.
</td>
</tr>
<tr class=" api apilevel-1" >
<td class="jd-typecol"><a href="../../../reference/java/lang/String.html
">String</a></td>
<td class="jd-linkcol"><a href="../../../reference/android/content/Conte
xt.html#SEARCH_SERVICE">SEARCH_SERVICE</a></td>
<td class="jd-descrcol" width="100%">
Use with <code><a href="../../../reference/android/content/Context.htm
l#getSystemService(java.lang.Class<T>)">getSystemService(Class<T>)</a></code> to
retrieve a <code><a href="../../../reference/android/app/SearchManager.html">Se
archManager</a></code> for handling searches.
</td>
</tr>
</td>
</tr>
<tr class=" api apilevel-9" >
<td class="jd-typecol"><a href="../../../reference/java/lang/String.html
">String</a></td>
<td class="jd-linkcol"><a href="../../../reference/android/content/Conte
xt.html#STORAGE_SERVICE">STORAGE_SERVICE</a></td>
<td class="jd-descrcol" width="100%">
Use with <code><a href="../../../reference/android/content/Context.htm
l#getSystemService(java.lang.Class<T>)">getSystemService(Class<T>)</a></code> to
retrieve a <code><a href="../../../reference/android/os/storage/StorageManager.
html">StorageManager</a></code> for accessing system storage
functions.
</td>
</tr>
<tr class="alt-color api apilevel-21" >
<td class="jd-typecol"><a href="../../../reference/java/lang/String.html
">String</a></td>
<td class="jd-linkcol"><a href="../../../reference/android/content/Conte
xt.html#TELECOM_SERVICE">TELECOM_SERVICE</a></td>
<td class="jd-descrcol" width="100%">
Use with <code><a href="../../../reference/android/content/Context.htm
l#getSystemService(java.lang.Class<T>)">getSystemService(Class<T>)</a></code> to
retrieve a
<code><a href="../../../reference/android/telecom/TelecomManager.html">TelecomM
anager</a></code> to manage telecom-related features
of the device.
</td>
</tr>
<tr class=" api apilevel-1" >
<td class="jd-typecol"><a href="../../../reference/java/lang/String.html
">String</a></td>
<td class="jd-linkcol"><a href="../../../reference/android/content/Conte
xt.html#TELEPHONY_SERVICE">TELEPHONY_SERVICE</a></td>
<td class="jd-descrcol" width="100%">
Use with <code><a href="../../../reference/android/content/Context.htm
l#getSystemService(java.lang.Class<T>)">getSystemService(Class<T>)</a></code> to
retrieve a
<code><a href="../../../reference/android/telephony/TelephonyManager.html">Tele
phonyManager</a></code> for handling management the
telephony features of the device.
</td>
</tr>
<tr class="alt-color api apilevel-22" >
<td class="jd-typecol"><a href="../../../reference/java/lang/String.html
">String</a></td>
<td class="jd-linkcol"><a href="../../../reference/android/content/Conte
xt.html#TELEPHONY_SUBSCRIPTION_SERVICE">TELEPHONY_SUBSCRIPTION_SERVICE</a></td>
<td class="jd-descrcol" width="100%">
Use with <code><a href="../../../reference/android/content/Context.htm
l#getSystemService(java.lang.Class<T>)">getSystemService(Class<T>)</a></code> to
retrieve a
<code><a href="../../../reference/android/telephony/SubscriptionManager.html">S
ubscriptionManager</a></code> for handling management the
telephony subscriptions of the device.
</td>
</tr>
<tr class=" api apilevel-14" >
<td class="jd-typecol"><a href="../../../reference/java/lang/String.html
">String</a></td>
<td class="jd-linkcol"><a href="../../../reference/android/content/Conte
xt.html#TEXT_SERVICES_MANAGER_SERVICE">TEXT_SERVICES_MANAGER_SERVICE</a></td>
<td class="jd-descrcol" width="100%">
Use with <code><a href="../../../reference/android/content/Context.htm
l#getSystemService(java.lang.Class<T>)">getSystemService(Class<T>)</a></code> to
retrieve a
<code><a href="../../../reference/android/view/textservice/TextServicesManager.
html">TextServicesManager</a></code> for accessing
text services.
</td>
</tr>
<tr class="alt-color api apilevel-21" >
<td class="jd-typecol"><a href="../../../reference/java/lang/String.html
">String</a></td>
<td class="jd-linkcol"><a href="../../../reference/android/content/Conte
xt.html#TV_INPUT_SERVICE">TV_INPUT_SERVICE</a></td>
<td class="jd-descrcol" width="100%">
Use with <code><a href="../../../reference/android/content/Context.htm
l#getSystemService(java.lang.Class<T>)">getSystemService(Class<T>)</a></code> to
retrieve a
<code><a href="../../../reference/android/media/tv/TvInputManager.html">TvInput
Manager</a></code> for interacting with TV inputs
on the device.
</td>
</tr>
<tr class=" api apilevel-8" >
<td class="jd-typecol"><a href="../../../reference/java/lang/String.html
">String</a></td>
<td class="jd-linkcol"><a href="../../../reference/android/content/Conte
xt.html#UI_MODE_SERVICE">UI_MODE_SERVICE</a></td>
<td class="jd-descrcol" width="100%">
Use with <code><a href="../../../reference/android/content/Context.htm
l#getSystemService(java.lang.Class<T>)">getSystemService(Class<T>)</a></code> to
retrieve a
<code><a href="../../../reference/android/app/UiModeManager.html">UiModeManager
</a></code> for controlling UI modes.
</td>
</tr>
<tr class="alt-color api apilevel-22" >
<td class="jd-typecol"><a href="../../../reference/java/lang/String.html
">String</a></td>
<td class="jd-linkcol"><a href="../../../reference/android/content/Conte
xt.html#USAGE_STATS_SERVICE">USAGE_STATS_SERVICE</a></td>
<td class="jd-descrcol" width="100%">
Use with <code><a href="../../../reference/android/content/Context.htm
l#getSystemService(java.lang.Class<T>)">getSystemService(Class<T>)</a></code> to
retrieve a <code><a href="../../../reference/android/app/usage/UsageStatsManage
r.html">UsageStatsManager</a></code> for querying device usage stats.
</td>
</tr>
<tr class=" api apilevel-12" >
<td class="jd-typecol"><a href="../../../reference/java/lang/String.html
">String</a></td>
<td class="jd-linkcol"><a href="../../../reference/android/content/Conte
xt.html#USB_SERVICE">USB_SERVICE</a></td>
<td class="jd-descrcol" width="100%">
Use with <code><a href="../../../reference/android/content/Context.htm
l#getSystemService(java.lang.Class<T>)">getSystemService(Class<T>)</a></code> to
retrieve a <code><a href="../../../reference/android/hardware/usb/UsbManager.ht
ml">UsbManager</a></code> for access to USB devices (as a USB host)
and for controlling this device's behavior as a USB device.
</td>
</tr>
<tr class="alt-color api apilevel-17" >
<td class="jd-typecol"><a href="../../../reference/java/lang/String.html
">String</a></td>
<td class="jd-linkcol"><a href="../../../reference/android/content/Conte
xt.html#USER_SERVICE">USER_SERVICE</a></td>
<td class="jd-descrcol" width="100%">
Use with <code><a href="../../../reference/android/content/Context.htm
l#getSystemService(java.lang.Class<T>)">getSystemService(Class<T>)</a></code> to
retrieve a
<code><a href="../../../reference/android/os/UserManager.html">UserManager</a><
/code> for managing users on devices that support multiple users.
</td>
</tr>
<tr class=" api apilevel-1" >
<td class="jd-typecol"><a href="../../../reference/java/lang/String.html
">String</a></td>
<td class="jd-linkcol"><a href="../../../reference/android/content/Conte
xt.html#VIBRATOR_SERVICE">VIBRATOR_SERVICE</a></td>
<td class="jd-descrcol" width="100%">
Use with <code><a href="../../../reference/android/content/Context.htm
l#getSystemService(java.lang.Class<T>)">getSystemService(Class<T>)</a></code> to
retrieve a <code><a href="../../../reference/android/os/Vibrator.html">Vibrator
</a></code> for interacting with the vibration hardware.
</td>
</tr>
<tr class="alt-color api apilevel-1" >
<td class="jd-typecol"><a href="../../../reference/java/lang/String.html
">String</a></td>
<td class="jd-linkcol"><a href="../../../reference/android/content/Conte
xt.html#WALLPAPER_SERVICE">WALLPAPER_SERVICE</a></td>
<td class="jd-descrcol" width="100%">
Use with <code><a href="../../../reference/android/content/Context.htm
l#getSystemService(java.lang.Class<T>)">getSystemService(Class<T>)</a></code> to
retrieve a
com.android.server.WallpaperService for accessing wallpapers.
</td>
</tr>
<tr class=" api apilevel-14" >
<td class="jd-typecol"><a href="../../../reference/java/lang/String.html
">String</a></td>
</td>
</tr>
<tr class="alt-color api apilevel-1" >
<td class="jd-typecol"><a href="../../../reference/java/lang/String.html
">String</a></td>
<td class="jd-linkcol"><a href="../../../reference/android/content/Conte
xt.html#WIFI_SERVICE">WIFI_SERVICE</a></td>
<td class="jd-descrcol" width="100%">
Use with <code><a href="../../../reference/android/content/Context.htm
l#getSystemService(java.lang.Class<T>)">getSystemService(Class<T>)</a></code> to
retrieve a <code><a href="../../../reference/android/net/wifi/WifiManager.html"
>WifiManager</a></code> for handling management of
Wi-Fi access.
</td>
</tr>
<tr class=" api apilevel-1" >
<td class="jd-typecol"><a href="../../../reference/java/lang/String.html
">String</a></td>
<td class="jd-linkcol"><a href="../../../reference/android/content/Conte
xt.html#WINDOW_SERVICE">WINDOW_SERVICE</a></td>
<td class="jd-descrcol" width="100%">
Use with <code><a href="../../../reference/android/content/Context.htm
l#getSystemService(java.lang.Class<T>)">getSystemService(Class<T>)</a></code> to
retrieve a
<code><a href="../../../reference/android/view/WindowManager.html">WindowManage
r</a></code> for accessing the system's window
manager.
</td>
</tr>
</table>
</div>
</div>
</td></tr>
</td>
</tr>
<tr class=" api apilevel-14" >
<td class="jd-typecol">int</td>
<td class="jd-linkcol"><a href="../../../reference/android/content/Compo
nentCallbacks2.html#TRIM_MEMORY_COMPLETE">TRIM_MEMORY_COMPLETE</a></td>
<td class="jd-descrcol" width="100%">
Level for <code><a href="../../../reference/android/content/ComponentC
allbacks2.html#onTrimMemory(int)">onTrimMemory(int)</a></code>: the process is n
earing the end
of the background LRU list, and if more memory isn't found soon it will
be killed.
</td>
</tr>
<tr class="alt-color api apilevel-14" >
<td class="jd-typecol">int</td>
<td class="jd-linkcol"><a href="../../../reference/android/content/Compo
nentCallbacks2.html#TRIM_MEMORY_MODERATE">TRIM_MEMORY_MODERATE</a></td>
<td class="jd-descrcol" width="100%">
Level for <code><a href="../../../reference/android/content/ComponentC
allbacks2.html#onTrimMemory(int)">onTrimMemory(int)</a></code>: the process is a
round the middle
of the background LRU list; freeing memory can help the system keep
other processes running later in the list for better overall performance.
</td>
</tr>
<tr class=" api apilevel-16" >
<td class="jd-typecol">int</td>
<td class="jd-linkcol"><a href="../../../reference/android/content/Compo
nentCallbacks2.html#TRIM_MEMORY_RUNNING_CRITICAL">TRIM_MEMORY_RUNNING_CRITICAL</
a></td>
<td class="jd-descrcol" width="100%">
Level for <code><a href="../../../reference/android/content/ComponentC
allbacks2.html#onTrimMemory(int)">onTrimMemory(int)</a></code>: the process is n
ot an expendable
background process, but the device is running extremely low on memory
and is about to not be able to keep any background processes running.
</td>
</tr>
<tr class="alt-color api apilevel-16" >
<td class="jd-typecol">int</td>
<td class="jd-linkcol"><a href="../../../reference/android/content/Compo
nentCallbacks2.html#TRIM_MEMORY_RUNNING_LOW">TRIM_MEMORY_RUNNING_LOW</a></td>
<td class="jd-descrcol" width="100%">
Level for <code><a href="../../../reference/android/content/ComponentC
allbacks2.html#onTrimMemory(int)">onTrimMemory(int)</a></code>: the process is n
ot an expendable
background process, but the device is running low on memory.
</td>
</tr>
<tr class=" api apilevel-16" >
<td class="jd-typecol">int</td>
<td class="jd-linkcol"><a href="../../../reference/android/content/Compo
nentCallbacks2.html#TRIM_MEMORY_RUNNING_MODERATE">TRIM_MEMORY_RUNNING_MODERATE</
a></td>
<td class="jd-descrcol" width="100%">
Level for <code><a href="../../../reference/android/content/ComponentC
allbacks2.html#onTrimMemory(int)">onTrimMemory(int)</a></code>: the process is n
ot an expendable
background process, but the device is running moderately low on memory.
</td>
</tr>
<tr class="alt-color api apilevel-14" >
<td class="jd-typecol">int</td>
<td class="jd-linkcol"><a href="../../../reference/android/content/Compo
nentCallbacks2.html#TRIM_MEMORY_UI_HIDDEN">TRIM_MEMORY_UI_HIDDEN</a></td>
<td class="jd-descrcol" width="100%">
Level for <code><a href="../../../reference/android/content/ComponentC
allbacks2.html#onTrimMemory(int)">onTrimMemory(int)</a></code>: the process had
been showing
a user interface, and is no longer doing so.
</td>
</tr>
</table>
</div>
</div>
</td></tr>
</table>
</nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/inputmethodserv
ice/InputMethodService.html#InputMethodService()">InputMethodService</a></span>(
)</nobr>
</td></tr>
</table>
boolean</nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/inputmethodserv
ice/InputMethodService.html#enableHardwareAcceleration()">enableHardwareAccelera
tion</a></span>()</nobr>
<div class="jd-descrdiv">
<em>
This method was deprecated
in API level 21.
Starting in API 21, hardware acceleration is always enabled
on capable devices.
</em>
</div>
</td></tr>
int</nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/inputmethodserv
ice/InputMethodService.html#getBackDisposition()">getBackDisposition</a></span>(
)</nobr>
</td></tr>
int</nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/inputmethodserv
ice/InputMethodService.html#getCandidatesHiddenVisibility()">getCandidatesHidden
Visibility</a></span>()</nobr>
<div class="jd-descrdiv">
Returns the visibility mode (either <code><a href="../../../reference/
android/view/View.html#INVISIBLE">View.INVISIBLE</a></code>
or <code><a href="../../../reference/android/view/View.html#GONE">View.GONE</a>
</code>) of the candidates view when it is not
shown.
</div>
</td></tr>
<a href="../../../reference/android/view/inputmethod/InputBinding.ht
ml">InputBinding</a></nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/inputmethodserv
ice/InputMethodService.html#getCurrentInputBinding()">getCurrentInputBinding</a>
</span>()</nobr>
<div class="jd-descrdiv">
Return the currently active InputBinding for the input method, or
null if there is none.
</div>
</td></tr>
<a href="../../../reference/android/view/inputmethod/InputConnection
.html">InputConnection</a></nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/inputmethodserv
ice/InputMethodService.html#getCurrentInputConnection()">getCurrentInputConnecti
on</a></span>()</nobr>
<div class="jd-descrdiv">
Retrieve the currently active InputConnection that is bound to
the input method, or null if there is none.
</div>
</td></tr>
<a href="../../../reference/android/view/inputmethod/EditorInfo.html
">EditorInfo</a></nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/inputmethodserv
ice/InputMethodService.html#getCurrentInputEditorInfo()">getCurrentInputEditorIn
fo</a></span>()</nobr>
</td></tr>
boolean</nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/inputmethodserv
ice/InputMethodService.html#getCurrentInputStarted()">getCurrentInputStarted</a>
</span>()</nobr>
</td></tr>
int</nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/inputmethodserv
ice/InputMethodService.html#getInputMethodWindowRecommendedHeight()">getInputMet
hodWindowRecommendedHeight</a></span>()</nobr>
</td></tr>
<a href="../../../reference/android/view/LayoutInflater.html">Layout
Inflater</a></nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/inputmethodserv
ice/InputMethodService.html#getLayoutInflater()">getLayoutInflater</a></span>()<
/nobr>
</td></tr>
int</nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/inputmethodserv
ice/InputMethodService.html#getMaxWidth()">getMaxWidth</a></span>()</nobr>
<div class="jd-descrdiv">
Return the maximum width, in pixels, available the input method.
</div>
</td></tr>
<a href="../../../reference/java/lang/CharSequence.html">CharSequenc
e</a></nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/inputmethodserv
ice/InputMethodService.html#getTextForImeAction(int)">getTextForImeAction</a></s
pan>(int imeOptions)</nobr>
<div class="jd-descrdiv">
Return text that can be used as a button label for the given
<code><a href="../../../reference/android/view/inputmethod/EditorInfo.html#imeO
ptions">EditorInfo.imeOptions</a></code>.
</div>
</td></tr>
<a href="../../../reference/android/app/Dialog.html">Dialog</a></nob
r>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/inputmethodserv
ice/InputMethodService.html#getWindow()">getWindow</a></span>()</nobr>
</td></tr>
void</nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/inputmethodserv
ice/InputMethodService.html#hideStatusIcon()">hideStatusIcon</a></span>()</nobr>
</td></tr>
void</nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/inputmethodserv
ice/InputMethodService.html#hideWindow()">hideWindow</a></span>()</nobr>
</td></tr>
boolean</nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/inputmethodserv
ice/InputMethodService.html#isExtractViewShown()">isExtractViewShown</a></span>(
)</nobr>
<div class="jd-descrdiv">
Return whether the fullscreen extract view is shown.
</div>
</td></tr>
boolean</nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/inputmethodserv
ice/InputMethodService.html#isFullscreenMode()">isFullscreenMode</a></span>()</n
obr>
<div class="jd-descrdiv">
Return whether the input method is <em>currently</em> running in
fullscreen mode.
</div>
</td></tr>
boolean</nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/inputmethodserv
ice/InputMethodService.html#isInputViewShown()">isInputViewShown</a></span>()</n
obr>
<div class="jd-descrdiv">
Return whether the soft input view is <em>currently</em> shown to the
user.
</div>
</td></tr>
boolean</nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/inputmethodserv
ice/InputMethodService.html#isShowInputRequested()">isShowInputRequested</a></sp
an>()</nobr>
<div class="jd-descrdiv">
Returns true if we have been asked to show our input view.
</div>
</td></tr>
void</nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/inputmethodserv
ice/InputMethodService.html#onAppPrivateCommand(java.lang.String, android.os.Bun
dle)">onAppPrivateCommand</a></span>(<a href="../../../reference/java/lang/Strin
g.html">String</a> action, <a href="../../../reference/android/os/Bundle.html">B
undle</a> data)</nobr>
</td></tr>
void</nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/inputmethodserv
ice/InputMethodService.html#onBindInput()">onBindInput</a></span>()</nobr>
<div class="jd-descrdiv">
Called when a new client has bound to the input method.
</div>
</td></tr>
void</nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/inputmethodserv
ice/InputMethodService.html#onComputeInsets(android.inputmethodservice.InputMeth
odService.Insets)">onComputeInsets</a></span>(<a href="../../../reference/androi
d/inputmethodservice/InputMethodService.Insets.html">InputMethodService.Insets</
a> outInsets)</nobr>
<div class="jd-descrdiv">
Compute the interesting insets into your UI.
</div>
</td></tr>
void</nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/inputmethodserv
ice/InputMethodService.html#onConfigurationChanged(android.content.res.Configura
tion)">onConfigurationChanged</a></span>(<a href="../../../reference/android/con
tent/res/Configuration.html">Configuration</a> newConfig)</nobr>
<div class="jd-descrdiv">
Take care of handling configuration changes.
</div>
</td></tr>
void</nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/inputmethodserv
ice/InputMethodService.html#onConfigureWindow(android.view.Window, boolean, bool
ean)">onConfigureWindow</a></span>(<a href="../../../reference/android/view/Wind
ow.html">Window</a> win, boolean isFullscreen, boolean isCandidatesOnly)</nobr>
<div class="jd-descrdiv">
Update the given window's parameters for the given mode.
</div>
</td></tr>
void</nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/inputmethodserv
ice/InputMethodService.html#onCreate()">onCreate</a></span>()</nobr>
<div class="jd-descrdiv">
Called by the system when the service is first created.
</div>
</td></tr>
<a href="../../../reference/android/view/View.html">View</a></nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/inputmethodserv
ice/InputMethodService.html#onCreateCandidatesView()">onCreateCandidatesView</a>
</span>()</nobr>
<div class="jd-descrdiv">
Create and return the view hierarchy used to show candidates.
</div>
</td></tr>
<a href="../../../reference/android/view/View.html">View</a></nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/inputmethodserv
ice/InputMethodService.html#onCreateExtractTextView()">onCreateExtractTextView</
a></span>()</nobr>
<div class="jd-descrdiv">
Called by the framework to create the layout for showing extacted text
.
</div>
</td></tr>
<a href="../../../reference/android/inputmethodservice/AbstractInput
MethodService.AbstractInputMethodImpl.html">AbstractInputMethodService.AbstractI
nputMethodImpl</a></nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/inputmethodserv
ice/InputMethodService.html#onCreateInputMethodInterface()">onCreateInputMethodI
nterface</a></span>()</nobr>
<div class="jd-descrdiv">
Implement to return our standard <code><a href="../../../reference/and
roid/inputmethodservice/InputMethodService.InputMethodImpl.html">InputMethodServ
ice.InputMethodImpl</a></code>.
</div>
</td></tr>
<a href="../../../reference/android/inputmethodservice/AbstractInput
MethodService.AbstractInputMethodSessionImpl.html">AbstractInputMethodService.Ab
stractInputMethodSessionImpl</a></nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/inputmethodserv
ice/InputMethodService.html#onCreateInputMethodSessionInterface()">onCreateInput
MethodSessionInterface</a></span>()</nobr>
<div class="jd-descrdiv">
Implement to return our standard <code><a href="../../../reference/and
roid/inputmethodservice/InputMethodService.InputMethodSessionImpl.html">InputMet
hodService.InputMethodSessionImpl</a></code>.
</div>
</td></tr>
<a href="../../../reference/android/view/View.html">View</a></nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/inputmethodserv
ice/InputMethodService.html#onCreateInputView()">onCreateInputView</a></span>()<
/nobr>
<div class="jd-descrdiv">
Create and return the view hierarchy used for the input area (such as
a soft keyboard).
</div>
</td></tr>
void</nobr>
</td>
</div>
</td></tr>
void</nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/inputmethodserv
ice/InputMethodService.html#onDisplayCompletions(android.view.inputmethod.Comple
tionInfo[])">onDisplayCompletions</a></span>(<a href="../../../reference/android
/view/inputmethod/CompletionInfo.html">CompletionInfo[]</a> completions)</nobr>
<div class="jd-descrdiv">
Called when the application has reported auto-completion candidates th
at
it would like to have the input method displayed.
</div>
</td></tr>
boolean</nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/inputmethodserv
ice/InputMethodService.html#onEvaluateFullscreenMode()">onEvaluateFullscreenMode
</a></span>()</nobr>
<div class="jd-descrdiv">
Override this to control when the input method should run in
fullscreen mode.
</div>
</td></tr>
boolean</nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/inputmethodserv
ice/InputMethodService.html#onEvaluateInputViewShown()">onEvaluateInputViewShown
</a></span>()</nobr>
<div class="jd-descrdiv">
Override this to control when the soft input area should be shown to
the user.
</div>
</td></tr>
boolean</nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/inputmethodserv
ice/InputMethodService.html#onExtractTextContextMenuItem(int)">onExtractTextCont
extMenuItem</a></span>(int id)</nobr>
<div class="jd-descrdiv">
This is called when the user has selected a context menu item from the
extracted text view, when running in fullscreen mode.
</div>
</td></tr>
void</nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/inputmethodserv
ice/InputMethodService.html#onExtractedCursorMovement(int, int)">onExtractedCurs
orMovement</a></span>(int dx, int dy)</nobr>
<div class="jd-descrdiv">
This is called when the user has performed a cursor movement in the
extracted text view, when it is running in fullscreen mode.
</div>
</td></tr>
void</nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/inputmethodserv
ice/InputMethodService.html#onExtractedSelectionChanged(int, int)">onExtractedSe
lectionChanged</a></span>(int start, int end)</nobr>
<div class="jd-descrdiv">
This is called when the user has moved the cursor in the extracted
text view, when running in fullsreen mode.
</div>
</td></tr>
void</nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/inputmethodserv
ice/InputMethodService.html#onExtractedTextClicked()">onExtractedTextClicked</a>
</span>()</nobr>
<div class="jd-descrdiv">
This is called when the user has clicked on the extracted text view,
when running in fullscreen mode.
</div>
</td></tr>
void</nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/inputmethodserv
ice/InputMethodService.html#onExtractingInputChanged(android.view.inputmethod.Ed
itorInfo)">onExtractingInputChanged</a></span>(<a href="../../../reference/andro
id/view/inputmethod/EditorInfo.html">EditorInfo</a> ei)</nobr>
<div class="jd-descrdiv">
This is called when, while currently displayed in extract mode, the
current input target changes.
</div>
</td></tr>
void</nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/inputmethodserv
ice/InputMethodService.html#onFinishCandidatesView(boolean)">onFinishCandidatesV
iew</a></span>(boolean finishingInput)</nobr>
<div class="jd-descrdiv">
Called when the candidates view is being hidden from the user.
</div>
</td></tr>
void</nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/inputmethodserv
ice/InputMethodService.html#onFinishInput()">onFinishInput</a></span>()</nobr>
<div class="jd-descrdiv">
Called to inform the input method that text input has finished in
the last editor.
</div>
</td></tr>
void</nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/inputmethodserv
ice/InputMethodService.html#onFinishInputView(boolean)">onFinishInputView</a></s
pan>(boolean finishingInput)</nobr>
<div class="jd-descrdiv">
Called when the input view is being hidden from the user.
</div>
</td></tr>
boolean</nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/inputmethodserv
ice/InputMethodService.html#onGenericMotionEvent(android.view.MotionEvent)">onGe
nericMotionEvent</a></span>(<a href="../../../reference/android/view/MotionEvent
.html">MotionEvent</a> event)</nobr>
<div class="jd-descrdiv">
Override this to intercept generic motion events before they are
processed by the application.
</div>
</td></tr>
void</nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/inputmethodserv
ice/InputMethodService.html#onInitializeInterface()">onInitializeInterface</a></
span>()</nobr>
<div class="jd-descrdiv">
This is a hook that subclasses can use to perform initialization of
their interface.
</div>
</td></tr>
boolean</nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/inputmethodserv
ice/InputMethodService.html#onKeyDown(int, android.view.KeyEvent)">onKeyDown</a>
</span>(int keyCode, <a href="../../../reference/android/view/KeyEvent.html">Key
Event</a> event)</nobr>
<div class="jd-descrdiv">
Override this to intercept key down events before they are processed b
y the
application.
</div>
</td></tr>
boolean</nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/inputmethodserv
ice/InputMethodService.html#onKeyLongPress(int, android.view.KeyEvent)">onKeyLon
gPress</a></span>(int keyCode, <a href="../../../reference/android/view/KeyEvent
.html">KeyEvent</a> event)</nobr>
<div class="jd-descrdiv">
Default implementation of <code><a href="../../../reference/android/vi
ew/KeyEvent.Callback.html#onKeyLongPress(int, android.view.KeyEvent)">KeyEvent.C
allback.onKeyLongPress()</a></code>: always returns false (doesn't handle
the event).
</div>
</td></tr>
boolean</nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/inputmethodserv
ice/InputMethodService.html#onKeyMultiple(int, int, android.view.KeyEvent)">onKe
yMultiple</a></span>(int keyCode, int count, <a href="../../../reference/android
/view/KeyEvent.html">KeyEvent</a> event)</nobr>
<div class="jd-descrdiv">
Override this to intercept special key multiple events before they are
processed by the
application.
</div>
</td></tr>
boolean</nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/inputmethodserv
ice/InputMethodService.html#onKeyUp(int, android.view.KeyEvent)">onKeyUp</a></sp
an>(int keyCode, <a href="../../../reference/android/view/KeyEvent.html">KeyEven
t</a> event)</nobr>
<div class="jd-descrdiv">
Override this to intercept key up events before they are processed by
the
application.
</div>
</td></tr>
boolean</nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/inputmethodserv
ice/InputMethodService.html#onShowInputRequested(int, boolean)">onShowInputReque
</div>
</td></tr>
void</nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/inputmethodserv
ice/InputMethodService.html#onStartCandidatesView(android.view.inputmethod.Edito
rInfo, boolean)">onStartCandidatesView</a></span>(<a href="../../../reference/an
droid/view/inputmethod/EditorInfo.html">EditorInfo</a> info, boolean restarting)
</nobr>
<div class="jd-descrdiv">
Called when only the candidates view has been shown for showing
processing as the user enters text through a hard keyboard.
</div>
</td></tr>
void</nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/inputmethodserv
ice/InputMethodService.html#onStartInput(android.view.inputmethod.EditorInfo, bo
olean)">onStartInput</a></span>(<a href="../../../reference/android/view/inputme
thod/EditorInfo.html">EditorInfo</a> attribute, boolean restarting)</nobr>
<div class="jd-descrdiv">
Called to inform the input method that text input has started in an
editor.
</div>
</td></tr>
void</nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/inputmethodserv
ice/InputMethodService.html#onStartInputView(android.view.inputmethod.EditorInfo
, boolean)">onStartInputView</a></span>(<a href="../../../reference/android/view
/inputmethod/EditorInfo.html">EditorInfo</a> info, boolean restarting)</nobr>
<div class="jd-descrdiv">
Called when the input view is being shown and input has started on
a new editor.
</div>
</td></tr>
boolean</nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/inputmethodserv
ice/InputMethodService.html#onTrackballEvent(android.view.MotionEvent)">onTrackb
allEvent</a></span>(<a href="../../../reference/android/view/MotionEvent.html">M
otionEvent</a> event)</nobr>
<div class="jd-descrdiv">
Override this to intercept trackball motion events before they are
processed by the application.
</div>
</td></tr>
void</nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/inputmethodserv
ice/InputMethodService.html#onUnbindInput()">onUnbindInput</a></span>()</nobr>
<div class="jd-descrdiv">
Called when the previous bound client is no longer associated
with the input method.
</div>
</td></tr>
void</nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/inputmethodserv
ice/InputMethodService.html#onUpdateCursor(android.graphics.Rect)">onUpdateCurso
r</a></span>(<a href="../../../reference/android/graphics/Rect.html">Rect</a> ne
wCursor)</nobr>
<div class="jd-descrdiv">
<em>
This method was deprecated
in API level 21.
Use {#link onUpdateCursorAnchorInfo(CursorAnchorInfo)} instead.
</em>
</div>
</td></tr>
void</nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/inputmethodserv
ice/InputMethodService.html#onUpdateCursorAnchorInfo(android.view.inputmethod.Cu
rsorAnchorInfo)">onUpdateCursorAnchorInfo</a></span>(<a href="../../../reference
/android/view/inputmethod/CursorAnchorInfo.html">CursorAnchorInfo</a> cursorAnch
orInfo)</nobr>
<div class="jd-descrdiv">
Called when the application has reported a new location of its text in
sertion point and
characters in the composition string.
</div>
</td></tr>
void</nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/inputmethodserv
ice/InputMethodService.html#onUpdateExtractedText(int, android.view.inputmethod.
ExtractedText)">onUpdateExtractedText</a></span>(int token, <a href="../../../re
ference/android/view/inputmethod/ExtractedText.html">ExtractedText</a> text)</no
br>
<div class="jd-descrdiv">
Called when the application has reported new extracted text to be show
n
due to changes in its current text state.
</div>
</td></tr>
void</nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/inputmethodserv
ice/InputMethodService.html#onUpdateExtractingViews(android.view.inputmethod.Edi
torInfo)">onUpdateExtractingViews</a></span>(<a href="../../../reference/android
/view/inputmethod/EditorInfo.html">EditorInfo</a> ei)</nobr>
<div class="jd-descrdiv">
Called when the fullscreen-mode extracting editor info has changed,
to update the state of its UI such as the action buttons shown.
</div>
</td></tr>
void</nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/inputmethodserv
ice/InputMethodService.html#onUpdateExtractingVisibility(android.view.inputmetho
d.EditorInfo)">onUpdateExtractingVisibility</a></span>(<a href="../../../referen
ce/android/view/inputmethod/EditorInfo.html">EditorInfo</a> ei)</nobr>
<div class="jd-descrdiv">
Called when the fullscreen-mode extracting editor info has changed,
to determine whether the extracting (extract text and candidates) portion
of the UI should be shown.
</div>
</td></tr>
void</nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
</div>
</td></tr>
void</nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/inputmethodserv
ice/InputMethodService.html#onViewClicked(boolean)">onViewClicked</a></span>(boo
lean focusChanged)</nobr>
<div class="jd-descrdiv">
Called when the user tapped or clicked a text view.
</div>
</td></tr>
void</nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/inputmethodserv
ice/InputMethodService.html#onWindowHidden()">onWindowHidden</a></span>()</nobr>
<div class="jd-descrdiv">
Called when the input method window has been hidden from the user,
after previously being visible.
</div>
</td></tr>
void</nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/inputmethodserv
ice/InputMethodService.html#onWindowShown()">onWindowShown</a></span>()</nobr>
<div class="jd-descrdiv">
Called when the input method window has been shown to the user, after
previously not being visible.
</div>
</td></tr>
void</nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/inputmethodserv
ice/InputMethodService.html#requestHideSelf(int)">requestHideSelf</a></span>(int
flags)</nobr>
<div class="jd-descrdiv">
Close this input method's soft input area, removing it from the displa
y.
</div>
</td></tr>
boolean</nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/inputmethodserv
ice/InputMethodService.html#sendDefaultEditorAction(boolean)">sendDefaultEditorA
ction</a></span>(boolean fromEnterKey)</nobr>
<div class="jd-descrdiv">
Ask the input target to execute its default action via
<code><a href="../../../reference/android/view/inputmethod/InputConnection.html
#performEditorAction(int)">InputConnection.performEditorAction()</a></code>.
</div>
</td></tr>
void</nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/inputmethodserv
ice/InputMethodService.html#sendDownUpKeyEvents(int)">sendDownUpKeyEvents</a></s
pan>(int keyEventCode)</nobr>
<div class="jd-descrdiv">
Send the given key event code (as defined by <code><a href="../../../r
eference/android/view/KeyEvent.html">KeyEvent</a></code>) to the
current input connection is a key down + key up event pair.
</div>
</td></tr>
void</nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/inputmethodserv
ice/InputMethodService.html#sendKeyChar(char)">sendKeyChar</a></span>(char charC
ode)</nobr>
<div class="jd-descrdiv">
Send the given UTF-16 character to the current input connection.
</div>
</td></tr>
void</nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/inputmethodserv
ice/InputMethodService.html#setBackDisposition(int)">setBackDisposition</a></spa
n>(int disposition)</nobr>
</td></tr>
void</nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/inputmethodserv
ice/InputMethodService.html#setCandidatesView(android.view.View)">setCandidatesV
iew</a></span>(<a href="../../../reference/android/view/View.html">View</a> view
)</nobr>
<div class="jd-descrdiv">
Replaces the current candidates view with a new one.
</div>
</td></tr>
void</nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/inputmethodserv
ice/InputMethodService.html#setCandidatesViewShown(boolean)">setCandidatesViewSh
own</a></span>(boolean shown)</nobr>
<div class="jd-descrdiv">
Controls the visibility of the candidates display area.
</div>
</td></tr>
void</nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/inputmethodserv
ice/InputMethodService.html#setExtractView(android.view.View)">setExtractView</a
></span>(<a href="../../../reference/android/view/View.html">View</a> view)</nob
r>
</td></tr>
void</nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/inputmethodserv
ice/InputMethodService.html#setExtractViewShown(boolean)">setExtractViewShown</a
></span>(boolean shown)</nobr>
<div class="jd-descrdiv">
</div>
</td></tr>
void</nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/inputmethodserv
ice/InputMethodService.html#setInputView(android.view.View)">setInputView</a></s
pan>(<a href="../../../reference/android/view/View.html">View</a> view)</nobr>
<div class="jd-descrdiv">
Replaces the current input view with a new one.
</div>
</td></tr>
void</nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/inputmethodserv
ice/InputMethodService.html#setTheme(int)">setTheme</a></span>(int theme)</nobr>
<div class="jd-descrdiv">
You can call this to customize the theme used by your IME's window.
</div>
</td></tr>
<td class="jd-typecol"><nobr>
void</nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/inputmethodserv
ice/InputMethodService.html#showStatusIcon(int)">showStatusIcon</a></span>(int i
conResId)</nobr>
</td></tr>
void</nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/inputmethodserv
ice/InputMethodService.html#showWindow(boolean)">showWindow</a></span>(boolean s
howInput)</nobr>
</td></tr>
void</nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/inputmethodserv
ice/InputMethodService.html#switchInputMethod(java.lang.String)">switchInputMeth
od</a></span>(<a href="../../../reference/java/lang/String.html">String</a> id)<
/nobr>
<div class="jd-descrdiv">
Force switch to a new input method, as identified by <var>id</var>.
</div>
</td></tr>
void</nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/inputmethodserv
ice/InputMethodService.html#updateFullscreenMode()">updateFullscreenMode</a></sp
an>()</nobr>
<div class="jd-descrdiv">
Re-evaluate whether the input method should be running in fullscreen
mode, and update its UI if this has changed since the last time it
was evaluated.
</div>
</td></tr>
void</nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/inputmethodserv
ice/InputMethodService.html#updateInputViewShown()">updateInputViewShown</a></sp
an>()</nobr>
<div class="jd-descrdiv">
Re-evaluate whether the soft input area should currently be shown, and
update its UI if this has changed since the last time it
was evaluated.
</div>
</td></tr>
</table>
void</nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/inputmethodserv
ice/InputMethodService.html#dump(java.io.FileDescriptor, java.io.PrintWriter, ja
va.lang.String[])">dump</a></span>(<a href="../../../reference/java/io/FileDescr
iptor.html">FileDescriptor</a> fd, <a href="../../../reference/java/io/PrintWrit
er.html">PrintWriter</a> fout, <a href="../../../reference/java/lang/String.html
">String[]</a> args)</nobr>
<div class="jd-descrdiv">
Performs a dump of the InputMethodService's internal state.
</div>
</td></tr>
void</nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/inputmethodserv
ice/InputMethodService.html#onCurrentInputMethodSubtypeChanged(android.view.inpu
tmethod.InputMethodSubtype)">onCurrentInputMethodSubtypeChanged</a></span>(<a hr
ef="../../../reference/android/view/inputmethod/InputMethodSubtype.html">InputMe
thodSubtype</a> newSubtype)</nobr>
<div class="jd-descrdiv">
Called when the subtype was changed.
</div>
</td></tr>
</table>
void</nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/inputmethodserv
ice/AbstractInputMethodService.html#dump(java.io.FileDescriptor, java.io.PrintWr
iter, java.lang.String[])">dump</a></span>(<a href="../../../reference/java/io/F
ileDescriptor.html">FileDescriptor</a> fd, <a href="../../../reference/java/io/P
rintWriter.html">PrintWriter</a> fout, <a href="../../../reference/java/lang/Str
ing.html">String[]</a> args)</nobr>
<div class="jd-descrdiv">
</div>
</td></tr>
<a href="../../../reference/android/view/KeyEvent.DispatcherState.ht
ml">KeyEvent.DispatcherState</a></nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/inputmethodserv
ice/AbstractInputMethodService.html#getKeyDispatcherState()">getKeyDispatcherSta
te</a></span>()</nobr>
<div class="jd-descrdiv">
Return the global <code><a href="../../../reference/android/view/KeyEv
ent.DispatcherState.html">KeyEvent.DispatcherState</a></code>
for used for processing events from the target application.
</div>
</td></tr>
</div>
</td></tr>
<a href="../../../reference/android/inputmethodservice/AbstractInput
MethodService.AbstractInputMethodImpl.html">AbstractInputMethodService.AbstractI
nputMethodImpl</a></nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/inputmethodserv
ice/AbstractInputMethodService.html#onCreateInputMethodInterface()">onCreateInpu
tMethodInterface</a></span>()</nobr>
<div class="jd-descrdiv">
Called by the framework during initialization, when the InputMethod
interface for this service needs to be created.
</div>
</td></tr>
<a href="../../../reference/android/inputmethodservice/AbstractInput
MethodService.AbstractInputMethodSessionImpl.html">AbstractInputMethodService.Ab
stractInputMethodSessionImpl</a></nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/inputmethodserv
ice/AbstractInputMethodService.html#onCreateInputMethodSessionInterface()">onCre
ateInputMethodSessionInterface</a></span>()</nobr>
<div class="jd-descrdiv">
Called by the framework when a new InputMethodSession interface is
needed for a new client of the input method.
</div>
</td></tr>
boolean</nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/inputmethodserv
ice/AbstractInputMethodService.html#onGenericMotionEvent(android.view.MotionEven
t)">onGenericMotionEvent</a></span>(<a href="../../../reference/android/view/Mot
ionEvent.html">MotionEvent</a> event)</nobr>
<div class="jd-descrdiv">
Implement this to handle generic motion events on your input method.
</div>
</td></tr>
boolean</nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/inputmethodserv
ice/AbstractInputMethodService.html#onTrackballEvent(android.view.MotionEvent)">
onTrackballEvent</a></span>(<a href="../../../reference/android/view/MotionEvent
.html">MotionEvent</a> event)</nobr>
<div class="jd-descrdiv">
Implement this to handle trackball events on your input method.
</div>
</td></tr>
</table>
</div>
</div>
</td></tr>
void</nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/app/Service.htm
l#dump(java.io.FileDescriptor, java.io.PrintWriter, java.lang.String[])">dump</a
></span>(<a href="../../../reference/java/io/FileDescriptor.html">FileDescriptor
</a> fd, <a href="../../../reference/java/io/PrintWriter.html">PrintWriter</a> w
riter, <a href="../../../reference/java/lang/String.html">String[]</a> args)</no
br>
<div class="jd-descrdiv">
Print the Service's state into the given stream.
</div>
</td></tr>
n</a></nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/app/Service.htm
l#getApplication()">getApplication</a></span>()</nobr>
<div class="jd-descrdiv">
Return the application that owns this service.
</div>
</td></tr>
<a href="../../../reference/android/os/IBinder.html">IBinder</a></no
br>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/app/Service.htm
l#onBind(android.content.Intent)">onBind</a></span>(<a href="../../../reference/
android/content/Intent.html">Intent</a> intent)</nobr>
<div class="jd-descrdiv">
Return the communication channel to the service.
</div>
</td></tr>
void</nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/app/Service.htm
l#onConfigurationChanged(android.content.res.Configuration)">onConfigurationChan
ged</a></span>(<a href="../../../reference/android/content/res/Configuration.htm
l">Configuration</a> newConfig)</nobr>
<div class="jd-descrdiv">
Called by the system when the device configuration changes while your
component is running.
</div>
</td></tr>
void</nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/app/Service.htm
l#onCreate()">onCreate</a></span>()</nobr>
<div class="jd-descrdiv">
Called by the system when the service is first created.
</div>
</td></tr>
void</nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/app/Service.htm
l#onDestroy()">onDestroy</a></span>()</nobr>
<div class="jd-descrdiv">
Called by the system to notify a Service that it is no longer used and
is being removed.
</div>
</td></tr>
<td class="jd-typecol"><nobr>
void</nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/app/Service.htm
l#onLowMemory()">onLowMemory</a></span>()</nobr>
<div class="jd-descrdiv">
This is called when the overall system is running low on memory, and
actively running processes should trim their memory usage.
</div>
</td></tr>
void</nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/app/Service.htm
l#onRebind(android.content.Intent)">onRebind</a></span>(<a href="../../../refere
nce/android/content/Intent.html">Intent</a> intent)</nobr>
<div class="jd-descrdiv">
Called when new clients have connected to the service, after it had
previously been notified that all had disconnected in its
<code><a href="../../../reference/android/app/Service.html#onUnbind(android.con
tent.Intent)">onUnbind(Intent)</a></code>.
</div>
</td></tr>
void</nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/app/Service.htm
l#onStart(android.content.Intent, int)">onStart</a></span>(<a href="../../../ref
erence/android/content/Intent.html">Intent</a> intent, int startId)</nobr>
<div class="jd-descrdiv">
<em>
This method was deprecated
in API level 5.
Implement <code><a href="../../../reference/android/app/Service.html#onStart
Command(android.content.Intent, int, int)">onStartCommand(Intent, int, int)</a><
/code> instead.
</em>
</div>
</td></tr>
int</nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/app/Service.htm
l#onStartCommand(android.content.Intent, int, int)">onStartCommand</a></span>(<a
href="../../../reference/android/content/Intent.html">Intent</a> intent, int fl
ags, int startId)</nobr>
<div class="jd-descrdiv">
Called by the system every time a client explicitly starts the service
by calling
<code><a href="../../../reference/android/content/Context.html#startService(and
roid.content.Intent)">startService(Intent)</a></code>, providing the arguments i
t supplied and a
unique integer token representing the start request.
</div>
</td></tr>
void</nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/app/Service.htm
l#onTaskRemoved(android.content.Intent)">onTaskRemoved</a></span>(<a href="../..
/../reference/android/content/Intent.html">Intent</a> rootIntent)</nobr>
<div class="jd-descrdiv">
This is called if the service is currently running and the user has
removed a task that comes from the service's application.
</div>
</td></tr>
void</nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/app/Service.htm
l#onTrimMemory(int)">onTrimMemory</a></span>(int level)</nobr>
<div class="jd-descrdiv">
Called when the operating system has determined that it is a good
time for a process to trim unneeded memory from its process.
</div>
</td></tr>
boolean</nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/app/Service.htm
l#onUnbind(android.content.Intent)">onUnbind</a></span>(<a href="../../../refere
nce/android/content/Intent.html">Intent</a> intent)</nobr>
<div class="jd-descrdiv">
</div>
</td></tr>
</div>
</td></tr>
</div>
</td></tr>
</div>
</td></tr>
</div>
</td></tr>
boolean</nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/app/Service.htm
l#stopSelfResult(int)">stopSelfResult</a></span>(int startId)</nobr>
<div class="jd-descrdiv">
Stop the service if the most recent time it was started was
<var>startId</var>.
</div>
</td></tr>
</table>
</div>
</div>
</td></tr>
void</nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/content/Context
Wrapper.html#attachBaseContext(android.content.Context)">attachBaseContext</a></
</div>
</td></tr>
boolean</nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/content/Context
Wrapper.html#bindService(android.content.Intent, android.content.ServiceConnecti
on, int)">bindService</a></span>(<a href="../../../reference/android/content/Int
ent.html">Intent</a> service, <a href="../../../reference/android/content/Servic
eConnection.html">ServiceConnection</a> conn, int flags)</nobr>
<div class="jd-descrdiv">
Connect to an application service, creating it if needed.
</div>
</td></tr>
int</nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/content/Context
Wrapper.html#checkCallingOrSelfPermission(java.lang.String)">checkCallingOrSelfP
ermission</a></span>(<a href="../../../reference/java/lang/String.html">String</
a> permission)</nobr>
<div class="jd-descrdiv">
Determine whether the calling process of an IPC <em>or you</em> have b
een
granted a particular permission.
</div>
</td></tr>
int</nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/content/Context
Wrapper.html#checkCallingOrSelfUriPermission(android.net.Uri, int)">checkCalling
OrSelfUriPermission</a></span>(<a href="../../../reference/android/net/Uri.html"
>Uri</a> uri, int modeFlags)</nobr>
<div class="jd-descrdiv">
Determine whether the calling process of an IPC <em>or you</em> has be
en granted
permission to access a specific URI.
</div>
</td></tr>
int</nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/content/Context
Wrapper.html#checkCallingPermission(java.lang.String)">checkCallingPermission</a
></span>(<a href="../../../reference/java/lang/String.html">String</a> permissio
n)</nobr>
<div class="jd-descrdiv">
Determine whether the calling process of an IPC you are handling has b
een
granted a particular permission.
</div>
</td></tr>
int</nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/content/Context
Wrapper.html#checkCallingUriPermission(android.net.Uri, int)">checkCallingUriPer
mission</a></span>(<a href="../../../reference/android/net/Uri.html">Uri</a> uri
, int modeFlags)</nobr>
<div class="jd-descrdiv">
Determine whether the calling process and user ID has been
granted permission to access a specific URI.
</div>
</td></tr>
int</nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/content/Context
Wrapper.html#checkPermission(java.lang.String, int, int)">checkPermission</a></s
pan>(<a href="../../../reference/java/lang/String.html">String</a> permission, i
nt pid, int uid)</nobr>
<div class="jd-descrdiv">
Determine whether the given permission is allowed for a particular
process and user ID running in the system.
</div>
</td></tr>
<td class="jd-typecol"><nobr>
int</nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/content/Context
Wrapper.html#checkSelfPermission(java.lang.String)">checkSelfPermission</a></spa
n>(<a href="../../../reference/java/lang/String.html">String</a> permission)</no
br>
<div class="jd-descrdiv">
Determine whether <em>you</em> have been granted a particular permissi
on.
</div>
</td></tr>
int</nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/content/Context
Wrapper.html#checkUriPermission(android.net.Uri, int, int, int)">checkUriPermiss
ion</a></span>(<a href="../../../reference/android/net/Uri.html">Uri</a> uri, in
t pid, int uid, int modeFlags)</nobr>
<div class="jd-descrdiv">
Determine whether a particular process and user ID has been granted
permission to access a specific URI.
</div>
</td></tr>
int</nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/content/Context
Wrapper.html#checkUriPermission(android.net.Uri, java.lang.String, java.lang.Str
ing, int, int, int)">checkUriPermission</a></span>(<a href="../../../reference/a
ndroid/net/Uri.html">Uri</a> uri, <a href="../../../reference/java/lang/String.h
tml">String</a> readPermission, <a href="../../../reference/java/lang/String.htm
l">String</a> writePermission, int pid, int uid, int modeFlags)</nobr>
<div class="jd-descrdiv">
Check both a Uri and normal permission.
</div>
</td></tr>
void</nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/content/Context
Wrapper.html#clearWallpaper()">clearWallpaper</a></span>()</nobr>
<div class="jd-descrdiv">
<em>
This method was deprecated
in API level 23.
Use <code><a href="../../../reference/android/app/WallpaperManager.html#clea
r()">WallpaperManager.clear()</a></code> instead.
<p>This method requires the caller to hold the permission
<code><a href="../../../reference/android/Manifest.permission.html#SET_WALLPAPE
R">SET_WALLPAPER</a></code>.
</em>
</div>
</td></tr>
<a href="../../../reference/android/content/Context.html">Context</a
></nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/content/Context
Wrapper.html#createConfigurationContext(android.content.res.Configuration)">crea
teConfigurationContext</a></span>(<a href="../../../reference/android/content/re
s/Configuration.html">Configuration</a> overrideConfiguration)</nobr>
<div class="jd-descrdiv">
Return a new Context object for the current Context but whose resource
s
are adjusted to match the given Configuration.
</div>
</td></tr>
<a href="../../../reference/android/content/Context.html">Context</a
></nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/content/Context
Wrapper.html#createDisplayContext(android.view.Display)">createDisplayContext</a
></span>(<a href="../../../reference/android/view/Display.html">Display</a> disp
lay)</nobr>
<div class="jd-descrdiv">
Return a new Context object for the current Context but whose resource
s
are adjusted to match the metrics of the given Display.
</div>
</td></tr>
<a href="../../../reference/android/content/Context.html">Context</a
></nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/content/Context
Wrapper.html#createPackageContext(java.lang.String, int)">createPackageContext</
a></span>(<a href="../../../reference/java/lang/String.html">String</a> packageN
ame, int flags)</nobr>
<div class="jd-descrdiv">
Return a new Context object for the given application name.
</div>
</td></tr>
<a href="../../../reference/java/lang/String.html">String[]</a></nob
r>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/content/Context
Wrapper.html#databaseList()">databaseList</a></span>()</nobr>
<div class="jd-descrdiv">
Returns an array of strings naming the private databases associated wi
th
this Context's application package.
</div>
</td></tr>
boolean</nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/content/Context
Wrapper.html#deleteDatabase(java.lang.String)">deleteDatabase</a></span>(<a href
="../../../reference/java/lang/String.html">String</a> name)</nobr>
<div class="jd-descrdiv">
</div>
</td></tr>
boolean</nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/content/Context
Wrapper.html#deleteFile(java.lang.String)">deleteFile</a></span>(<a href="../../
../reference/java/lang/String.html">String</a> name)</nobr>
<div class="jd-descrdiv">
Delete the given private file associated with this Context's
application package.
</div>
</td></tr>
void</nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/content/Context
Wrapper.html#enforceCallingOrSelfPermission(java.lang.String, java.lang.String)"
>enforceCallingOrSelfPermission</a></span>(<a href="../../../reference/java/lang
/String.html">String</a> permission, <a href="../../../reference/java/lang/Strin
g.html">String</a> message)</nobr>
<div class="jd-descrdiv">
If neither you nor the calling process of an IPC you are
handling has been granted a particular permission, throw a
<code><a href="../../../reference/java/lang/SecurityException.html">SecurityExc
eption</a></code>.
</div>
</td></tr>
void</nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/content/Context
Wrapper.html#enforceCallingOrSelfUriPermission(android.net.Uri, int, java.lang.S
tring)">enforceCallingOrSelfUriPermission</a></span>(<a href="../../../reference
/android/net/Uri.html">Uri</a> uri, int modeFlags, <a href="../../../reference/j
ava/lang/String.html">String</a> message)</nobr>
<div class="jd-descrdiv">
If the calling process of an IPC <em>or you</em> has not been
granted permission to access a specific URI, throw <code><a href="../../../refe
rence/java/lang/SecurityException.html">SecurityException</a></code>.
</div>
</td></tr>
void</nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/content/Context
Wrapper.html#enforceCallingPermission(java.lang.String, java.lang.String)">enfor
ceCallingPermission</a></span>(<a href="../../../reference/java/lang/String.html
">String</a> permission, <a href="../../../reference/java/lang/String.html">Stri
ng</a> message)</nobr>
<div class="jd-descrdiv">
If the calling process of an IPC you are handling has not been
granted a particular permission, throw a <code><a href="../../../reference/java
/lang/SecurityException.html">SecurityException</a></code>.
</div>
</td></tr>
void</nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/content/Context
Wrapper.html#enforceCallingUriPermission(android.net.Uri, int, java.lang.String)
">enforceCallingUriPermission</a></span>(<a href="../../../reference/android/net
/Uri.html">Uri</a> uri, int modeFlags, <a href="../../../reference/java/lang/Str
ing.html">String</a> message)</nobr>
<div class="jd-descrdiv">
If the calling process and user ID has not been granted
permission to access a specific URI, throw <code><a href="../../../reference/ja
va/lang/SecurityException.html">SecurityException</a></code>.
</div>
</td></tr>
void</nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/content/Context
Wrapper.html#enforcePermission(java.lang.String, int, int, java.lang.String)">en
forcePermission</a></span>(<a href="../../../reference/java/lang/String.html">St
ring</a> permission, int pid, int uid, <a href="../../../reference/java/lang/Str
ing.html">String</a> message)</nobr>
<div class="jd-descrdiv">
If the given permission is not allowed for a particular process
and user ID running in the system, throw a <code><a href="../../../reference/ja
va/lang/SecurityException.html">SecurityException</a></code>.
</div>
</td></tr>
void</nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/content/Context
Wrapper.html#enforceUriPermission(android.net.Uri, int, int, int, java.lang.Stri
ng)">enforceUriPermission</a></span>(<a href="../../../reference/android/net/Uri
.html">Uri</a> uri, int pid, int uid, int modeFlags, <a href="../../../reference
/java/lang/String.html">String</a> message)</nobr>
<div class="jd-descrdiv">
If a particular process and user ID has not been granted
permission to access a specific URI, throw <code><a href="../../../reference/ja
va/lang/SecurityException.html">SecurityException</a></code>.
</div>
</td></tr>
void</nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/content/Context
Wrapper.html#enforceUriPermission(android.net.Uri, java.lang.String, java.lang.S
tring, int, int, int, java.lang.String)">enforceUriPermission</a></span>(<a href
="../../../reference/android/net/Uri.html">Uri</a> uri, <a href="../../../refere
nce/java/lang/String.html">String</a> readPermission, <a href="../../../referenc
e/java/lang/String.html">String</a> writePermission, int pid, int uid, int modeF
lags, <a href="../../../reference/java/lang/String.html">String</a> message)</no
br>
<div class="jd-descrdiv">
Enforce both a Uri and normal permission.
</div>
</td></tr>
<a href="../../../reference/java/lang/String.html">String[]</a></nob
r>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/content/Context
Wrapper.html#fileList()">fileList</a></span>()</nobr>
<div class="jd-descrdiv">
Returns an array of strings naming the private files associated with
this Context's application package.
</div>
</td></tr>
<a href="../../../reference/android/content/Context.html">Context</a
></nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/content/Context
Wrapper.html#getApplicationContext()">getApplicationContext</a></span>()</nobr>
<div class="jd-descrdiv">
Return the context of the single, global Application object of the
current process.
</div>
</td></tr>
<a href="../../../reference/android/content/pm/ApplicationInfo.html"
>ApplicationInfo</a></nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/content/Context
Wrapper.html#getApplicationInfo()">getApplicationInfo</a></span>()</nobr>
<div class="jd-descrdiv">
Return the full application info for this context's package.
</div>
</td></tr>
<a href="../../../reference/android/content/res/AssetManager.html">A
ssetManager</a></nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/content/Context
Wrapper.html#getAssets()">getAssets</a></span>()</nobr>
<div class="jd-descrdiv">
Return an AssetManager instance for your application's package.
</div>
</td></tr>
<a href="../../../reference/android/content/Context.html">Context</a
></nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/content/Context
Wrapper.html#getBaseContext()">getBaseContext</a></span>()</nobr>
</td></tr>
<a href="../../../reference/java/io/File.html">File</a></nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/content/Context
Wrapper.html#getCacheDir()">getCacheDir</a></span>()</nobr>
<div class="jd-descrdiv">
Returns the absolute path to the application specific cache directory
on the filesystem.
</div>
</td></tr>
<a href="../../../reference/java/lang/ClassLoader.html">ClassLoader<
/a></nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/content/Context
Wrapper.html#getClassLoader()">getClassLoader</a></span>()</nobr>
<div class="jd-descrdiv">
Return a class loader you can use to retrieve classes in this package.
</div>
</td></tr>
<a href="../../../reference/java/io/File.html">File</a></nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/content/Context
Wrapper.html#getCodeCacheDir()">getCodeCacheDir</a></span>()</nobr>
<div class="jd-descrdiv">
Returns the absolute path to the application specific cache directory
on
the filesystem designed for storing cached code.
</div>
</td></tr>
<a href="../../../reference/android/content/ContentResolver.html">Co
ntentResolver</a></nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/content/Context
Wrapper.html#getContentResolver()">getContentResolver</a></span>()</nobr>
<div class="jd-descrdiv">
Return a ContentResolver instance for your application's package.
</div>
</td></tr>
<a href="../../../reference/java/io/File.html">File</a></nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/content/Context
Wrapper.html#getDatabasePath(java.lang.String)">getDatabasePath</a></span>(<a hr
ef="../../../reference/java/lang/String.html">String</a> name)</nobr>
<div class="jd-descrdiv">
Returns the absolute path on the filesystem where a database created w
ith
<code><a href="../../../reference/android/content/Context.html#openOrCreateData
base(java.lang.String, int, android.database.sqlite.SQLiteDatabase.CursorFactory
)">openOrCreateDatabase(String, int, SQLiteDatabase.CursorFactory)</a></code> is
stored.
</div>
</td></tr>
<a href="../../../reference/java/io/File.html">File</a></nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/content/Context
Wrapper.html#getDir(java.lang.String, int)">getDir</a></span>(<a href="../../../
reference/java/lang/String.html">String</a> name, int mode)</nobr>
<div class="jd-descrdiv">
Retrieve, creating if needed, a new directory in which the application
can place its own custom data files.
</div>
</td></tr>
<a href="../../../reference/java/io/File.html">File</a></nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/content/Context
Wrapper.html#getExternalCacheDir()">getExternalCacheDir</a></span>()</nobr>
<div class="jd-descrdiv">
Returns the absolute path to the directory on the primary external fil
esystem
(that is somewhere on <code><a href="../../../reference/android/os/Environment.
html#getExternalStorageDirectory()">Environment.getExternalStorageDirectory()</a
></code> where the application can
place cache files it owns.
</div>
</td></tr>
<a href="../../../reference/java/io/File.html">File[]</a></nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/content/Context
Wrapper.html#getExternalCacheDirs()">getExternalCacheDirs</a></span>()</nobr>
<div class="jd-descrdiv">
Returns absolute paths to application-specific directories on all
external storage devices where the application can place cache files it
owns.
</div>
</td></tr>
<a href="../../../reference/java/io/File.html">File</a></nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/content/Context
Wrapper.html#getExternalFilesDir(java.lang.String)">getExternalFilesDir</a></spa
n>(<a href="../../../reference/java/lang/String.html">String</a> type)</nobr>
<div class="jd-descrdiv">
Returns the absolute path to the directory on the primary external fil
esystem
(that is somewhere on <code><a href="../../../reference/android/os/Environment.
html#getExternalStorageDirectory()">Environment.getExternalStorageDirectory()</a
></code>) where the application can
place persistent files it owns.
</div>
</td></tr>
<a href="../../../reference/java/io/File.html">File[]</a></nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/content/Context
Wrapper.html#getExternalFilesDirs(java.lang.String)">getExternalFilesDirs</a></s
pan>(<a href="../../../reference/java/lang/String.html">String</a> type)</nobr>
<div class="jd-descrdiv">
Returns absolute paths to application-specific directories on all
external storage devices where the application can place persistent files
it owns.
</div>
</td></tr>
<a href="../../../reference/java/io/File.html">File[]</a></nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/content/Context
Wrapper.html#getExternalMediaDirs()">getExternalMediaDirs</a></span>()</nobr>
<div class="jd-descrdiv">
Returns absolute paths to application-specific directories on all
external storage devices where the application can place media files.
</div>
</td></tr>
<a href="../../../reference/java/io/File.html">File</a></nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/content/Context
Wrapper.html#getFileStreamPath(java.lang.String)">getFileStreamPath</a></span>(<
a href="../../../reference/java/lang/String.html">String</a> name)</nobr>
<div class="jd-descrdiv">
Returns the absolute path on the filesystem where a file created with
<code><a href="../../../reference/android/content/Context.html#openFileOutput(j
ava.lang.String, int)">openFileOutput(String, int)</a></code> is stored.
</div>
</td></tr>
<a href="../../../reference/java/io/File.html">File</a></nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/content/Context
Wrapper.html#getFilesDir()">getFilesDir</a></span>()</nobr>
<div class="jd-descrdiv">
Returns the absolute path to the directory on the filesystem where
files created with <code><a href="../../../reference/android/content/Context.ht
ml#openFileOutput(java.lang.String, int)">openFileOutput(String, int)</a></code>
are stored.
</div>
</td></tr>
<a href="../../../reference/android/os/Looper.html">Looper</a></nobr
>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/content/Context
Wrapper.html#getMainLooper()">getMainLooper</a></span>()</nobr>
<div class="jd-descrdiv">
Return the Looper for the main thread of the current process.
</div>
</td></tr>
<a href="../../../reference/java/io/File.html">File</a></nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/content/Context
Wrapper.html#getNoBackupFilesDir()">getNoBackupFilesDir</a></span>()</nobr>
<div class="jd-descrdiv">
Returns the absolute path to the directory on the filesystem similar t
o
<code><a href="../../../reference/android/content/Context.html#getFilesDir()">g
etFilesDir()</a></code>.
</div>
</td></tr>
<a href="../../../reference/java/io/File.html">File</a></nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/content/Context
Wrapper.html#getObbDir()">getObbDir</a></span>()</nobr>
<div class="jd-descrdiv">
Return the primary external storage directory where this application's
OBB
files (if there are any) can be found.
</div>
</td></tr>
<a href="../../../reference/java/io/File.html">File[]</a></nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/content/Context
Wrapper.html#getObbDirs()">getObbDirs</a></span>()</nobr>
<div class="jd-descrdiv">
Returns absolute paths to application-specific directories on all
external storage devices where the application's OBB files (if there are
any) can be found.
</div>
</td></tr>
<a href="../../../reference/java/lang/String.html">String</a></nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/content/Context
Wrapper.html#getPackageCodePath()">getPackageCodePath</a></span>()</nobr>
<div class="jd-descrdiv">
Return the full path to this context's primary Android package.
</div>
</td></tr>
<td class="jd-typecol"><nobr>
<a href="../../../reference/android/content/pm/PackageManager.html">
PackageManager</a></nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/content/Context
Wrapper.html#getPackageManager()">getPackageManager</a></span>()</nobr>
<div class="jd-descrdiv">
Return PackageManager instance to find global package information.
</div>
</td></tr>
<a href="../../../reference/java/lang/String.html">String</a></nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/content/Context
Wrapper.html#getPackageName()">getPackageName</a></span>()</nobr>
<div class="jd-descrdiv">
Return the name of this application's package.
</div>
</td></tr>
<a href="../../../reference/java/lang/String.html">String</a></nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/content/Context
Wrapper.html#getPackageResourcePath()">getPackageResourcePath</a></span>()</nobr
>
<div class="jd-descrdiv">
Return the full path to this context's primary Android package.
</div>
</td></tr>
<a href="../../../reference/android/content/res/Resources.html">Reso
urces</a></nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/content/Context
Wrapper.html#getResources()">getResources</a></span>()</nobr>
<div class="jd-descrdiv">
Return a Resources instance for your application's package.
</div>
</td></tr>
<a href="../../../reference/android/content/SharedPreferences.html">
SharedPreferences</a></nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/content/Context
Wrapper.html#getSharedPreferences(java.lang.String, int)">getSharedPreferences</
a></span>(<a href="../../../reference/java/lang/String.html">String</a> name, in
t mode)</nobr>
<div class="jd-descrdiv">
Retrieve and hold the contents of the preferences file 'name', returni
ng
a SharedPreferences through which you can retrieve and modify its
values.
</div>
</td></tr>
<a href="../../../reference/java/lang/Object.html">Object</a></nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/content/Context
Wrapper.html#getSystemService(java.lang.String)">getSystemService</a></span>(<a
href="../../../reference/java/lang/String.html">String</a> name)</nobr>
<div class="jd-descrdiv">
Return the handle to a system-level service by name.
</div>
</td></tr>
<a href="../../../reference/java/lang/String.html">String</a></nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/content/Context
Wrapper.html#getSystemServiceName(java.lang.Class<?>)">getSystemServiceName</a><
/span>(<a href="../../../reference/java/lang/Class.html">Class</a><?> serv
iceClass)</nobr>
<div class="jd-descrdiv">
Gets the name of the system-level service that is represented by the s
pecified class.
</div>
</td></tr>
<a href="../../../reference/android/content/res/Resources.Theme.html
">Resources.Theme</a></nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/content/Context
Wrapper.html#getTheme()">getTheme</a></span>()</nobr>
<div class="jd-descrdiv">
Return the Theme object associated with this Context.
</div>
</td></tr>
<a href="../../../reference/android/graphics/drawable/Drawable.html"
>Drawable</a></nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/content/Context
Wrapper.html#getWallpaper()">getWallpaper</a></span>()</nobr>
<div class="jd-descrdiv">
<em>
This method was deprecated
in API level 23.
Use <code><a href="../../../reference/android/app/WallpaperManager.html#getD
rawable()">WallpaperManager.get()</a></code> instead.
</em>
</div>
</td></tr>
int</nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/content/Context
Wrapper.html#getWallpaperDesiredMinimumHeight()">getWallpaperDesiredMinimumHeigh
t</a></span>()</nobr>
<div class="jd-descrdiv">
<em>
This method was deprecated
in API level 23.
Use <code><a href="../../../reference/android/app/WallpaperManager.html#getD
esiredMinimumHeight()">WallpaperManager.getDesiredMinimumHeight()</a></code> ins
tead.
</em>
</div>
</td></tr>
int</nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/content/Context
Wrapper.html#getWallpaperDesiredMinimumWidth()">getWallpaperDesiredMinimumWidth<
/a></span>()</nobr>
<div class="jd-descrdiv">
<em>
This method was deprecated
in API level 23.
Use <code><a href="../../../reference/android/app/WallpaperManager.html#getD
esiredMinimumWidth()">WallpaperManager.getDesiredMinimumWidth()</a></code> inste
ad.
</em>
</div>
</td></tr>
void</nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/content/Context
Wrapper.html#grantUriPermission(java.lang.String, android.net.Uri, int)">grantUr
iPermission</a></span>(<a href="../../../reference/java/lang/String.html">String
</a> toPackage, <a href="../../../reference/android/net/Uri.html">Uri</a> uri, i
nt modeFlags)</nobr>
<div class="jd-descrdiv">
Grant permission to access a specific Uri to another package, regardle
ss
of whether that package has general permission to access the Uri's
content provider.
</div>
</td></tr>
boolean</nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/content/Context
Wrapper.html#isRestricted()">isRestricted</a></span>()</nobr>
<div class="jd-descrdiv">
Indicates whether this Context is restricted.
</div>
</td></tr>
<a href="../../../reference/java/io/FileInputStream.html">FileInputS
tream</a></nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/content/Context
Wrapper.html#openFileInput(java.lang.String)">openFileInput</a></span>(<a href="
../../../reference/java/lang/String.html">String</a> name)</nobr>
<div class="jd-descrdiv">
Open a private file associated with this Context's application package
for reading.
</div>
</td></tr>
<a href="../../../reference/java/io/FileOutputStream.html">FileOutpu
tStream</a></nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/content/Context
Wrapper.html#openFileOutput(java.lang.String, int)">openFileOutput</a></span>(<a
href="../../../reference/java/lang/String.html">String</a> name, int mode)</nob
r>
<div class="jd-descrdiv">
Open a private file associated with this Context's application package
for writing.
</div>
</td></tr>
<a href="../../../reference/android/database/sqlite/SQLiteDatabase.h
tml">SQLiteDatabase</a></nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/content/Context
Wrapper.html#openOrCreateDatabase(java.lang.String, int, android.database.sqlite
.SQLiteDatabase.CursorFactory)">openOrCreateDatabase</a></span>(<a href="../../.
</div>
</td></tr>
<a href="../../../reference/android/database/sqlite/SQLiteDatabase.h
tml">SQLiteDatabase</a></nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/content/Context
Wrapper.html#openOrCreateDatabase(java.lang.String, int, android.database.sqlite
.SQLiteDatabase.CursorFactory, android.database.DatabaseErrorHandler)">openOrCre
ateDatabase</a></span>(<a href="../../../reference/java/lang/String.html">String
</a> name, int mode, <a href="../../../reference/android/database/sqlite/SQLiteD
atabase.CursorFactory.html">SQLiteDatabase.CursorFactory</a> factory, <a href=".
./../../reference/android/database/DatabaseErrorHandler.html">DatabaseErrorHandl
er</a> errorHandler)</nobr>
<div class="jd-descrdiv">
Open a new private SQLiteDatabase associated with this Context's
application package.
</div>
</td></tr>
<a href="../../../reference/android/graphics/drawable/Drawable.html"
>Drawable</a></nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/content/Context
Wrapper.html#peekWallpaper()">peekWallpaper</a></span>()</nobr>
<div class="jd-descrdiv">
<em>
This method was deprecated
in API level 23.
Use <code><a href="../../../reference/android/app/WallpaperManager.html#peek
Drawable()">WallpaperManager.peek()</a></code> instead.
</em>
</div>
</td></tr>
<a href="../../../reference/android/content/Intent.html">Intent</a><
/nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/content/Context
Wrapper.html#registerReceiver(android.content.BroadcastReceiver, android.content
.IntentFilter)">registerReceiver</a></span>(<a href="../../../reference/android/
content/BroadcastReceiver.html">BroadcastReceiver</a> receiver, <a href="../../.
./reference/android/content/IntentFilter.html">IntentFilter</a> filter)</nobr>
<div class="jd-descrdiv">
Register a BroadcastReceiver to be run in the main activity thread.
</div>
</td></tr>
<a href="../../../reference/android/content/Intent.html">Intent</a><
/nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/content/Context
Wrapper.html#registerReceiver(android.content.BroadcastReceiver, android.content
.IntentFilter, java.lang.String, android.os.Handler)">registerReceiver</a></span
>(<a href="../../../reference/android/content/BroadcastReceiver.html">BroadcastR
eceiver</a> receiver, <a href="../../../reference/android/content/IntentFilter.h
tml">IntentFilter</a> filter, <a href="../../../reference/java/lang/String.html"
>String</a> broadcastPermission, <a href="../../../reference/android/os/Handler.
html">Handler</a> scheduler)</nobr>
<div class="jd-descrdiv">
Register to receive intent broadcasts, to run in the context of
<var>scheduler</var>.
</div>
</td></tr>
void</nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/content/Context
Wrapper.html#removeStickyBroadcast(android.content.Intent)">removeStickyBroadcas
t</a></span>(<a href="../../../reference/android/content/Intent.html">Intent</a>
intent)</nobr>
<div class="jd-descrdiv">
<em>
This method was deprecated
in API level 23.
Sticky broadcasts should not be used. They provide no security (anyone
can access them), no protection (anyone can modify them), and many other proble
ms.
The recommended pattern is to use a non-sticky broadcast to report that <em>som
ething</em>
has changed, with another mechanism for apps to retrieve the current value when
ever
desired.</em>
</div>
</td></tr>
void</nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/content/Context
Wrapper.html#removeStickyBroadcastAsUser(android.content.Intent, android.os.User
Handle)">removeStickyBroadcastAsUser</a></span>(<a href="../../../reference/andr
oid/content/Intent.html">Intent</a> intent, <a href="../../../reference/android/
os/UserHandle.html">UserHandle</a> user)</nobr>
<div class="jd-descrdiv">
<em>
This method was deprecated
in API level 23.
Sticky broadcasts should not be used. They provide no security (anyone
can access them), no protection (anyone can modify them), and many other proble
ms.
The recommended pattern is to use a non-sticky broadcast to report that <em>som
ething</em>
has changed, with another mechanism for apps to retrieve the current value when
ever
desired.</em>
</div>
</td></tr>
void</nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/content/Context
Wrapper.html#revokeUriPermission(android.net.Uri, int)">revokeUriPermission</a><
/span>(<a href="../../../reference/android/net/Uri.html">Uri</a> uri, int modeFl
ags)</nobr>
<div class="jd-descrdiv">
Remove all permissions to access a particular content provider Uri
that were previously added with <code><a href="../../../reference/android/conte
nt/Context.html#grantUriPermission(java.lang.String, android.net.Uri, int)">gran
tUriPermission(String, Uri, int)</a></code>.
</div>
</td></tr>
void</nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/content/Context
Wrapper.html#sendBroadcast(android.content.Intent)">sendBroadcast</a></span>(<a
href="../../../reference/android/content/Intent.html">Intent</a> intent)</nobr>
<div class="jd-descrdiv">
Broadcast the given intent to all interested BroadcastReceivers.
</div>
</td></tr>
void</nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/content/Context
Wrapper.html#sendBroadcast(android.content.Intent, java.lang.String)">sendBroadc
ast</a></span>(<a href="../../../reference/android/content/Intent.html">Intent</
a> intent, <a href="../../../reference/java/lang/String.html">String</a> receive
rPermission)</nobr>
<div class="jd-descrdiv">
Broadcast the given intent to all interested BroadcastReceivers, allow
ing
an optional required permission to be enforced.
</div>
</td></tr>
void</nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/content/Context
Wrapper.html#sendBroadcastAsUser(android.content.Intent, android.os.UserHandle)"
>sendBroadcastAsUser</a></span>(<a href="../../../reference/android/content/Inte
nt.html">Intent</a> intent, <a href="../../../reference/android/os/UserHandle.ht
ml">UserHandle</a> user)</nobr>
<div class="jd-descrdiv">
Version of <code><a href="../../../reference/android/content/Context.h
tml#sendBroadcast(android.content.Intent)">sendBroadcast(Intent)</a></code> that
allows you to specify the
user the broadcast will be sent to.
</div>
</td></tr>
void</nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/content/Context
Wrapper.html#sendBroadcastAsUser(android.content.Intent, android.os.UserHandle,
java.lang.String)">sendBroadcastAsUser</a></span>(<a href="../../../reference/an
droid/content/Intent.html">Intent</a> intent, <a href="../../../reference/androi
d/os/UserHandle.html">UserHandle</a> user, <a href="../../../reference/java/lang
/String.html">String</a> receiverPermission)</nobr>
<div class="jd-descrdiv">
Version of <code><a href="../../../reference/android/content/Context.h
tml#sendBroadcast(android.content.Intent, java.lang.String)">sendBroadcast(Inten
t, String)</a></code> that allows you to specify the
user the broadcast will be sent to.
</div>
</td></tr>
void</nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/content/Context
Wrapper.html#sendOrderedBroadcast(android.content.Intent, java.lang.String, andr
oid.content.BroadcastReceiver, android.os.Handler, int, java.lang.String, androi
d.os.Bundle)">sendOrderedBroadcast</a></span>(<a href="../../../reference/androi
d/content/Intent.html">Intent</a> intent, <a href="../../../reference/java/lang/
String.html">String</a> receiverPermission, <a href="../../../reference/android/
content/BroadcastReceiver.html">BroadcastReceiver</a> resultReceiver, <a href=".
./../../reference/android/os/Handler.html">Handler</a> scheduler, int initialCod
e, <a href="../../../reference/java/lang/String.html">String</a> initialData, <a
href="../../../reference/android/os/Bundle.html">Bundle</a> initialExtras)</nob
r>
<div class="jd-descrdiv">
Version of <code><a href="../../../reference/android/content/Context.h
tml#sendBroadcast(android.content.Intent)">sendBroadcast(Intent)</a></code> that
allows you to
receive data back from the broadcast.
</div>
</td></tr>
void</nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/content/Context
Wrapper.html#sendOrderedBroadcast(android.content.Intent, java.lang.String)">sen
dOrderedBroadcast</a></span>(<a href="../../../reference/android/content/Intent.
html">Intent</a> intent, <a href="../../../reference/java/lang/String.html">Stri
ng</a> receiverPermission)</nobr>
<div class="jd-descrdiv">
Broadcast the given intent to all interested BroadcastReceivers, deliv
ering
them one at a time to allow more preferred receivers to consume the
broadcast before it is delivered to less preferred receivers.
</div>
</td></tr>
void</nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/content/Context
Wrapper.html#sendOrderedBroadcastAsUser(android.content.Intent, android.os.UserH
andle, java.lang.String, android.content.BroadcastReceiver, android.os.Handler,
int, java.lang.String, android.os.Bundle)">sendOrderedBroadcastAsUser</a></span>
(<a href="../../../reference/android/content/Intent.html">Intent</a> intent, <a
href="../../../reference/android/os/UserHandle.html">UserHandle</a> user, <a hre
f="../../../reference/java/lang/String.html">String</a> receiverPermission, <a h
ref="../../../reference/android/content/BroadcastReceiver.html">BroadcastReceive
r</a> resultReceiver, <a href="../../../reference/android/os/Handler.html">Handl
er</a> scheduler, int initialCode, <a href="../../../reference/java/lang/String.
html">String</a> initialData, <a href="../../../reference/android/os/Bundle.html
">Bundle</a> initialExtras)</nobr>
<div class="jd-descrdiv">
Version of
<code><a href="../../../reference/android/content/Context.html#sendOrderedBroad
cast(android.content.Intent, java.lang.String, android.content.BroadcastReceiver
, android.os.Handler, int, java.lang.String, android.os.Bundle)">sendOrderedBroa
dcast(Intent, String, BroadcastReceiver, Handler, int, String, Bundle)</a></code
>
that allows you to specify the
user the broadcast will be sent to.
</div>
</td></tr>
void</nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/content/Context
Wrapper.html#sendStickyBroadcast(android.content.Intent)">sendStickyBroadcast</a
></span>(<a href="../../../reference/android/content/Intent.html">Intent</a> int
ent)</nobr>
<div class="jd-descrdiv">
<em>
This method was deprecated
</div>
</td></tr>
void</nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/content/Context
Wrapper.html#sendStickyBroadcastAsUser(android.content.Intent, android.os.UserHa
ndle)">sendStickyBroadcastAsUser</a></span>(<a href="../../../reference/android/
content/Intent.html">Intent</a> intent, <a href="../../../reference/android/os/U
serHandle.html">UserHandle</a> user)</nobr>
<div class="jd-descrdiv">
<em>
This method was deprecated
in API level 23.
Sticky broadcasts should not be used. They provide no security (anyone
can access them), no protection (anyone can modify them), and many other proble
ms.
The recommended pattern is to use a non-sticky broadcast to report that <em>som
ething</em>
has changed, with another mechanism for apps to retrieve the current value when
ever
desired.</em>
</div>
</td></tr>
void</nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/content/Context
Wrapper.html#sendStickyOrderedBroadcast(android.content.Intent, android.content.
BroadcastReceiver, android.os.Handler, int, java.lang.String, android.os.Bundle)
">sendStickyOrderedBroadcast</a></span>(<a href="../../../reference/android/cont
ent/Intent.html">Intent</a> intent, <a href="../../../reference/android/content/
BroadcastReceiver.html">BroadcastReceiver</a> resultReceiver, <a href="../../../
reference/android/os/Handler.html">Handler</a> scheduler, int initialCode, <a hr
ef="../../../reference/java/lang/String.html">String</a> initialData, <a href=".
./../../reference/android/os/Bundle.html">Bundle</a> initialExtras)</nobr>
<div class="jd-descrdiv">
<em>
This method was deprecated
in API level 23.
Sticky broadcasts should not be used. They provide no security (anyone
can access them), no protection (anyone can modify them), and many other proble
ms.
The recommended pattern is to use a non-sticky broadcast to report that <em>som
ething</em>
has changed, with another mechanism for apps to retrieve the current value when
ever
desired.</em>
</div>
</td></tr>
void</nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/content/Context
Wrapper.html#sendStickyOrderedBroadcastAsUser(android.content.Intent, android.os
.UserHandle, android.content.BroadcastReceiver, android.os.Handler, int, java.la
ng.String, android.os.Bundle)">sendStickyOrderedBroadcastAsUser</a></span>(<a hr
ef="../../../reference/android/content/Intent.html">Intent</a> intent, <a href="
../../../reference/android/os/UserHandle.html">UserHandle</a> user, <a href="../
../../reference/android/content/BroadcastReceiver.html">BroadcastReceiver</a> re
sultReceiver, <a href="../../../reference/android/os/Handler.html">Handler</a> s
cheduler, int initialCode, <a href="../../../reference/java/lang/String.html">St
ring</a> initialData, <a href="../../../reference/android/os/Bundle.html">Bundle
</a> initialExtras)</nobr>
<div class="jd-descrdiv">
<em>
</div>
</td></tr>
void</nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/content/Context
Wrapper.html#setTheme(int)">setTheme</a></span>(int resid)</nobr>
<div class="jd-descrdiv">
Set the base theme for this context.
</div>
</td></tr>
void</nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/content/Context
Wrapper.html#setWallpaper(android.graphics.Bitmap)">setWallpaper</a></span>(<a h
ref="../../../reference/android/graphics/Bitmap.html">Bitmap</a> bitmap)</nobr>
<div class="jd-descrdiv">
<em>
This method was deprecated
</div>
</td></tr>
void</nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/content/Context
Wrapper.html#setWallpaper(java.io.InputStream)">setWallpaper</a></span>(<a href=
"../../../reference/java/io/InputStream.html">InputStream</a> data)</nobr>
<div class="jd-descrdiv">
<em>
This method was deprecated
in API level 23.
Use <code><a href="../../../reference/android/app/WallpaperManager.html#setS
tream(java.io.InputStream)">WallpaperManager.set()</a></code> instead.
<p>This method requires the caller to hold the permission
<code><a href="../../../reference/android/Manifest.permission.html#SET_WALLPAPE
R">SET_WALLPAPER</a></code>.
</em>
</div>
</td></tr>
void</nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/content/Context
Wrapper.html#startActivities(android.content.Intent[])">startActivities</a></spa
n>(<a href="../../../reference/android/content/Intent.html">Intent[]</a> intents
)</nobr>
<div class="jd-descrdiv">
Same as <code><a href="../../../reference/android/content/Context.html
#startActivities(android.content.Intent[], android.os.Bundle)">startActivities(I
ntent[], Bundle)</a></code> with no options
specified.
</div>
</td></tr>
void</nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/content/Context
Wrapper.html#startActivities(android.content.Intent[], android.os.Bundle)">start
Activities</a></span>(<a href="../../../reference/android/content/Intent.html">I
ntent[]</a> intents, <a href="../../../reference/android/os/Bundle.html">Bundle<
/a> options)</nobr>
<div class="jd-descrdiv">
Launch multiple new activities.
</div>
</td></tr>
void</nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/content/Context
Wrapper.html#startActivity(android.content.Intent)">startActivity</a></span>(<a
href="../../../reference/android/content/Intent.html">Intent</a> intent)</nobr>
<div class="jd-descrdiv">
</div>
</td></tr>
void</nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/content/Context
Wrapper.html#startActivity(android.content.Intent, android.os.Bundle)">startActi
vity</a></span>(<a href="../../../reference/android/content/Intent.html">Intent<
/a> intent, <a href="../../../reference/android/os/Bundle.html">Bundle</a> optio
ns)</nobr>
<div class="jd-descrdiv">
Launch a new activity.
</div>
</td></tr>
boolean</nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/content/Context
Wrapper.html#startInstrumentation(android.content.ComponentName, java.lang.Strin
g, android.os.Bundle)">startInstrumentation</a></span>(<a href="../../../referen
ce/android/content/ComponentName.html">ComponentName</a> className, <a href="../
../../reference/java/lang/String.html">String</a> profileFile, <a href="../../..
/reference/android/os/Bundle.html">Bundle</a> arguments)</nobr>
<div class="jd-descrdiv">
Start executing an <code><a href="../../../reference/android/app/Instr
umentation.html">Instrumentation</a></code> class.
</div>
</td></tr>
void</nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/content/Context
Wrapper.html#startIntentSender(android.content.IntentSender, android.content.Int
ent, int, int, int, android.os.Bundle)">startIntentSender</a></span>(<a href="..
/../../reference/android/content/IntentSender.html">IntentSender</a> intent, <a
href="../../../reference/android/content/Intent.html">Intent</a> fillInIntent, i
nt flagsMask, int flagsValues, int extraFlags, <a href="../../../reference/andro
id/os/Bundle.html">Bundle</a> options)</nobr>
<div class="jd-descrdiv">
Like <code><a href="../../../reference/android/content/Context.html#st
artActivity(android.content.Intent, android.os.Bundle)">startActivity(Intent, Bu
ndle)</a></code>, but taking a IntentSender
to start.
</div>
</td></tr>
void</nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/content/Context
Wrapper.html#startIntentSender(android.content.IntentSender, android.content.Int
ent, int, int, int)">startIntentSender</a></span>(<a href="../../../reference/an
droid/content/IntentSender.html">IntentSender</a> intent, <a href="../../../refe
rence/android/content/Intent.html">Intent</a> fillInIntent, int flagsMask, int f
lagsValues, int extraFlags)</nobr>
<div class="jd-descrdiv">
Same as <code><a href="../../../reference/android/content/Context.html
</div>
</td></tr>
<a href="../../../reference/android/content/ComponentName.html">Comp
onentName</a></nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/content/Context
Wrapper.html#startService(android.content.Intent)">startService</a></span>(<a hr
ef="../../../reference/android/content/Intent.html">Intent</a> service)</nobr>
<div class="jd-descrdiv">
Request that a given application service be started.
</div>
</td></tr>
boolean</nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/content/Context
Wrapper.html#stopService(android.content.Intent)">stopService</a></span>(<a href
="../../../reference/android/content/Intent.html">Intent</a> name)</nobr>
<div class="jd-descrdiv">
Request that a given application service be stopped.
</div>
</td></tr>
void</nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/content/Context
Wrapper.html#unbindService(android.content.ServiceConnection)">unbindService</a>
</span>(<a href="../../../reference/android/content/ServiceConnection.html">Serv
iceConnection</a> conn)</nobr>
<div class="jd-descrdiv">
Disconnect from an application service.
</div>
</td></tr>
void</nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/content/Context
Wrapper.html#unregisterReceiver(android.content.BroadcastReceiver)">unregisterRe
ceiver</a></span>(<a href="../../../reference/android/content/BroadcastReceiver.
html">BroadcastReceiver</a> receiver)</nobr>
<div class="jd-descrdiv">
Unregister a previously registered BroadcastReceiver.
</div>
</td></tr>
</table>
</div>
</div>
</td></tr>
boolean</nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/content/Context
.html#bindService(android.content.Intent, android.content.ServiceConnection, int
)">bindService</a></span>(<a href="../../../reference/android/content/Intent.htm
l">Intent</a> service, <a href="../../../reference/android/content/ServiceConnec
tion.html">ServiceConnection</a> conn, int flags)</nobr>
<div class="jd-descrdiv">
Connect to an application service, creating it if needed.
</div>
</td></tr>
int</nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/content/Context
.html#checkCallingOrSelfPermission(java.lang.String)">checkCallingOrSelfPermissi
on</a></span>(<a href="../../../reference/java/lang/String.html">String</a> perm
ission)</nobr>
<div class="jd-descrdiv">
Determine whether the calling process of an IPC <em>or you</em> have b
een
granted a particular permission.
</div>
</td></tr>
int</nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/content/Context
.html#checkCallingOrSelfUriPermission(android.net.Uri, int)">checkCallingOrSelfU
riPermission</a></span>(<a href="../../../reference/android/net/Uri.html">Uri</a
> uri, int modeFlags)</nobr>
<div class="jd-descrdiv">
Determine whether the calling process of an IPC <em>or you</em> has be
en granted
permission to access a specific URI.
</div>
</td></tr>
int</nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/content/Context
.html#checkCallingPermission(java.lang.String)">checkCallingPermission</a></span
</div>
</td></tr>
int</nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/content/Context
.html#checkCallingUriPermission(android.net.Uri, int)">checkCallingUriPermission
</a></span>(<a href="../../../reference/android/net/Uri.html">Uri</a> uri, int m
odeFlags)</nobr>
<div class="jd-descrdiv">
Determine whether the calling process and user ID has been
granted permission to access a specific URI.
</div>
</td></tr>
int</nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/content/Context
.html#checkPermission(java.lang.String, int, int)">checkPermission</a></span>(<a
href="../../../reference/java/lang/String.html">String</a> permission, int pid,
int uid)</nobr>
<div class="jd-descrdiv">
Determine whether the given permission is allowed for a particular
</div>
</td></tr>
int</nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/content/Context
.html#checkSelfPermission(java.lang.String)">checkSelfPermission</a></span>(<a h
ref="../../../reference/java/lang/String.html">String</a> permission)</nobr>
<div class="jd-descrdiv">
Determine whether <em>you</em> have been granted a particular permissi
on.
</div>
</td></tr>
int</nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/content/Context
.html#checkUriPermission(android.net.Uri, int, int, int)">checkUriPermission</a>
</span>(<a href="../../../reference/android/net/Uri.html">Uri</a> uri, int pid,
int uid, int modeFlags)</nobr>
<div class="jd-descrdiv">
Determine whether a particular process and user ID has been granted
permission to access a specific URI.
</div>
</td></tr>
int</nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/content/Context
.html#checkUriPermission(android.net.Uri, java.lang.String, java.lang.String, in
t, int, int)">checkUriPermission</a></span>(<a href="../../../reference/android/
net/Uri.html">Uri</a> uri, <a href="../../../reference/java/lang/String.html">St
ring</a> readPermission, <a href="../../../reference/java/lang/String.html">Stri
ng</a> writePermission, int pid, int uid, int modeFlags)</nobr>
<div class="jd-descrdiv">
Check both a Uri and normal permission.
</div>
</td></tr>
void</nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/content/Context
.html#clearWallpaper()">clearWallpaper</a></span>()</nobr>
<div class="jd-descrdiv">
<em>
This method was deprecated
in API level 5.
Use <code><a href="../../../reference/android/app/WallpaperManager.html#clea
r()">WallpaperManager.clear()</a></code> instead.
<p>This method requires the caller to hold the permission
<code><a href="../../../reference/android/Manifest.permission.html#SET_WALLPAPE
R">SET_WALLPAPER</a></code>.
</em>
</div>
</td></tr>
<a href="../../../reference/android/content/Context.html">Context</a
></nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/content/Context
.html#createConfigurationContext(android.content.res.Configuration)">createConfi
gurationContext</a></span>(<a href="../../../reference/android/content/res/Confi
guration.html">Configuration</a> overrideConfiguration)</nobr>
<div class="jd-descrdiv">
Return a new Context object for the current Context but whose resource
s
are adjusted to match the given Configuration.
</div>
</td></tr>
<a href="../../../reference/android/content/Context.html">Context</a
></nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/content/Context
.html#createDisplayContext(android.view.Display)">createDisplayContext</a></span
>(<a href="../../../reference/android/view/Display.html">Display</a> display)</n
obr>
<div class="jd-descrdiv">
Return a new Context object for the current Context but whose resource
s
are adjusted to match the metrics of the given Display.
</div>
</td></tr>
<a href="../../../reference/android/content/Context.html">Context</a
></nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/content/Context
.html#createPackageContext(java.lang.String, int)">createPackageContext</a></spa
n>(<a href="../../../reference/java/lang/String.html">String</a> packageName, in
t flags)</nobr>
<div class="jd-descrdiv">
Return a new Context object for the given application name.
</div>
</td></tr>
<a href="../../../reference/java/lang/String.html">String[]</a></nob
r>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/content/Context
.html#databaseList()">databaseList</a></span>()</nobr>
<div class="jd-descrdiv">
Returns an array of strings naming the private databases associated wi
th
this Context's application package.
</div>
</td></tr>
boolean</nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/content/Context
.html#deleteDatabase(java.lang.String)">deleteDatabase</a></span>(<a href="../..
/../reference/java/lang/String.html">String</a> name)</nobr>
<div class="jd-descrdiv">
Delete an existing private SQLiteDatabase associated with this Context
's
application package.
</div>
</td></tr>
boolean</nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/content/Context
.html#deleteFile(java.lang.String)">deleteFile</a></span>(<a href="../../../refe
rence/java/lang/String.html">String</a> name)</nobr>
<div class="jd-descrdiv">
Delete the given private file associated with this Context's
application package.
</div>
</td></tr>
void</nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/content/Context
.html#enforceCallingOrSelfPermission(java.lang.String, java.lang.String)">enforc
eCallingOrSelfPermission</a></span>(<a href="../../../reference/java/lang/String
.html">String</a> permission, <a href="../../../reference/java/lang/String.html"
>String</a> message)</nobr>
<div class="jd-descrdiv">
If neither you nor the calling process of an IPC you are
handling has been granted a particular permission, throw a
<code><a href="../../../reference/java/lang/SecurityException.html">SecurityExc
eption</a></code>.
</div>
</td></tr>
void</nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/content/Context
.html#enforceCallingOrSelfUriPermission(android.net.Uri, int, java.lang.String)"
>enforceCallingOrSelfUriPermission</a></span>(<a href="../../../reference/androi
d/net/Uri.html">Uri</a> uri, int modeFlags, <a href="../../../reference/java/lan
g/String.html">String</a> message)</nobr>
<div class="jd-descrdiv">
If the calling process of an IPC <em>or you</em> has not been
granted permission to access a specific URI, throw <code><a href="../../../refe
rence/java/lang/SecurityException.html">SecurityException</a></code>.
</div>
</td></tr>
void</nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/content/Context
.html#enforceCallingPermission(java.lang.String, java.lang.String)">enforceCalli
ngPermission</a></span>(<a href="../../../reference/java/lang/String.html">Strin
</div>
</td></tr>
void</nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/content/Context
.html#enforceCallingUriPermission(android.net.Uri, int, java.lang.String)">enfor
ceCallingUriPermission</a></span>(<a href="../../../reference/android/net/Uri.ht
ml">Uri</a> uri, int modeFlags, <a href="../../../reference/java/lang/String.htm
l">String</a> message)</nobr>
<div class="jd-descrdiv">
If the calling process and user ID has not been granted
permission to access a specific URI, throw <code><a href="../../../reference/ja
va/lang/SecurityException.html">SecurityException</a></code>.
</div>
</td></tr>
void</nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/content/Context
.html#enforcePermission(java.lang.String, int, int, java.lang.String)">enforcePe
rmission</a></span>(<a href="../../../reference/java/lang/String.html">String</a
> permission, int pid, int uid, <a href="../../../reference/java/lang/String.htm
l">String</a> message)</nobr>
<div class="jd-descrdiv">
If the given permission is not allowed for a particular process
and user ID running in the system, throw a <code><a href="../../../reference/ja
va/lang/SecurityException.html">SecurityException</a></code>.
</div>
</td></tr>
void</nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/content/Context
.html#enforceUriPermission(android.net.Uri, int, int, int, java.lang.String)">en
forceUriPermission</a></span>(<a href="../../../reference/android/net/Uri.html">
Uri</a> uri, int pid, int uid, int modeFlags, <a href="../../../reference/java/l
ang/String.html">String</a> message)</nobr>
<div class="jd-descrdiv">
If a particular process and user ID has not been granted
permission to access a specific URI, throw <code><a href="../../../reference/ja
va/lang/SecurityException.html">SecurityException</a></code>.
</div>
</td></tr>
void</nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/content/Context
.html#enforceUriPermission(android.net.Uri, java.lang.String, java.lang.String,
int, int, int, java.lang.String)">enforceUriPermission</a></span>(<a href="../..
/../reference/android/net/Uri.html">Uri</a> uri, <a href="../../../reference/jav
a/lang/String.html">String</a> readPermission, <a href="../../../reference/java/
lang/String.html">String</a> writePermission, int pid, int uid, int modeFlags, <
a href="../../../reference/java/lang/String.html">String</a> message)</nobr>
<div class="jd-descrdiv">
Enforce both a Uri and normal permission.
</div>
</td></tr>
<a href="../../../reference/java/lang/String.html">String[]</a></nob
r>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/content/Context
.html#fileList()">fileList</a></span>()</nobr>
<div class="jd-descrdiv">
Returns an array of strings naming the private files associated with
this Context's application package.
</div>
</td></tr>
<a href="../../../reference/android/content/Context.html">Context</a
></nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/content/Context
.html#getApplicationContext()">getApplicationContext</a></span>()</nobr>
<div class="jd-descrdiv">
Return the context of the single, global Application object of the
current process.
</div>
</td></tr>
<a href="../../../reference/android/content/pm/ApplicationInfo.html"
>ApplicationInfo</a></nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/content/Context
.html#getApplicationInfo()">getApplicationInfo</a></span>()</nobr>
<div class="jd-descrdiv">
Return the full application info for this context's package.
</div>
</td></tr>
<a href="../../../reference/android/content/res/AssetManager.html">A
ssetManager</a></nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/content/Context
.html#getAssets()">getAssets</a></span>()</nobr>
<div class="jd-descrdiv">
Return an AssetManager instance for your application's package.
</div>
</td></tr>
<a href="../../../reference/java/io/File.html">File</a></nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/content/Context
.html#getCacheDir()">getCacheDir</a></span>()</nobr>
<div class="jd-descrdiv">
Returns the absolute path to the application specific cache directory
on the filesystem.
</div>
</td></tr>
<a href="../../../reference/java/lang/ClassLoader.html">ClassLoader<
/a></nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/content/Context
.html#getClassLoader()">getClassLoader</a></span>()</nobr>
<div class="jd-descrdiv">
Return a class loader you can use to retrieve classes in this package.
</div>
</td></tr>
<a href="../../../reference/java/io/File.html">File</a></nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/content/Context
.html#getCodeCacheDir()">getCodeCacheDir</a></span>()</nobr>
<div class="jd-descrdiv">
Returns the absolute path to the application specific cache directory
on
</div>
</td></tr>
</div>
</td></tr>
</div>
</td></tr>
<a href="../../../reference/android/content/ContentResolver.html">Co
ntentResolver</a></nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/content/Context
.html#getContentResolver()">getContentResolver</a></span>()</nobr>
<div class="jd-descrdiv">
Return a ContentResolver instance for your application's package.
</div>
</td></tr>
<a href="../../../reference/java/io/File.html">File</a></nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/content/Context
.html#getDatabasePath(java.lang.String)">getDatabasePath</a></span>(<a href="../
../../reference/java/lang/String.html">String</a> name)</nobr>
<div class="jd-descrdiv">
Returns the absolute path on the filesystem where a database created w
ith
<code><a href="../../../reference/android/content/Context.html#openOrCreateData
base(java.lang.String, int, android.database.sqlite.SQLiteDatabase.CursorFactory
)">openOrCreateDatabase(String, int, SQLiteDatabase.CursorFactory)</a></code> is
stored.
</div>
</td></tr>
abstract
<a href="../../../reference/java/io/File.html">File</a></nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/content/Context
.html#getDir(java.lang.String, int)">getDir</a></span>(<a href="../../../referen
ce/java/lang/String.html">String</a> name, int mode)</nobr>
<div class="jd-descrdiv">
Retrieve, creating if needed, a new directory in which the application
can place its own custom data files.
</div>
</td></tr>
</div>
</td></tr>
<a href="../../../reference/java/io/File.html">File</a></nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
</div>
</td></tr>
<a href="../../../reference/java/io/File.html">File[]</a></nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/content/Context
.html#getExternalCacheDirs()">getExternalCacheDirs</a></span>()</nobr>
<div class="jd-descrdiv">
Returns absolute paths to application-specific directories on all
external storage devices where the application can place cache files it
owns.
</div>
</td></tr>
<a href="../../../reference/java/io/File.html">File</a></nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/content/Context
.html#getExternalFilesDir(java.lang.String)">getExternalFilesDir</a></span>(<a h
ref="../../../reference/java/lang/String.html">String</a> type)</nobr>
<div class="jd-descrdiv">
Returns the absolute path to the directory on the primary external fil
esystem
(that is somewhere on <code><a href="../../../reference/android/os/Environment.
html#getExternalStorageDirectory()">Environment.getExternalStorageDirectory()</a
></code>) where the application can
place persistent files it owns.
</div>
</td></tr>
<a href="../../../reference/java/io/File.html">File[]</a></nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/content/Context
.html#getExternalFilesDirs(java.lang.String)">getExternalFilesDirs</a></span>(<a
href="../../../reference/java/lang/String.html">String</a> type)</nobr>
<div class="jd-descrdiv">
Returns absolute paths to application-specific directories on all
external storage devices where the application can place persistent files
it owns.
</div>
</td></tr>
<a href="../../../reference/java/io/File.html">File[]</a></nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/content/Context
.html#getExternalMediaDirs()">getExternalMediaDirs</a></span>()</nobr>
<div class="jd-descrdiv">
Returns absolute paths to application-specific directories on all
external storage devices where the application can place media files.
</div>
</td></tr>
<a href="../../../reference/java/io/File.html">File</a></nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/content/Context
.html#getFileStreamPath(java.lang.String)">getFileStreamPath</a></span>(<a href=
"../../../reference/java/lang/String.html">String</a> name)</nobr>
<div class="jd-descrdiv">
Returns the absolute path on the filesystem where a file created with
<code><a href="../../../reference/android/content/Context.html#openFileOutput(j
ava.lang.String, int)">openFileOutput(String, int)</a></code> is stored.
</div>
</td></tr>
<a href="../../../reference/java/io/File.html">File</a></nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/content/Context
.html#getFilesDir()">getFilesDir</a></span>()</nobr>
<div class="jd-descrdiv">
Returns the absolute path to the directory on the filesystem where
files created with <code><a href="../../../reference/android/content/Context.ht
ml#openFileOutput(java.lang.String, int)">openFileOutput(String, int)</a></code>
are stored.
</div>
</td></tr>
<a href="../../../reference/android/os/Looper.html">Looper</a></nobr
>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/content/Context
.html#getMainLooper()">getMainLooper</a></span>()</nobr>
<div class="jd-descrdiv">
Return the Looper for the main thread of the current process.
</div>
</td></tr>
<a href="../../../reference/java/io/File.html">File</a></nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/content/Context
.html#getNoBackupFilesDir()">getNoBackupFilesDir</a></span>()</nobr>
<div class="jd-descrdiv">
Returns the absolute path to the directory on the filesystem similar t
o
<code><a href="../../../reference/android/content/Context.html#getFilesDir()">g
etFilesDir()</a></code>.
</div>
</td></tr>
<a href="../../../reference/java/io/File.html">File</a></nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/content/Context
.html#getObbDir()">getObbDir</a></span>()</nobr>
<div class="jd-descrdiv">
Return the primary external storage directory where this application's
OBB
files (if there are any) can be found.
</div>
</td></tr>
<a href="../../../reference/java/io/File.html">File[]</a></nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/content/Context
.html#getObbDirs()">getObbDirs</a></span>()</nobr>
<div class="jd-descrdiv">
Returns absolute paths to application-specific directories on all
external storage devices where the application's OBB files (if there are
any) can be found.
</div>
</td></tr>
<a href="../../../reference/java/lang/String.html">String</a></nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/content/Context
.html#getPackageCodePath()">getPackageCodePath</a></span>()</nobr>
<div class="jd-descrdiv">
Return the full path to this context's primary Android package.
</div>
</td></tr>
<a href="../../../reference/android/content/pm/PackageManager.html">
PackageManager</a></nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/content/Context
.html#getPackageManager()">getPackageManager</a></span>()</nobr>
<div class="jd-descrdiv">
Return PackageManager instance to find global package information.
</div>
</td></tr>
<a href="../../../reference/java/lang/String.html">String</a></nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/content/Context
.html#getPackageName()">getPackageName</a></span>()</nobr>
<div class="jd-descrdiv">
Return the name of this application's package.
</div>
</td></tr>
abstract
<a href="../../../reference/java/lang/String.html">String</a></nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/content/Context
.html#getPackageResourcePath()">getPackageResourcePath</a></span>()</nobr>
<div class="jd-descrdiv">
Return the full path to this context's primary Android package.
</div>
</td></tr>
<a href="../../../reference/android/content/res/Resources.html">Reso
urces</a></nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/content/Context
.html#getResources()">getResources</a></span>()</nobr>
<div class="jd-descrdiv">
Return a Resources instance for your application's package.
</div>
</td></tr>
<a href="../../../reference/android/content/SharedPreferences.html">
SharedPreferences</a></nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/content/Context
.html#getSharedPreferences(java.lang.String, int)">getSharedPreferences</a></spa
</div>
</td></tr>
</div>
</td></tr>
</div>
</td></tr>
</div>
</td></tr>
<a href="../../../reference/java/lang/Object.html">Object</a></nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/content/Context
.html#getSystemService(java.lang.String)">getSystemService</a></span>(<a href=".
./../../reference/java/lang/String.html">String</a> name)</nobr>
<div class="jd-descrdiv">
Return the handle to a system-level service by name.
</div>
</td></tr>
<a href="../../../reference/java/lang/String.html">String</a></nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/content/Context
.html#getSystemServiceName(java.lang.Class<?>)">getSystemServiceName</a></span>(
<a href="../../../reference/java/lang/Class.html">Class</a><?> serviceClas
s)</nobr>
<div class="jd-descrdiv">
Gets the name of the system-level service that is represented by the s
pecified class.
</div>
</td></tr>
</div>
</td></tr>
<a href="../../../reference/android/content/res/Resources.Theme.html
">Resources.Theme</a></nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/content/Context
.html#getTheme()">getTheme</a></span>()</nobr>
<div class="jd-descrdiv">
Return the Theme object associated with this Context.
</div>
</td></tr>
<a href="../../../reference/android/graphics/drawable/Drawable.html"
>Drawable</a></nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/content/Context
.html#getWallpaper()">getWallpaper</a></span>()</nobr>
<div class="jd-descrdiv">
<em>
This method was deprecated
in API level 5.
Use <code><a href="../../../reference/android/app/WallpaperManager.html#getD
rawable()">WallpaperManager.get()</a></code> instead.
</em>
</div>
</td></tr>
int</nobr>
</td>
</div>
</td></tr>
int</nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/content/Context
.html#getWallpaperDesiredMinimumWidth()">getWallpaperDesiredMinimumWidth</a></sp
an>()</nobr>
<div class="jd-descrdiv">
<em>
This method was deprecated
in API level 5.
Use <code><a href="../../../reference/android/app/WallpaperManager.html#getD
esiredMinimumWidth()">WallpaperManager.getDesiredMinimumWidth()</a></code> inste
ad.
</em>
</div>
</td></tr>
void</nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/content/Context
.html#grantUriPermission(java.lang.String, android.net.Uri, int)">grantUriPermis
sion</a></span>(<a href="../../../reference/java/lang/String.html">String</a> to
Package, <a href="../../../reference/android/net/Uri.html">Uri</a> uri, int mode
Flags)</nobr>
<div class="jd-descrdiv">
Grant permission to access a specific Uri to another package, regardle
ss
of whether that package has general permission to access the Uri's
content provider.
</div>
</td></tr>
boolean</nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/content/Context
.html#isRestricted()">isRestricted</a></span>()</nobr>
<div class="jd-descrdiv">
Indicates whether this Context is restricted.
</div>
</td></tr>
rs)</nobr>
<div class="jd-descrdiv">
Retrieve styled attribute information in this Context's theme.
</div>
</td></tr>
</div>
</td></tr>
</div>
</td></tr>
</div>
</td></tr>
<a href="../../../reference/java/io/FileInputStream.html">FileInputS
tream</a></nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/content/Context
.html#openFileInput(java.lang.String)">openFileInput</a></span>(<a href="../../.
./reference/java/lang/String.html">String</a> name)</nobr>
<div class="jd-descrdiv">
Open a private file associated with this Context's application package
for reading.
</div>
</td></tr>
<a href="../../../reference/java/io/FileOutputStream.html">FileOutpu
tStream</a></nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/content/Context
.html#openFileOutput(java.lang.String, int)">openFileOutput</a></span>(<a href="
../../../reference/java/lang/String.html">String</a> name, int mode)</nobr>
<div class="jd-descrdiv">
Open a private file associated with this Context's application package
for writing.
</div>
</td></tr>
<a href="../../../reference/android/database/sqlite/SQLiteDatabase.h
tml">SQLiteDatabase</a></nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/content/Context
.html#openOrCreateDatabase(java.lang.String, int, android.database.sqlite.SQLite
Database.CursorFactory)">openOrCreateDatabase</a></span>(<a href="../../../refer
ence/java/lang/String.html">String</a> name, int mode, <a href="../../../referen
ce/android/database/sqlite/SQLiteDatabase.CursorFactory.html">SQLiteDatabase.Cur
sorFactory</a> factory)</nobr>
<div class="jd-descrdiv">
Open a new private SQLiteDatabase associated with this Context's
application package.
</div>
</td></tr>
abstract
<a href="../../../reference/android/database/sqlite/SQLiteDatabase.h
tml">SQLiteDatabase</a></nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/content/Context
.html#openOrCreateDatabase(java.lang.String, int, android.database.sqlite.SQLite
Database.CursorFactory, android.database.DatabaseErrorHandler)">openOrCreateData
base</a></span>(<a href="../../../reference/java/lang/String.html">String</a> na
me, int mode, <a href="../../../reference/android/database/sqlite/SQLiteDatabase
.CursorFactory.html">SQLiteDatabase.CursorFactory</a> factory, <a href="../../..
/reference/android/database/DatabaseErrorHandler.html">DatabaseErrorHandler</a>
errorHandler)</nobr>
<div class="jd-descrdiv">
Open a new private SQLiteDatabase associated with this Context's
application package.
</div>
</td></tr>
<a href="../../../reference/android/graphics/drawable/Drawable.html"
>Drawable</a></nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/content/Context
.html#peekWallpaper()">peekWallpaper</a></span>()</nobr>
<div class="jd-descrdiv">
<em>
This method was deprecated
in API level 5.
Use <code><a href="../../../reference/android/app/WallpaperManager.html#peek
Drawable()">WallpaperManager.peek()</a></code> instead.
</em>
</div>
</td></tr>
void</nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/content/Context
.html#registerComponentCallbacks(android.content.ComponentCallbacks)">registerCo
mponentCallbacks</a></span>(<a href="../../../reference/android/content/Componen
tCallbacks.html">ComponentCallbacks</a> callback)</nobr>
<div class="jd-descrdiv">
Add a new <code><a href="../../../reference/android/content/ComponentC
allbacks.html">ComponentCallbacks</a></code> to the base application of the
Context, which will be called at the same times as the ComponentCallbacks
methods of activities and other components are called.
</div>
</td></tr>
<a href="../../../reference/android/content/Intent.html">Intent</a><
/nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/content/Context
.html#registerReceiver(android.content.BroadcastReceiver, android.content.Intent
Filter)">registerReceiver</a></span>(<a href="../../../reference/android/content
/BroadcastReceiver.html">BroadcastReceiver</a> receiver, <a href="../../../refer
ence/android/content/IntentFilter.html">IntentFilter</a> filter)</nobr>
<div class="jd-descrdiv">
Register a BroadcastReceiver to be run in the main activity thread.
</div>
</td></tr>
<a href="../../../reference/android/content/Intent.html">Intent</a><
/nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/content/Context
.html#registerReceiver(android.content.BroadcastReceiver, android.content.Intent
Filter, java.lang.String, android.os.Handler)">registerReceiver</a></span>(<a hr
ef="../../../reference/android/content/BroadcastReceiver.html">BroadcastReceiver
</a> receiver, <a href="../../../reference/android/content/IntentFilter.html">In
tentFilter</a> filter, <a href="../../../reference/java/lang/String.html">String
</a> broadcastPermission, <a href="../../../reference/android/os/Handler.html">H
andler</a> scheduler)</nobr>
<div class="jd-descrdiv">
Register to receive intent broadcasts, to run in the context of
<var>scheduler</var>.
</div>
</td></tr>
void</nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/content/Context
.html#removeStickyBroadcast(android.content.Intent)">removeStickyBroadcast</a></
span>(<a href="../../../reference/android/content/Intent.html">Intent</a> intent
)</nobr>
<div class="jd-descrdiv">
<em>
This method was deprecated
in API level 21.
Sticky broadcasts should not be used. They provide no security (anyone
can access them), no protection (anyone can modify them), and many other proble
ms.
The recommended pattern is to use a non-sticky broadcast to report that <em>som
ething</em>
has changed, with another mechanism for apps to retrieve the current value when
ever
desired.</em>
</div>
</td></tr>
void</nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/content/Context
.html#removeStickyBroadcastAsUser(android.content.Intent, android.os.UserHandle)
">removeStickyBroadcastAsUser</a></span>(<a href="../../../reference/android/con
tent/Intent.html">Intent</a> intent, <a href="../../../reference/android/os/User
Handle.html">UserHandle</a> user)</nobr>
<div class="jd-descrdiv">
<em>
This method was deprecated
in API level 21.
Sticky broadcasts should not be used. They provide no security (anyone
can access them), no protection (anyone can modify them), and many other proble
ms.
The recommended pattern is to use a non-sticky broadcast to report that <em>som
ething</em>
has changed, with another mechanism for apps to retrieve the current value when
ever
desired.</em>
</div>
</td></tr>
void</nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/content/Context
.html#revokeUriPermission(android.net.Uri, int)">revokeUriPermission</a></span>(
<a href="../../../reference/android/net/Uri.html">Uri</a> uri, int modeFlags)</n
obr>
<div class="jd-descrdiv">
Remove all permissions to access a particular content provider Uri
that were previously added with <code><a href="../../../reference/android/conte
</div>
</td></tr>
void</nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/content/Context
.html#sendBroadcast(android.content.Intent, java.lang.String)">sendBroadcast</a>
</span>(<a href="../../../reference/android/content/Intent.html">Intent</a> inte
nt, <a href="../../../reference/java/lang/String.html">String</a> receiverPermis
sion)</nobr>
<div class="jd-descrdiv">
Broadcast the given intent to all interested BroadcastReceivers, allow
ing
an optional required permission to be enforced.
</div>
</td></tr>
void</nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/content/Context
.html#sendBroadcast(android.content.Intent)">sendBroadcast</a></span>(<a href=".
./../../reference/android/content/Intent.html">Intent</a> intent)</nobr>
<div class="jd-descrdiv">
Broadcast the given intent to all interested BroadcastReceivers.
</div>
</td></tr>
void</nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/content/Context
.html#sendBroadcastAsUser(android.content.Intent, android.os.UserHandle)">sendBr
oadcastAsUser</a></span>(<a href="../../../reference/android/content/Intent.html
">Intent</a> intent, <a href="../../../reference/android/os/UserHandle.html">Use
rHandle</a> user)</nobr>
<div class="jd-descrdiv">
Version of <code><a href="../../../reference/android/content/Context.h
tml#sendBroadcast(android.content.Intent)">sendBroadcast(Intent)</a></code> that
allows you to specify the
user the broadcast will be sent to.
</div>
</td></tr>
void</nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/content/Context
.html#sendBroadcastAsUser(android.content.Intent, android.os.UserHandle, java.la
ng.String)">sendBroadcastAsUser</a></span>(<a href="../../../reference/android/c
ontent/Intent.html">Intent</a> intent, <a href="../../../reference/android/os/Us
erHandle.html">UserHandle</a> user, <a href="../../../reference/java/lang/String
.html">String</a> receiverPermission)</nobr>
<div class="jd-descrdiv">
Version of <code><a href="../../../reference/android/content/Context.h
tml#sendBroadcast(android.content.Intent, java.lang.String)">sendBroadcast(Inten
t, String)</a></code> that allows you to specify the
user the broadcast will be sent to.
</div>
</td></tr>
void</nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/content/Context
.html#sendOrderedBroadcast(android.content.Intent, java.lang.String, android.con
tent.BroadcastReceiver, android.os.Handler, int, java.lang.String, android.os.Bu
ndle)">sendOrderedBroadcast</a></span>(<a href="../../../reference/android/conte
nt/Intent.html">Intent</a> intent, <a href="../../../reference/java/lang/String.
html">String</a> receiverPermission, <a href="../../../reference/android/content
/BroadcastReceiver.html">BroadcastReceiver</a> resultReceiver, <a href="../../..
/reference/android/os/Handler.html">Handler</a> scheduler, int initialCode, <a h
ref="../../../reference/java/lang/String.html">String</a> initialData, <a href="
../../../reference/android/os/Bundle.html">Bundle</a> initialExtras)</nobr>
<div class="jd-descrdiv">
Version of <code><a href="../../../reference/android/content/Context.h
tml#sendBroadcast(android.content.Intent)">sendBroadcast(Intent)</a></code> that
allows you to
receive data back from the broadcast.
</div>
</td></tr>
void</nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/content/Context
.html#sendOrderedBroadcast(android.content.Intent, java.lang.String)">sendOrdere
dBroadcast</a></span>(<a href="../../../reference/android/content/Intent.html">I
ntent</a> intent, <a href="../../../reference/java/lang/String.html">String</a>
receiverPermission)</nobr>
<div class="jd-descrdiv">
Broadcast the given intent to all interested BroadcastReceivers, deliv
ering
</div>
</td></tr>
void</nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/content/Context
.html#sendOrderedBroadcastAsUser(android.content.Intent, android.os.UserHandle,
java.lang.String, android.content.BroadcastReceiver, android.os.Handler, int, ja
va.lang.String, android.os.Bundle)">sendOrderedBroadcastAsUser</a></span>(<a hre
f="../../../reference/android/content/Intent.html">Intent</a> intent, <a href=".
./../../reference/android/os/UserHandle.html">UserHandle</a> user, <a href="../.
./../reference/java/lang/String.html">String</a> receiverPermission, <a href="..
/../../reference/android/content/BroadcastReceiver.html">BroadcastReceiver</a> r
esultReceiver, <a href="../../../reference/android/os/Handler.html">Handler</a>
scheduler, int initialCode, <a href="../../../reference/java/lang/String.html">S
tring</a> initialData, <a href="../../../reference/android/os/Bundle.html">Bundl
e</a> initialExtras)</nobr>
<div class="jd-descrdiv">
Version of
<code><a href="../../../reference/android/content/Context.html#sendOrderedBroad
cast(android.content.Intent, java.lang.String, android.content.BroadcastReceiver
, android.os.Handler, int, java.lang.String, android.os.Bundle)">sendOrderedBroa
dcast(Intent, String, BroadcastReceiver, Handler, int, String, Bundle)</a></code
>
that allows you to specify the
user the broadcast will be sent to.
</div>
</td></tr>
void</nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/content/Context
.html#sendStickyBroadcast(android.content.Intent)">sendStickyBroadcast</a></span
>(<a href="../../../reference/android/content/Intent.html">Intent</a> intent)</n
obr>
<div class="jd-descrdiv">
<em>
This method was deprecated
in API level 21.
Sticky broadcasts should not be used. They provide no security (anyone
can access them), no protection (anyone can modify them), and many other proble
ms.
The recommended pattern is to use a non-sticky broadcast to report that <em>som
ething</em>
has changed, with another mechanism for apps to retrieve the current value when
ever
desired.</em>
</div>
</td></tr>
void</nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/content/Context
.html#sendStickyBroadcastAsUser(android.content.Intent, android.os.UserHandle)">
sendStickyBroadcastAsUser</a></span>(<a href="../../../reference/android/content
/Intent.html">Intent</a> intent, <a href="../../../reference/android/os/UserHand
le.html">UserHandle</a> user)</nobr>
<div class="jd-descrdiv">
<em>
This method was deprecated
in API level 21.
Sticky broadcasts should not be used. They provide no security (anyone
can access them), no protection (anyone can modify them), and many other proble
ms.
The recommended pattern is to use a non-sticky broadcast to report that <em>som
ething</em>
has changed, with another mechanism for apps to retrieve the current value when
ever
desired.</em>
</div>
</td></tr>
void</nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/content/Context
.html#sendStickyOrderedBroadcast(android.content.Intent, android.content.Broadca
stReceiver, android.os.Handler, int, java.lang.String, android.os.Bundle)">sendS
tickyOrderedBroadcast</a></span>(<a href="../../../reference/android/content/Int
ent.html">Intent</a> intent, <a href="../../../reference/android/content/Broadca
stReceiver.html">BroadcastReceiver</a> resultReceiver, <a href="../../../referen
ce/android/os/Handler.html">Handler</a> scheduler, int initialCode, <a href="../
../../reference/java/lang/String.html">String</a> initialData, <a href="../../..
/reference/android/os/Bundle.html">Bundle</a> initialExtras)</nobr>
<div class="jd-descrdiv">
<em>
This method was deprecated
in API level 21.
Sticky broadcasts should not be used. They provide no security (anyone
can access them), no protection (anyone can modify them), and many other proble
ms.
The recommended pattern is to use a non-sticky broadcast to report that <em>som
ething</em>
has changed, with another mechanism for apps to retrieve the current value when
ever
desired.</em>
</div>
</td></tr>
void</nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/content/Context
.html#sendStickyOrderedBroadcastAsUser(android.content.Intent, android.os.UserHa
ndle, android.content.BroadcastReceiver, android.os.Handler, int, java.lang.Stri
ng, android.os.Bundle)">sendStickyOrderedBroadcastAsUser</a></span>(<a href="../
</div>
</td></tr>
void</nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/content/Context
.html#setTheme(int)">setTheme</a></span>(int resid)</nobr>
<div class="jd-descrdiv">
Set the base theme for this context.
</div>
</td></tr>
void</nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/content/Context
.html#setWallpaper(java.io.InputStream)">setWallpaper</a></span>(<a href="../../
../reference/java/io/InputStream.html">InputStream</a> data)</nobr>
<div class="jd-descrdiv">
<em>
This method was deprecated
in API level 5.
Use <code><a href="../../../reference/android/app/WallpaperManager.html#setS
tream(java.io.InputStream)">WallpaperManager.set()</a></code> instead.
<p>This method requires the caller to hold the permission
<code><a href="../../../reference/android/Manifest.permission.html#SET_WALLPAPE
R">SET_WALLPAPER</a></code>.
</em>
</div>
</td></tr>
void</nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/content/Context
.html#setWallpaper(android.graphics.Bitmap)">setWallpaper</a></span>(<a href="..
/../../reference/android/graphics/Bitmap.html">Bitmap</a> bitmap)</nobr>
<div class="jd-descrdiv">
<em>
This method was deprecated
in API level 5.
Use <code><a href="../../../reference/android/app/WallpaperManager.html#setB
itmap(android.graphics.Bitmap)">WallpaperManager.set()</a></code> instead.
<p>This method requires the caller to hold the permission
<code><a href="../../../reference/android/Manifest.permission.html#SET_WALLPAPE
R">SET_WALLPAPER</a></code>.
</em>
</div>
</td></tr>
<td class="jd-typecol"><nobr>
abstract
void</nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/content/Context
.html#startActivities(android.content.Intent[], android.os.Bundle)">startActivit
ies</a></span>(<a href="../../../reference/android/content/Intent.html">Intent[]
</a> intents, <a href="../../../reference/android/os/Bundle.html">Bundle</a> opt
ions)</nobr>
<div class="jd-descrdiv">
Launch multiple new activities.
</div>
</td></tr>
void</nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/content/Context
.html#startActivities(android.content.Intent[])">startActivities</a></span>(<a h
ref="../../../reference/android/content/Intent.html">Intent[]</a> intents)</nobr
>
<div class="jd-descrdiv">
Same as <code><a href="../../../reference/android/content/Context.html
#startActivities(android.content.Intent[], android.os.Bundle)">startActivities(I
ntent[], Bundle)</a></code> with no options
specified.
</div>
</td></tr>
void</nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/content/Context
.html#startActivity(android.content.Intent)">startActivity</a></span>(<a href=".
./../../reference/android/content/Intent.html">Intent</a> intent)</nobr>
<div class="jd-descrdiv">
Same as <code><a href="../../../reference/android/content/Context.html
#startActivity(android.content.Intent, android.os.Bundle)">startActivity(Intent,
Bundle)</a></code> with no options
specified.
</div>
</td></tr>
void</nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/content/Context
.html#startActivity(android.content.Intent, android.os.Bundle)">startActivity</a
></span>(<a href="../../../reference/android/content/Intent.html">Intent</a> int
ent, <a href="../../../reference/android/os/Bundle.html">Bundle</a> options)</no
br>
<div class="jd-descrdiv">
Launch a new activity.
</div>
</td></tr>
boolean</nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
</div>
</td></tr>
void</nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/content/Context
.html#startIntentSender(android.content.IntentSender, android.content.Intent, in
t, int, int, android.os.Bundle)">startIntentSender</a></span>(<a href="../../../
reference/android/content/IntentSender.html">IntentSender</a> intent, <a href=".
./../../reference/android/content/Intent.html">Intent</a> fillInIntent, int flag
sMask, int flagsValues, int extraFlags, <a href="../../../reference/android/os/B
undle.html">Bundle</a> options)</nobr>
<div class="jd-descrdiv">
Like <code><a href="../../../reference/android/content/Context.html#st
artActivity(android.content.Intent, android.os.Bundle)">startActivity(Intent, Bu
ndle)</a></code>, but taking a IntentSender
to start.
</div>
</td></tr>
void</nobr>
</td>
</div>
</td></tr>
<a href="../../../reference/android/content/ComponentName.html">Comp
onentName</a></nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/content/Context
.html#startService(android.content.Intent)">startService</a></span>(<a href="../
../../reference/android/content/Intent.html">Intent</a> service)</nobr>
<div class="jd-descrdiv">
Request that a given application service be started.
</div>
</td></tr>
boolean</nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/content/Context
.html#stopService(android.content.Intent)">stopService</a></span>(<a href="../..
/../reference/android/content/Intent.html">Intent</a> service)</nobr>
<div class="jd-descrdiv">
Request that a given application service be stopped.
</div>
</td></tr>
void</nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/content/Context
.html#unbindService(android.content.ServiceConnection)">unbindService</a></span>
(<a href="../../../reference/android/content/ServiceConnection.html">ServiceConn
ection</a> conn)</nobr>
<div class="jd-descrdiv">
Disconnect from an application service.
</div>
</td></tr>
void</nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/content/Context
.html#unregisterComponentCallbacks(android.content.ComponentCallbacks)">unregist
erComponentCallbacks</a></span>(<a href="../../../reference/android/content/Comp
onentCallbacks.html">ComponentCallbacks</a> callback)</nobr>
<div class="jd-descrdiv">
Remove a <code><a href="../../../reference/android/content/ComponentCa
llbacks.html">ComponentCallbacks</a></code> object that was previously registere
d
with <code><a href="../../../reference/android/content/Context.html#registerCom
ponentCallbacks(android.content.ComponentCallbacks)">registerComponentCallbacks(
ComponentCallbacks)</a></code>.
</div>
</td></tr>
void</nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/content/Context
.html#unregisterReceiver(android.content.BroadcastReceiver)">unregisterReceiver<
/a></span>(<a href="../../../reference/android/content/BroadcastReceiver.html">B
roadcastReceiver</a> receiver)</nobr>
<div class="jd-descrdiv">
Unregister a previously registered BroadcastReceiver.
</div>
</td></tr>
</table>
</div>
</div>
</td></tr>
<a href="../../../reference/java/lang/Object.html">Object</a></nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/java/lang/Object.html#c
lone()">clone</a></span>()</nobr>
<div class="jd-descrdiv">
Creates and returns a copy of this <code>Object</code>.
</div>
</td></tr>
boolean</nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/java/lang/Object.html#e
quals(java.lang.Object)">equals</a></span>(<a href="../../../reference/java/lang
/Object.html">Object</a> o)</nobr>
<div class="jd-descrdiv">
Compares this instance with the specified object and indicates if they
are equal.
</div>
</td></tr>
void</nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/java/lang/Object.html#f
inalize()">finalize</a></span>()</nobr>
<div class="jd-descrdiv">
Invoked when the garbage collector has detected that this instance is
no longer reachable.
</div>
</td></tr>
</div>
</td></tr>
int</nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/java/lang/Object.html#h
ashCode()">hashCode</a></span>()</nobr>
<div class="jd-descrdiv">
</div>
</td></tr>
</div>
</td></tr>
</div>
</td></tr>
<a href="../../../reference/java/lang/String.html">String</a></nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/java/lang/Object.html#t
oString()">toString</a></span>()</nobr>
<div class="jd-descrdiv">
Returns a string containing a concise, human-readable description of t
his
object.
</div>
</td></tr>
</div>
</td></tr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/java/lang/Object.html#w
ait(long, int)">wait</a></span>(long millis, int nanos)</nobr>
<div class="jd-descrdiv">
Causes the calling thread to wait until another thread calls the <code
>notify()</code> or <code>notifyAll()</code> method of this object or until the
specified timeout expires.
</div>
</td></tr>
</div>
</td></tr>
</table>
</div>
</div>
</td></tr>
KeyEvent.Callback</a>
<div id="inherited-methods-android.view.KeyEvent.Callback">
<div id="inherited-methods-android.view.KeyEvent.Callback-list"
class="jd-inheritedlinks">
</div>
<div id="inherited-methods-android.view.KeyEvent.Callback-summary" style="disp
lay: none;">
<table class="jd-sumtable-expando">
boolean</nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/view/KeyEvent.C
allback.html#onKeyDown(int, android.view.KeyEvent)">onKeyDown</a></span>(int key
Code, <a href="../../../reference/android/view/KeyEvent.html">KeyEvent</a> event
)</nobr>
<div class="jd-descrdiv">
Called when a key down event has occurred.
</div>
</td></tr>
boolean</nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/view/KeyEvent.C
allback.html#onKeyLongPress(int, android.view.KeyEvent)">onKeyLongPress</a></spa
n>(int keyCode, <a href="../../../reference/android/view/KeyEvent.html">KeyEvent
</a> event)</nobr>
<div class="jd-descrdiv">
Called when a long press has occurred.
</div>
</td></tr>
boolean</nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/view/KeyEvent.C
allback.html#onKeyMultiple(int, int, android.view.KeyEvent)">onKeyMultiple</a></
span>(int keyCode, int count, <a href="../../../reference/android/view/KeyEvent.
html">KeyEvent</a> event)</nobr>
<div class="jd-descrdiv">
Called when multiple down/up pairs of the same key have occurred
in a row.
</div>
</td></tr>
boolean</nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/view/KeyEvent.C
allback.html#onKeyUp(int, android.view.KeyEvent)">onKeyUp</a></span>(int keyCode
, <a href="../../../reference/android/view/KeyEvent.html">KeyEvent</a> event)</n
obr>
<div class="jd-descrdiv">
Called when a key up event has occurred.
</div>
</td></tr>
</table>
</div>
</div>
</td></tr>
void</nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/content/Compone
ntCallbacks2.html#onTrimMemory(int)">onTrimMemory</a></span>(int level)</nobr>
<div class="jd-descrdiv">
Called when the operating system has determined that it is a good
time for a process to trim unneeded memory from its process.
</div>
</td></tr>
</table>
</div>
</div>
</td></tr>
<td colspan="12">
<a href="#" onclick="return toggleInherited(this, null)" id="inherited-methods
-android.content.ComponentCallbacks" class="jd-expando-trigger closed"
><img id="inherited-methods-android.content.ComponentCallbacks-trigger
"
src="../../../assets/images/triangle-closed.png"
class="jd-expando-trigger-img" /></a>
From interface
<a href="../../../reference/android/content/ComponentCallbacks.html">android.c
ontent.ComponentCallbacks</a>
<div id="inherited-methods-android.content.ComponentCallbacks">
<div id="inherited-methods-android.content.ComponentCallbacks-list"
class="jd-inheritedlinks">
</div>
<div id="inherited-methods-android.content.ComponentCallbacks-summary" style="
display: none;">
<table class="jd-sumtable-expando">
void</nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../../reference/android/content/Compone
ntCallbacks.html#onConfigurationChanged(android.content.res.Configuration)">onCo
nfigurationChanged</a></span>(<a href="../../../reference/android/content/res/Co
nfiguration.html">Configuration</a> newConfig)</nobr>
<div class="jd-descrdiv">
Called by the system when the device configuration changes while your
component is running.
</div>
</td></tr>
void</nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
</div>
</td></tr>
</table>
</div>
</div>
</td></tr>
</table>
</div><!-- jd-descr (summary) -->
<!-- Details -->
<A NAME="attr_android:imeExtractEnterAnimation"></A>
<div class="jd-details">
<h4 class="jd-details-title">android:imeExtractEnterAnimation
</h4>
<div class="jd-details-descr">
<A NAME="BACK_DISPOSITION_DEFAULT"></A>
<div class="jd-details api apilevel-11">
<h4 class="jd-details-title">
<span class="normal">
public
static
final
int
</span>
BACK_DISPOSITION_DEFAULT
</h4>
<div class="api-level">
Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLeve
ls">API level 11</a>
</div>
<div class="jd-details-descr">
<A NAME="BACK_DISPOSITION_WILL_DISMISS"></A>
<div class="jd-details api apilevel-11">
<h4 class="jd-details-title">
<span class="normal">
public
static
final
int
</span>
BACK_DISPOSITION_WILL_DISMISS
</h4>
<div class="api-level">
Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLeve
ls">API level 11</a>
</div>
<div class="jd-details-descr">
<span>
2
(0x00000002)
</span>
</div>
</div>
</div>
<A NAME="BACK_DISPOSITION_WILL_NOT_DISMISS"></A>
<div class="jd-details api apilevel-11">
<h4 class="jd-details-title">
<span class="normal">
public
static
final
int
</span>
BACK_DISPOSITION_WILL_NOT_DISMISS
</h4>
<div class="api-level">
Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLeve
ls">API level 11</a>
</div>
<div class="jd-details-descr">
<A NAME="InputMethodService()"></A>
<div class="jd-details api apilevel-3">
<h4 class="jd-details-title">
<span class="normal">
public
</span>
<span class="sympad">InputMethodService</span>
<span class="normal">()</span>
</h4>
<div class="api-level">
<div>
Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLeve
ls">API level 3</a></div>
</div>
<div class="jd-details-descr">
<A NAME="enableHardwareAcceleration()"></A>
boolean
</span>
<span class="sympad">enableHardwareAcceleration</span>
<span class="normal">()</span>
</h4>
<div class="api-level">
<div>
Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLeve
ls">API level 17</a></div>
</div>
<div class="jd-details-descr">
<p>
<p class="caution"><strong>
This method was deprecated
in API level 21.</strong><br/>
Starting in API 21, hardware acceleration is always enabled
on capable devices.
</p>
<div class="jd-tagdata jd-tagdescr"><p>You can call this to try to enable hard
ware accelerated drawing for
your IME. This must be set before <code><a href="../../../reference/android/inp
utmethodservice/InputMethodService.html#onCreate()">onCreate()</a></code>, so yo
u
will typically call it in your constructor. It is not always possible
to use hardware accelerated drawing in an IME (for example on low-end
devices that do not have the resources to support this), so the call
returns true if it succeeds otherwise false if you will need to draw
in software. You must be able to handle either case.</p></div>
</div>
</div>
<A NAME="getBackDisposition()"></A>
<div class="jd-details api apilevel-11">
<h4 class="jd-details-title">
<span class="normal">
public
int
</span>
<span class="sympad">getBackDisposition</span>
<span class="normal">()</span>
</h4>
<div class="api-level">
<div>
Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLeve
ls">API level 11</a></div>
</div>
<div class="jd-details-descr">
int
</span>
<span class="sympad">getCandidatesHiddenVisibility</span>
<span class="normal">()</span>
</h4>
<div class="api-level">
<div>
Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLeve
ls">API level 3</a></div>
</div>
<div class="jd-details-descr">
<a href="../../../reference/android/view/inputmethod/InputBinding.html">
InputBinding</a>
</span>
<span class="sympad">getCurrentInputBinding</span>
<span class="normal">()</span>
</h4>
<div class="api-level">
<div>
Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLeve
ls">API level 3</a></div>
</div>
<div class="jd-details-descr">
<a href="../../../reference/android/view/inputmethod/InputConnection.htm
l">InputConnection</a>
</span>
<span class="sympad">getCurrentInputConnection</span>
<span class="normal">()</span>
</h4>
<div class="api-level">
<div>
Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLeve
ls">API level 3</a></div>
</div>
<div class="jd-details-descr">
<a href="../../../reference/android/view/inputmethod/EditorInfo.html">Ed
itorInfo</a>
</span>
<span class="sympad">getCurrentInputEditorInfo</span>
<span class="normal">()</span>
</h4>
<div class="api-level">
<div>
Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLeve
ls">API level 3</a></div>
</div>
<div class="jd-details-descr">
<A NAME="getCurrentInputStarted()"></A>
<div class="jd-details api apilevel-3">
<h4 class="jd-details-title">
<span class="normal">
public
boolean
</span>
<span class="sympad">getCurrentInputStarted</span>
<span class="normal">()</span>
</h4>
<div class="api-level">
<div>
Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLeve
ls">API level 3</a></div>
</div>
<div class="jd-details-descr">
int
</span>
<span class="sympad">getInputMethodWindowRecommendedHeight</span>
<span class="normal">()</span>
</h4>
<div class="api-level">
<div>
Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLeve
ls">API level 21</a></div>
</div>
<div class="jd-details-descr">
<a href="../../../reference/android/view/LayoutInflater.html">LayoutInfl
ater</a>
</span>
<span class="sympad">getLayoutInflater</span>
<span class="normal">()</span>
</h4>
<div class="api-level">
<div>
Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLeve
ls">API level 3</a></div>
</div>
<div class="jd-details-descr">
<A NAME="getMaxWidth()"></A>
<div class="jd-details api apilevel-3">
<h4 class="jd-details-title">
<span class="normal">
public
int
</span>
<span class="sympad">getMaxWidth</span>
<span class="normal">()</span>
</h4>
<div class="api-level">
<div>
Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLeve
ls">API level 3</a></div>
</div>
<div class="jd-details-descr">
<a href="../../../reference/java/lang/CharSequence.html">CharSequence</a
>
</span>
<span class="sympad">getTextForImeAction</span>
<span class="normal">(int imeOptions)</span>
</h4>
<div class="api-level">
<div>
Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLeve
ls">API level 3</a></div>
</div>
<div class="jd-details-descr">
<a href="../../../reference/android/app/Dialog.html">Dialog</a>
</span>
<span class="sympad">getWindow</span>
<span class="normal">()</span>
</h4>
<div class="api-level">
<div>
Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLeve
ls">API level 3</a></div>
</div>
<div class="jd-details-descr">
void
</span>
<span class="sympad">hideStatusIcon</span>
<span class="normal">()</span>
</h4>
<div class="api-level">
<div>
Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLeve
ls">API level 3</a></div>
</div>
<div class="jd-details-descr">
<span class="normal">
public
void
</span>
<span class="sympad">hideWindow</span>
<span class="normal">()</span>
</h4>
<div class="api-level">
<div>
Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLeve
ls">API level 3</a></div>
</div>
<div class="jd-details-descr">
boolean
</span>
<span class="sympad">isExtractViewShown</span>
<span class="normal">()</span>
</h4>
<div class="api-level">
<div>
Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLeve
ls">API level 3</a></div>
</div>
<div class="jd-details-descr">
boolean
</span>
<span class="sympad">isFullscreenMode</span>
<span class="normal">()</span>
</h4>
<div class="api-level">
<div>
Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLeve
ls">API level 3</a></div>
</div>
<div class="jd-details-descr">
boolean
</span>
<span class="sympad">isInputViewShown</span>
<span class="normal">()</span>
</h4>
<div class="api-level">
<div>
Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLeve
ls">API level 3</a></div>
</div>
<div class="jd-details-descr">
boolean
</span>
<span class="sympad">isShowInputRequested</span>
<span class="normal">()</span>
</h4>
<div class="api-level">
<div>
Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLeve
ls">API level 3</a></div>
</div>
<div class="jd-details-descr">
void
</span>
<span class="sympad">onAppPrivateCommand</span>
<span class="normal">(<a href="../../../reference/java/lang/String.html">S
tring</a> action, <a href="../../../reference/android/os/Bundle.html">Bundle</a>
data)</span>
</h4>
<div class="api-level">
<div>
Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLeve
ls">API level 3</a></div>
</div>
<div class="jd-details-descr">
void
</span>
<span class="sympad">onBindInput</span>
<span class="normal">()</span>
</h4>
<div class="api-level">
<div>
Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLeve
ls">API level 3</a></div>
</div>
<div class="jd-details-descr">
void
</span>
<span class="sympad">onComputeInsets</span>
<span class="normal">(<a href="../../../reference/android/inputmethodservi
ce/InputMethodService.Insets.html">InputMethodService.Insets</a> outInsets)</spa
n>
</h4>
<div class="api-level">
<div>
Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLeve
ls">API level 3</a></div>
</div>
<div class="jd-details-descr">
void
</span>
<span class="sympad">onConfigurationChanged</span>
<span class="normal">(<a href="../../../reference/android/content/res/Conf
iguration.html">Configuration</a> newConfig)</span>
</h4>
<div class="api-level">
<div>
Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLeve
ls">API level 3</a></div>
</div>
<div class="jd-details-descr">
void
</span>
<span class="sympad">onConfigureWindow</span>
<span class="normal">(<a href="../../../reference/android/view/Window.html
</div>
<div class="jd-details-descr">
void
</span>
<span class="sympad">onCreate</span>
<span class="normal">()</span>
</h4>
<div class="api-level">
<div>
Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLeve
ls">API level 3</a></div>
</div>
<div class="jd-details-descr">
<a href="../../../reference/android/view/View.html">View</a>
</span>
<span class="sympad">onCreateCandidatesView</span>
<span class="normal">()</span>
</h4>
<div class="api-level">
<div>
Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLeve
ls">API level 3</a></div>
</div>
<div class="jd-details-descr">
.html#setCandidatesViewShown(boolean)">setCandidatesViewShown(boolean)</a></code
>.
To change the candidates view after the first one is created by this
function, use <code><a href="../../../reference/android/inputmethodservice/Inpu
tMethodService.html#setCandidatesView(android.view.View)">setCandidatesView(View
)</a></code>.
</p></div>
</div>
</div>
<A NAME="onCreateExtractTextView()"></A>
<div class="jd-details api apilevel-3">
<h4 class="jd-details-title">
<span class="normal">
public
<a href="../../../reference/android/view/View.html">View</a>
</span>
<span class="sympad">onCreateExtractTextView</span>
<span class="normal">()</span>
</h4>
<div class="api-level">
<div>
Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLeve
ls">API level 3</a></div>
</div>
<div class="jd-details-descr">
<a href="../../../reference/android/inputmethodservice/AbstractInputMeth
odService.AbstractInputMethodImpl.html">AbstractInputMethodService.AbstractInput
MethodImpl</a>
</span>
<span class="sympad">onCreateInputMethodInterface</span>
<span class="normal">()</span>
</h4>
<div class="api-level">
<div>
Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLeve
ls">API level 3</a></div>
</div>
<div class="jd-details-descr">
<a href="../../../reference/android/inputmethodservice/AbstractInputMeth
odService.AbstractInputMethodSessionImpl.html">AbstractInputMethodService.Abstra
ctInputMethodSessionImpl</a>
</span>
<span class="sympad">onCreateInputMethodSessionInterface</span>
<span class="normal">()</span>
</h4>
<div class="api-level">
<div>
Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLeve
ls">API level 3</a></div>
</div>
<div class="jd-details-descr">
<a href="../../../reference/android/view/View.html">View</a>
</span>
<span class="sympad">onCreateInputView</span>
<span class="normal">()</span>
</h4>
<div class="api-level">
<div>
Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLeve
ls">API level 3</a></div>
</div>
<div class="jd-details-descr">
<A NAME="onDestroy()"></A>
<div class="jd-details api apilevel-3">
<h4 class="jd-details-title">
<span class="normal">
public
void
</span>
<span class="sympad">onDestroy</span>
<span class="normal">()</span>
</h4>
<div class="api-level">
<div>
Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLeve
ls">API level 3</a></div>
</div>
<div class="jd-details-descr">
void
</span>
<span class="sympad">onDisplayCompletions</span>
<span class="normal">(<a href="../../../reference/android/view/inputmethod
/CompletionInfo.html">CompletionInfo[]</a> completions)</span>
</h4>
<div class="api-level">
<div>
Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLeve
</div>
<div class="jd-details-descr">
boolean
</span>
<span class="sympad">onEvaluateFullscreenMode</span>
<span class="normal">()</span>
</h4>
<div class="api-level">
<div>
Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLeve
ls">API level 3</a></div>
</div>
<div class="jd-details-descr">
boolean
</span>
<span class="sympad">onEvaluateInputViewShown</span>
<span class="normal">()</span>
</h4>
<div class="api-level">
<div>
Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLeve
ls">API level 3</a></div>
</div>
<div class="jd-details-descr">
boolean
</span>
<span class="sympad">onExtractTextContextMenuItem</span>
<span class="normal">(int id)</span>
</h4>
<div class="api-level">
<div>
Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLeve
ls">API level 3</a></div>
</div>
<div class="jd-details-descr">
void
</span>
<span class="sympad">onExtractedCursorMovement</span>
<span class="normal">(int dx, int dy)</span>
</h4>
<div class="api-level">
<div>
Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLeve
ls">API level 3</a></div>
</div>
<div class="jd-details-descr">
void
</span>
<span class="sympad">onExtractedSelectionChanged</span>
<span class="normal">(int start, int end)</span>
</h4>
<div class="api-level">
<div>
Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLeve
ls">API level 3</a></div>
</div>
<div class="jd-details-descr">
</div>
</div>
<A NAME="onExtractedTextClicked()"></A>
<div class="jd-details api apilevel-3">
<h4 class="jd-details-title">
<span class="normal">
public
void
</span>
<span class="sympad">onExtractedTextClicked</span>
<span class="normal">()</span>
</h4>
<div class="api-level">
<div>
Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLeve
ls">API level 3</a></div>
</div>
<div class="jd-details-descr">
void
</span>
<span class="sympad">onExtractingInputChanged</span>
<span class="normal">(<a href="../../../reference/android/view/inputmethod
/EditorInfo.html">EditorInfo</a> ei)</span>
</h4>
<div class="api-level">
<div>
Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLeve
ls">API level 3</a></div>
</div>
<div class="jd-details-descr">
void
</span>
<span class="sympad">onFinishCandidatesView</span>
<span class="normal">(boolean finishingInput)</span>
</h4>
<div class="api-level">
<div>
Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLeve
ls">API level 3</a></div>
</div>
<div class="jd-details-descr">
text; you can override this (not calling the base class implementation)
to perform whatever behavior you would like.</p></div>
<div class="jd-tagdata">
<h5 class="jd-tagtitle">Parameters</h5>
<table class="jd-tagtable">
<tr>
<th>finishingInput</td>
<td>If true, <code><a href="../../../reference/android/inputmethodserv
ice/InputMethodService.html#onFinishInput()">onFinishInput()</a></code> will be
called immediately after.
</td>
</tr>
</table>
</div>
</div>
</div>
<A NAME="onFinishInput()"></A>
<div class="jd-details api apilevel-3">
<h4 class="jd-details-title">
<span class="normal">
public
void
</span>
<span class="sympad">onFinishInput</span>
<span class="normal">()</span>
</h4>
<div class="api-level">
<div>
Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLeve
ls">API level 3</a></div>
</div>
<div class="jd-details-descr">
</p></div>
</div>
</div>
<A NAME="onFinishInputView(boolean)"></A>
<div class="jd-details api apilevel-3">
<h4 class="jd-details-title">
<span class="normal">
public
void
</span>
<span class="sympad">onFinishInputView</span>
<span class="normal">(boolean finishingInput)</span>
</h4>
<div class="api-level">
<div>
Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLeve
ls">API level 3</a></div>
</div>
<div class="jd-details-descr">
<A NAME="onGenericMotionEvent(android.view.MotionEvent)"></A>
<div class="jd-details api apilevel-17">
<h4 class="jd-details-title">
<span class="normal">
public
boolean
</span>
<span class="sympad">onGenericMotionEvent</span>
<span class="normal">(<a href="../../../reference/android/view/MotionEvent
.html">MotionEvent</a> event)</span>
</h4>
<div class="api-level">
<div>
Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLeve
ls">API level 17</a></div>
</div>
<div class="jd-details-descr">
public
void
</span>
<span class="sympad">onInitializeInterface</span>
<span class="normal">()</span>
</h4>
<div class="api-level">
<div>
Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLeve
ls">API level 3</a></div>
</div>
<div class="jd-details-descr">
boolean
</span>
<span class="sympad">onKeyDown</span>
<span class="normal">(int keyCode, <a href="../../../reference/android/vie
w/KeyEvent.html">KeyEvent</a> event)</span>
</h4>
<div class="api-level">
<div>
Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLeve
ls">API level 3</a></div>
</div>
<div class="jd-details-descr">
boolean
</span>
<span class="sympad">onKeyLongPress</span>
<span class="normal">(int keyCode, <a href="../../../reference/android/vie
w/KeyEvent.html">KeyEvent</a> event)</span>
</h4>
<div class="api-level">
<div>
Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLeve
ls">API level 5</a></div>
</div>
<div class="jd-details-descr">
</div>
<A NAME="onKeyMultiple(int, int, android.view.KeyEvent)"></A>
<div class="jd-details api apilevel-3">
<h4 class="jd-details-title">
<span class="normal">
public
boolean
</span>
<span class="sympad">onKeyMultiple</span>
<span class="normal">(int keyCode, int count, <a href="../../../reference/
android/view/KeyEvent.html">KeyEvent</a> event)</span>
</h4>
<div class="api-level">
<div>
Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLeve
ls">API level 3</a></div>
</div>
<div class="jd-details-descr">
boolean
</span>
<span class="sympad">onKeyUp</span>
<span class="normal">(int keyCode, <a href="../../../reference/android/vie
w/KeyEvent.html">KeyEvent</a> event)</span>
</h4>
<div class="api-level">
<div>
Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLeve
ls">API level 3</a></div>
</div>
<div class="jd-details-descr">
boolean
</span>
<span class="sympad">onShowInputRequested</span>
<span class="normal">(int flags, boolean configChange)</span>
</h4>
<div class="api-level">
<div>
Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLeve
ls">API level 3</a></div>
</div>
<div class="jd-details-descr">
void
</span>
<span class="sympad">onStartCandidatesView</span>
<span class="normal">(<a href="../../../reference/android/view/inputmethod
</div>
<div class="jd-details-descr">
public
void
</span>
<span class="sympad">onStartInput</span>
<span class="normal">(<a href="../../../reference/android/view/inputmethod
/EditorInfo.html">EditorInfo</a> attribute, boolean restarting)</span>
</h4>
<div class="api-level">
<div>
Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLeve
ls">API level 3</a></div>
</div>
<div class="jd-details-descr">
void
</span>
<span class="sympad">onStartInputView</span>
<span class="normal">(<a href="../../../reference/android/view/inputmethod
/EditorInfo.html">EditorInfo</a> info, boolean restarting)</span>
</h4>
<div class="api-level">
<div>
Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLeve
ls">API level 3</a></div>
</div>
<div class="jd-details-descr">
boolean
</span>
<span class="sympad">onTrackballEvent</span>
<span class="normal">(<a href="../../../reference/android/view/MotionEvent
.html">MotionEvent</a> event)</span>
</h4>
<div class="api-level">
<div>
Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLeve
ls">API level 3</a></div>
</div>
<div class="jd-details-descr">
void
</span>
<span class="sympad">onUnbindInput</span>
<span class="normal">()</span>
</h4>
<div class="api-level">
<div>
Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLeve
ls">API level 3</a></div>
</div>
<div class="jd-details-descr">
void
</span>
<span class="sympad">onUpdateCursor</span>
<span class="normal">(<a href="../../../reference/android/graphics/Rect.ht
ml">Rect</a> newCursor)</span>
</h4>
<div class="api-level">
<div>
Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLeve
ls">API level 3</a></div>
</div>
<div class="jd-details-descr">
<p>
<p class="caution"><strong>
This method was deprecated
in API level 21.</strong><br/>
void
</span>
<span class="sympad">onUpdateCursorAnchorInfo</span>
<span class="normal">(<a href="../../../reference/android/view/inputmethod
/CursorAnchorInfo.html">CursorAnchorInfo</a> cursorAnchorInfo)</span>
</h4>
<div class="api-level">
<div>
Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLeve
ls">API level 21</a></div>
</div>
<div class="jd-details-descr">
</div>
<A NAME="onUpdateExtractedText(int, android.view.inputmethod.ExtractedText)"></A
>
<div class="jd-details api apilevel-3">
<h4 class="jd-details-title">
<span class="normal">
public
void
</span>
<span class="sympad">onUpdateExtractedText</span>
<span class="normal">(int token, <a href="../../../reference/android/view/
inputmethod/ExtractedText.html">ExtractedText</a> text)</span>
</h4>
<div class="api-level">
<div>
Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLeve
ls">API level 3</a></div>
</div>
<div class="jd-details-descr">
void
</span>
<span class="sympad">onUpdateExtractingViews</span>
<span class="normal">(<a href="../../../reference/android/view/inputmethod
/EditorInfo.html">EditorInfo</a> ei)</span>
</h4>
<div class="api-level">
<div>
Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLeve
ls">API level 3</a></div>
</div>
<div class="jd-details-descr">
void
</span>
<span class="sympad">onUpdateExtractingVisibility</span>
<span class="normal">(<a href="../../../reference/android/view/inputmethod
/EditorInfo.html">EditorInfo</a> ei)</span>
</h4>
<div class="api-level">
<div>
Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLeve
ls">API level 3</a></div>
</div>
<div class="jd-details-descr">
void
</span>
<span class="sympad">onUpdateSelection</span>
<span class="normal">(int oldSelStart, int oldSelEnd, int newSelStart, int
newSelEnd, int candidatesStart, int candidatesEnd)</span>
</h4>
<div class="api-level">
<div>
Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLeve
ls">API level 3</a></div>
</div>
<div class="jd-details-descr">
void
</span>
<span class="sympad">onViewClicked</span>
<span class="normal">(boolean focusChanged)</span>
</h4>
<div class="api-level">
<div>
Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLeve
ls">API level 14</a></div>
</div>
<div class="jd-details-descr">
void
</span>
<span class="sympad">onWindowHidden</span>
<span class="normal">()</span>
</h4>
<div class="api-level">
<div>
Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLeve
ls">API level 3</a></div>
</div>
<div class="jd-details-descr">
void
</span>
<span class="sympad">onWindowShown</span>
<span class="normal">()</span>
</h4>
<div class="api-level">
<div>
Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLeve
ls">API level 3</a></div>
</div>
<div class="jd-details-descr">
void
</span>
<span class="sympad">requestHideSelf</span>
<span class="normal">(int flags)</span>
</h4>
<div class="api-level">
<div>
Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLeve
ls">API level 3</a></div>
</div>
<div class="jd-details-descr">
</div>
<A NAME="sendDefaultEditorAction(boolean)"></A>
<div class="jd-details api apilevel-3">
<h4 class="jd-details-title">
<span class="normal">
public
boolean
</span>
<span class="sympad">sendDefaultEditorAction</span>
<span class="normal">(boolean fromEnterKey)</span>
</h4>
<div class="api-level">
<div>
Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLeve
ls">API level 3</a></div>
</div>
<div class="jd-details-descr">
</div>
</div>
<A NAME="sendDownUpKeyEvents(int)"></A>
<div class="jd-details api apilevel-3">
<h4 class="jd-details-title">
<span class="normal">
public
void
</span>
<span class="sympad">sendDownUpKeyEvents</span>
<span class="normal">(int keyEventCode)</span>
</h4>
<div class="api-level">
<div>
Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLeve
ls">API level 3</a></div>
</div>
<div class="jd-details-descr">
<div class="jd-tagdata jd-tagdescr"><p>Send the given key event code (as defin
ed by <code><a href="../../../reference/android/view/KeyEvent.html">KeyEvent</a>
</code>) to the
current input connection is a key down + key up event pair. The sent
events have <code><a href="../../../reference/android/view/KeyEvent.html#FLAG_S
OFT_KEYBOARD">KeyEvent.FLAG_SOFT_KEYBOARD</a></code>
set, so that the recipient can identify them as coming from a software
input method, and
<code><a href="../../../reference/android/view/KeyEvent.html#FLAG_KEEP_TOUCH_MO
DE">KeyEvent.FLAG_KEEP_TOUCH_MODE</a></code>, so
that they don't impact the current touch mode of the UI.
<p>Note that it's discouraged to send such key events in normal operation;
this is mainly for use with <code><a href="../../../reference/android/text/Inpu
tType.html#TYPE_NULL">TYPE_NULL</a></code> type
text fields, or for non-rich input methods. A reasonably capable software
input method should use the
<code><a href="../../../reference/android/view/inputmethod/InputConnection.html
#commitText(java.lang.CharSequence, int)">commitText(CharSequence, int)</a></cod
e> family of methods
to send text to an application, rather than sending key events.</p></p></div>
<div class="jd-tagdata">
<h5 class="jd-tagtitle">Parameters</h5>
<table class="jd-tagtable">
<tr>
<th>keyEventCode</td>
<td>The raw key code to send, as defined by
<code><a href="../../../reference/android/view/KeyEvent.html">KeyEvent</a></cod
e>.
</td>
</tr>
</table>
</div>
</div>
</div>
<A NAME="sendKeyChar(char)"></A>
<div class="jd-details api apilevel-3">
<h4 class="jd-details-title">
<span class="normal">
public
void
</span>
<span class="sympad">sendKeyChar</span>
<span class="normal">(char charCode)</span>
</h4>
<div class="api-level">
<div>
Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLeve
ls">API level 3</a></div>
</div>
<div class="jd-details-descr">
</div>
</div>
</div>
<A NAME="setBackDisposition(int)"></A>
<div class="jd-details api apilevel-11">
<h4 class="jd-details-title">
<span class="normal">
public
void
</span>
<span class="sympad">setBackDisposition</span>
<span class="normal">(int disposition)</span>
</h4>
<div class="api-level">
<div>
Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLeve
ls">API level 11</a></div>
</div>
<div class="jd-details-descr">
void
</span>
<span class="sympad">setCandidatesView</span>
<span class="normal">(<a href="../../../reference/android/view/View.html">
View</a> view)</span>
</h4>
<div class="api-level">
<div>
Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLeve
ls">API level 3</a></div>
</div>
<div class="jd-details-descr">
void
</span>
<span class="sympad">setCandidatesViewShown</span>
<span class="normal">(boolean shown)</span>
</h4>
<div class="api-level">
<div>
Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLeve
ls">API level 3</a></div>
</div>
<div class="jd-details-descr">
void
</span>
<span class="sympad">setExtractView</span>
<span class="normal">(<a href="../../../reference/android/view/View.html">
View</a> view)</span>
</h4>
<div class="api-level">
<div>
Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLeve
ls">API level 3</a></div>
</div>
<div class="jd-details-descr">
void
</span>
<span class="sympad">setExtractViewShown</span>
<span class="normal">(boolean shown)</span>
</h4>
<div class="api-level">
<div>
Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLeve
ls">API level 3</a></div>
</div>
<div class="jd-details-descr">
void
</span>
<span class="sympad">setInputView</span>
<span class="normal">(<a href="../../../reference/android/view/View.html">
View</a> view)</span>
</h4>
<div class="api-level">
<div>
Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLeve
ls">API level 3</a></div>
</div>
<div class="jd-details-descr">
<A NAME="setTheme(int)"></A>
<div class="jd-details api apilevel-3">
<h4 class="jd-details-title">
<span class="normal">
public
void
</span>
<span class="sympad">setTheme</span>
<span class="normal">(int theme)</span>
</h4>
<div class="api-level">
<div>
Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLeve
ls">API level 3</a></div>
</div>
<div class="jd-details-descr">
void
</span>
<span class="sympad">showStatusIcon</span>
<span class="normal">(int iconResId)</span>
</h4>
<div class="api-level">
<div>
Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLeve
ls">API level 3</a></div>
</div>
<div class="jd-details-descr">
void
</span>
<span class="sympad">showWindow</span>
<span class="normal">(boolean showInput)</span>
</h4>
<div class="api-level">
<div>
Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLeve
ls">API level 3</a></div>
</div>
<div class="jd-details-descr">
<A NAME="switchInputMethod(java.lang.String)"></A>
<div class="jd-details api apilevel-3">
<h4 class="jd-details-title">
<span class="normal">
public
void
</span>
<span class="sympad">switchInputMethod</span>
<span class="normal">(<a href="../../../reference/java/lang/String.html">S
tring</a> id)</span>
</h4>
<div class="api-level">
<div>
Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLeve
ls">API level 3</a></div>
</div>
<div class="jd-details-descr">
void
</span>
<span class="sympad">updateFullscreenMode</span>
<span class="normal">()</span>
</h4>
<div class="api-level">
<div>
Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLeve
ls">API level 3</a></div>
</div>
<div class="jd-details-descr">
void
</span>
<span class="sympad">updateInputViewShown</span>
<span class="normal">()</span>
</h4>
<div class="api-level">
<div>
Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLeve
ls">API level 3</a></div>
</div>
<div class="jd-details-descr">
void
</span>
<span class="sympad">dump</span>
<span class="normal">(<a href="../../../reference/java/io/FileDescriptor.h
tml">FileDescriptor</a> fd, <a href="../../../reference/java/io/PrintWriter.html
">PrintWriter</a> fout, <a href="../../../reference/java/lang/String.html">Strin
g[]</a> args)</span>
</h4>
<div class="api-level">
<div>
Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLeve
ls">API level 3</a></div>
</div>
<div class="jd-details-descr">
void
</span>
<span class="sympad">onCurrentInputMethodSubtypeChanged</span>
<span class="normal">(<a href="../../../reference/android/view/inputmethod
/InputMethodSubtype.html">InputMethodSubtype</a> newSubtype)</span>
</h4>
<div class="api-level">
<div>
Added in <a href="../../../guide/topics/manifest/uses-sdk-element.html#ApiLeve
ls">API level 11</a></div>
</div>
<div class="jd-details-descr">
></div>
<div class="jd-tagdata">
<h5 class="jd-tagtitle">Parameters</h5>
<table class="jd-tagtable">
<tr>
<th>newSubtype</td>
<td>the subtype which is being changed to.
</td>
</tr>
</table>
</div>
</div>
</div>
el">Full name</label>
<input type="text" class="dac-form-input" name="entry.1357
890476" id="newsletter-full-name" required>
<span class="dac-form-required">*</span>
</div>
<div class="dac-form-input-group">
<label for="newsletter-email" class="dac-form-floatlabel">
Email address</label>
<input type="email" class="dac-form-input" name="entry.472
100832" id="newsletter-email" required>
<span class="dac-form-required">*</span>
</div>
</div>
<div class="col-1of2 newsletter-rightCol">
<div class="dac-form-input-group">
<label for="newsletter-company" class="dac-form-floatlabel
">Company / developer name</label>
<input type="text" class="dac-form-input" name="entry.1664
780309" id="newsletter-company">
</div>
<div class="dac-form-input-group">
<label for="newsletter-play-store" class="dac-form-floatla
bel">One of your Play Store app URLs</label>
<input type="url" class="dac-form-input" name="entry.47013
838" id="newsletter-play-store" required>
<span class="dac-form-required">*</span>
</div>
</div>
</div>
</fieldset>
<fieldset class="dac-form-fieldset">
<div class="cols">
<div class="col-1of2 newsletter-leftCol">
<legend class="dac-form-legend">Which best describes your bu
siness:<span class="dac-form-required">*</span>
</legend>
<div class="dac-form-radio-group">
<input type="radio" value="Apps" class="dac-form-radio" na
me="entry.1796324055" id="newsletter-business-type-app" required>
<label for="newsletter-business-type-app" class="dac-formradio-button"></label>
<label for="newsletter-business-type-app" class="dac-formlabel">Apps</label>
</div>
<div class="dac-form-radio-group">
<input type="radio" value="Games" class="dac-form-radio" n
ame="entry.1796324055" id="newsletter-business-type-games" required>
<label for="newsletter-business-type-games" class="dac-for
m-radio-button"></label>
<label for="newsletter-business-type-games" class="dac-for
m-label">Games</label>
</div>
<div class="dac-form-radio-group">
<input type="radio" value="Apps and Games" class="dac-form
-radio" name="entry.1796324055" id="newsletter-business-type-appsgames" required
>
<label for="newsletter-business-type-appsgames" class="dac
-form-radio-button"></label>
<label for="newsletter-business-type-appsgames" class="dac
-form-label">Apps & Games</label>
</div>
</div>
<div class="col-1of2 newsletter-rightCol newsletter-checkboxes
">
<div class="dac-form-radio-group">
<div class="dac-media">
<div class="dac-media-figure">
<input type="checkbox" class="dac-form-checkbox" name=
"entry.732309842" id="newsletter-add" required value="Add me to the mailing list
for the monthly newsletter and occasional emails about development and Google P
lay opportunities.">
<label for="newsletter-add" class="dac-form-checkbox-b
utton"></label>
</div>
<div class="dac-media-body">
<label for="newsletter-add" class="dac-form-label dacform-aside">Add me to the mailing list for the monthly newsletter and occasional
emails about development and Google Play opportunities.<span class="dac-form-re
quired">*</span></label>
</div>
</div>
</div>
<div class="dac-form-radio-group">
<div class="dac-media">
<div class="dac-media-figure">
<input type="checkbox" class="dac-form-checkbox" name=
"entry.2045036090" id="newsletter-terms" required value="I acknowledge that the
information provided in this form will be subject to Google's privacy policy (ht
tps://www.google.com/policies/privacy/).">
<label for="newsletter-terms" class="dac-form-checkbox
-button"></label>
</div>
<div class="dac-media-body">
<label for="newsletter-terms" class="dac-form-label da
c-form-aside">I acknowledge that the information provided in this form will be s
ubject to <a href="https://www.google.com/policies/privacy/">Google's privacy po
licy</a>.<span class="dac-form-required">*</span></label>
</div>
</div>
</div>
</div>
</div>
</fieldset>
</section>
<footer class="dac-modal-footer">
<div class="cols">
<div class="col-2of5">
</div>
</div>
<button type="submit" value="Submit" class="dac-fab dac-primary da
c-large dac-modal-action"><i class="dac-sprite dac-arrow-right"></i></button>
</footer>
</form>
</section>
<section class="dac-swap-section dac-right">
<div class="dac-modal-content">
<p class="newsletter-success-message">
You have successfully signed up for the latest Android developer n
ews and tips.
</p>
</div>
</section>
</div>
</div>
</div>
</div> <!-- end footer -->
</div><!-- end doc-content -->
</div> <!-- end .cols -->
</div> <!-- end body-content -->
</body>
</html>