title: Permission Denial: ... requires android.permission.WRITE_EXTERNAL_STORAGE
body: <p>So the latest wall I've hit is in trying to write to the sdcard with my program.  I'm getting:</p>
  
  <pre><code>[2011-05-28 10:00:16 - LatinDictionary] ActivityManager: java.lang.SecurityException: Permission Denial: starting Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10000000 cmp=com.joelman.latindictionary/.LatinDictionary } from null (pid=-1, uid=-1) requires android.permission.WRITE_EXTERNAL_STORAGE
  </code></pre>
  
  <p>As you can see from my manifest below, I've added the permission (I also tried adding it to each of the activities, to no avail).  What am I missing?</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.joelman.latindictionary"
        android:versionCode="1"
        android:versionName="1.0"&gt;
       &lt;uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"&gt;&lt;/uses-permission&gt;
       &lt;application android:icon="@drawable/icon" android:label="@string/app_name" android:permission="android.permission.WRITE_EXTERNAL_STORAGE"&gt;
       &lt;activity android:name=".LatinDictionary"&gt;
       &lt;intent-filter&gt;
       &lt;action android:name="android.intent.action.MAIN"&gt;&lt;/action&gt;
  &lt;category android:name="android.intent.category.LAUNCHER"&gt;&lt;/category&gt;
  &lt;/intent-filter&gt;
  &lt;intent-filter&gt;&lt;action android:name="android.intent.action.SEARCH"&gt;&lt;/action&gt;
  &lt;/intent-filter&gt;
  &lt;/activity&gt;
  
  &lt;provider android:name="DictionaryProvider" android:authorities="com.joelman.latindictionary.DictionaryProvider"&gt;&lt;/provider&gt;
  &lt;/application&gt;
  
  &lt;/manifest&gt; 
  </code></pre>
  
  <p>TIA,
  Joel</p>