Not all files will have the permission to edit/delete. You should first check for the permission before doing an operation on a file.
Thanks and Regards, Kumar Bibek On Apr 4, 8:42 pm, brijesh masrani <masrani.brij...@gmail.com> wrote: > Hello Everyone > > I want to modify a text file using Android program . > I searched about that and i found that I have to copy whole content of file > and than Modify it and save it to other file and than Delete Original file > and rename the Modified one. > > I tried file.delete() method But i am getting error of permission denied to > delete that file. > > So can anyone help me As Soon As possible > > Regards, > Brijesh Masrani. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en To unsubscribe, reply using "remove me" as the subject.