getExternalFilesDirs() is API level 19:
https://developer.android.com/reference/android/content/Context.html#getExternalFilesDirs%28java.lang.String%29

I don't know, if it is possible to use this function without changing target SDK version?