title: Dropbox SDK setup/authentication issue.
body: <p>I'm having an issue setting up the dropbox-sdk for Android. When starting to execute the code I get the following <code>"Unfortunately xxx has stopped"</code>. </p>
  
  <p>At first I thought the issue may be in the manifest file as that's usually when I get the error for not correctly setting permissions.  However, it says on the site the only permission required for authentication is the internet. I'll put the manifest file below.</p>
  
  <p>The error is thrown when I call either <code>AppKeyPair appKeys = new AppKeyPair(APP_KEY, APP_SECRET)</code> or <code>AccessType ACCESS_TYPE = AccessType.APP_FOLDER</code> and for the life of me I can't figure out why. Declaring (but not initializing) <code>DropboxAPI&lt;AndroidAuthSession&gt; mDBApi</code> is fine, which suggests that the libraries are being imported correctly.</p>
  
  <p>I've changed them below so you all have to take my word on it but the key/secret constants are also correct so I doubt that it's that. Here's a snippet of my main activity:</p>
  
  <pre><code>package com.example.xxx.app;
  
  import com.dropbox.client2.DropboxAPI;
  import com.dropbox.client2.android.AndroidAuthSession;
  import com.dropbox.client2.session.AppKeyPair;
  import com.dropbox.client2.session.Session.AccessType;
  
  import android.os.Bundle;
  import android.app.Activity;
  import android.content.Context;
  import android.content.SharedPreferences;
  import android.util.Log;
  import android.view.Menu;
  
  public class MainActivity extends Activity {
  
  final static private String APP_KEY = "1234key";
  final static private String APP_SECRET = "1234secret";
  
  DropboxAPI&lt;AndroidAuthSession&gt; mDBApi;
  
  @Override
  public void onCreate(Bundle savedInstanceState) {
      super.onCreate(savedInstanceState);
      AccessType ACCESS_TYPE = AccessType.APP_FOLDER;
      AppKeyPair appKeys = new AppKeyPair(APP_KEY, APP_SECRET);
      AndroidAuthSession session = new AndroidAuthSession(appKeys, ACCESS_TYPE);
      mDBApi = new DropboxAPI&lt;AndroidAuthSession&gt;(session);
      setContentView(R.layout.activity_main);
  
  
  }
  </code></pre>
  
  <p>And my manifest file:</p>
  
  <pre><code>&lt;manifest xmlns:android="http://schemas.android.com/apk/res/android"
  package="com.example.xxx.app"
  android:versionCode="1"
  android:versionName="1.0" &gt;
  
  &lt;uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/&gt;
  &lt;uses-permission android:name="android.permission.INTERNET"&gt;&lt;/uses-permission&gt;
  
  &lt;uses-sdk
      android:minSdkVersion="15"
      android:targetSdkVersion="15" /&gt;
  
  &lt;application
      android:icon="@drawable/ic_launcher"
      android:label="@string/app_name"
      android:theme="@style/AppTheme" &gt;
      &lt;activity
          android:name=".MainActivity"
          android:label="@string/title_activity_main" &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;!-- Dropbox Manifest --&gt;
        &lt;activity
        android:name="com.dropbox.client2.android.AuthActivity"
        android:launchMode="singleTask"
        android:configChanges="orientation|keyboard"&gt;
        &lt;intent-filter&gt;
          &lt;data android:scheme="db-012345mykey" /&gt;
          &lt;action android:name="android.intent.action.VIEW" /&gt;
          &lt;category android:name="android.intent.category.BROWSABLE"/&gt;
          &lt;category android:name="android.intent.category.DEFAULT" /&gt;
        &lt;/intent-filter&gt;
      &lt;/activity&gt;
  
  &lt;/application&gt;
  
  &lt;/manifest&gt;
  </code></pre>