0

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.

BenMorel
  • 34,448
  • 50
  • 182
  • 322
Bilal
  • 1
  • 1

2 Answers2

0

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.

Community
  • 1
  • 1
Audrius
  • 2,836
  • 1
  • 26
  • 35
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