title: ActivityNotFoundException: Unable to find explicit activity class GoogleDriveProxeyActivity have you declared this
body: <p>I'm trying to call one activity from another.</p>
  
  <p>but I get this error:</p>
  
  <p><code>Unable to find explicit activity class GoogleDriveProxeyActivity have you declared this activity in your AndroidManifest.xml</code></p>
  
  <p>when executing:</p>
  
  <pre><code>    private Uri saveFileToDrive() {
          Intent i = new Intent(this, GoogleDriveProxeyActivity.class);
                  startActivityForResult(i, SAVE_TO_DRIVE);
  
                  //btw, how does this work if another action started?
                  return null;
            }
  </code></pre>
  
  <p>(//btw, how does sending a return value after startActivityForResult works if another action started?)</p>
  
  <p>what am I missing in the manifest?</p>
  
  <pre><code>    &lt;/activity&gt;
              &lt;activity
          android:name=".GoogleDriveProxeyActivity" &gt;
          &lt;intent-filter&gt;
                              &lt;action android:name="android.intent.action.VIEW" /&gt;
              &lt;category android:name="android.intent.category.DEFAULT" /&gt;
          &lt;/intent-filter&gt;
      &lt;/activity&gt;
  </code></pre>
  
  <p><strong>update</strong></p>
  
  <p>my manifest package:</p>
  
  <pre><code>de.vogella.android.todos/AndroidManifest.xml
  </code></pre>
  
  <p>the problematic Activity:</p>
  
  <pre><code>package de.vogella.android.todos.contentprovider;
  
  public class GoogleDriveProxeyActivity extends Activity {
  </code></pre>