Have the public static fields in android.os.Environment been removed? (Android 2.1)
<p>Looking at the example code in the docs <a href="http://developer.android.com/reference/android/content/Context.html#getExternalFilesDir%28java.lang.String%29" rel="nofollow">http://developer.android.com/reference/android/content/Context.html#getExternalFilesDir%28java.lang.String%29</a></p>

<pre><code>File path = getExternalFilesDir(Environment.DIRECTORY_PICTURES);
</code></pre>

<p>It does not compile on 2.1
The static fields DIRECTORY_PICTURES, DIRECTORY_MUSIC etc. don't seem to be found.</p>

<p>Update: 
Using the filter api checkbox, I see that it was removed in Android 2.2 (or api version 8). So the manifest file needs to contain minSdk defined as 7.</p>
