You have to give your app a permission WRITE_EXTERNAL_STORAGE Also, you cannot create a file in the root directory of the SD CARD.
On Fri, Oct 15, 2010 at 10:08 AM, cindy <[email protected]> wrote: > My application which can work on 2.1, but when I use 2.2 simulator, I > got error on create file: > java.io.IOException Permission denied. > > Does anyone has same problem. How to fix it? > > Thanks! > > Cindy > > -- > You received this message because you are subscribed to the Google > Groups "Android Developers" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected]<android-developers%[email protected]> > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en -- Kumar Bibek http://techdroid.kbeanie.com http://www.kbeanie.com -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

