ng.String-">
<!--   -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>checkPermission</h4>
<pre>public static&nbsp;boolean&nbsp;checkPermission(android.content.Context&nbsp;context,
                                      java.lang.String&nbsp;permission)</pre>
<div class="block">Check to make sure that the required permission has been granted.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>context</code> - the context</dd>
<dd><code>permission</code> - the permission</