title: permission.WRITE_CALENDAR: no permission though declared in the manifest.xml
body: <p>I know, that this question was asked several times before, still I don't get this to work either because I don't understand what exactly to do or the given answers didn't work for me..
  Anyway, I want to add an event to a calendar...Therefore, I added the permission.WRITE_CALENDAR to my manifest as follows:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;manifest xmlns:android="http://schemas.android.com/apk/res/android"
      package="com.example.user.neuertestdiesenbenutzen"&gt;
      &lt;uses-permission android:name="android.permission.WRITE_CALENDAR" /&gt;
      &lt;uses-permission android:name="android.permission.READ_CALENDAR" /&gt;
  
      &lt;application
          android:allowBackup="true"
          android:icon="@mipmap/ic_launcher"
          android:label="@string/app_name"
          android:roundIcon="@mipmap/ic_launcher_round"
          android:supportsRtl="true"
          android:theme="@style/AppTheme"&gt;
          &lt;activity android:name=".MainActivity"&gt;
              &lt;intent-filter&gt;
                  &lt;action android:name="android.intent.action.MAIN" /&gt;
  
                  &lt;category android:name="android.intent.category.LAUNCHER" /&gt;
              &lt;/intent-filter&gt;
          &lt;/activity&gt;
      &lt;/application&gt;
  
  &lt;/manifest&gt;
  </code></pre>
  
  <p>My MainActivity looks like that:</p>
  
  <pre><code>package com.example.user.neuertestdiesenbenutzen;
  
  import android.Manifest;
  import android.content.pm.PackageManager;
  import android.os.Bundle;
  import android.support.v4.content.ContextCompat;
  import android.support.v7.app.AppCompatActivity;
  import android.util.Log;
  
  public class MainActivity extends AppCompatActivity {
  
      @Override
      protected void onCreate(Bundle savedInstanceState) {
          super.onCreate(savedInstanceState);
          setContentView(R.layout.activity_main);
          CalManager c = new CalManager(getApplicationContext());
          int permissionCheck = 
              ContextCompat.checkSelfPermission(MainActivity.this,
              Manifest.permission.WRITE_CALENDAR);
          if(permissionCheck== PackageManager.PERMISSION_GRANTED) {
              Log.d("mychecks", "Permission granted");
              c.addEvToCal();
          }
          else{
              Log.d("mychecks", "Permission denied");
          }
      }
  }
  </code></pre>
  
  <p>However, it doesn't recognize the permission and I get the output: Permission denied.</p>
  
  <p>Can anyone describe in an understandable way what to do in this situation?</p>
  
  <p>Thanks for your help!</p>