[android-developers] Re: Camera preview Api

2011-02-15 Thread Joe McCann
I recommend using getExternalStorageDirectory() http://developer.android.com/reference/android/os/Environment.html#getExternalStorageDirectory() On Feb 15, 3:10 am, Jayanthi jaia...@gmail.com wrote: Hi,    I am trying to save images in sd card which is taken from camera in emulator, the

[android-developers] Re: Camera preview Api

2011-02-15 Thread Mike C
Jayanthi, I'm not exactly sure why you would get that error, but check these two things: (1) Declare in AndroidManifest.xml that your app uses the WRITE_EXTERNAL_STORAGE permission (2) Check that your SD card is mounted on the device when you try to write the file; for example, if your device is

[android-developers] Re: Camera preview Api

2011-02-15 Thread Jayanthi
Hi, My application is working just small mistake leads to error , In manifest file I gave permission inside another permission like below uses-permission android:name=android.permission.SEND_SMS uses-permission android:name=android.permission.WRITE_EXTERNAL_STORAGE / /uses-permission I