Requesting Camera permission with Android SDK 23
<p>I'm trying to ask the user to accept a camera permission request. I placed this in my <code>onCreate()</code> method.  It's saying it cannot resolve the symbol 'CAMERA'. What's wrong?</p>

<pre><code>if (Build.VERSION.SDK_INT &gt;= Build.VERSION_CODES.M) {
            if (checkSelfPermission(Manifest.permission.CAMERA) != PackageManager.PERMISSION_GRANTED) {
                ActivityCompat.requestPermissions(this, new String[]{Manifest.permission.CAMERA}, 1);
            }
        }
</code></pre>