I have problem in accessing the exact path of images 开发者_Python百科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.
For API < 8 you will probably will have to do what this guy suggest.
What exactly are you trying to achieve? It bight be possible to it in some other way.
Usually, Environment.getExternalStorageDirectory().getCanonicalPaht()
will give you the directory the camera app uses. I used it in my application and it is API 8.
精彩评论