I have problem in accessing the exact path of images saved by camera in android 2.1 or lower API. I used this Environment.getExternalStoragePublicDirectory(Environment.DIRECTORY_PICTURES) but it works for API level > 7.
Asked
Active
Viewed 1,013 times
2 Answers
0
Usually, Environment.getExternalStorageDirectory().getCanonicalPaht()
will give you the directory the camera app uses. I used it in my application and it is API 8.

Finuka
- 730
- 7
- 15
-
Wrong, getExternalStorageDirectory() is API 1. getExternalStoragePublicDirectory() is however API 8 and I believe you meant that. – Simon Zettervall Dec 14 '12 at 10:13