freebird wrote: > I'm trying to delete files in the code. It seems that > Activity.deleteFile() doesn't accept string containing path seperator. > Then how do I delete files from SD card? Can someone give me a code > sample on how to use Android file system? Thanks a lot!
new File("/sdcard/my/file/is/here.txt").delete() should work. -- Mark Murphy (a Commons Guy) http://commonsware.com _The Busy Coder's Guide to Android Development_ Version 1.4 Published! --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Beginners" group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~----------~----~----~----~------~----~------~--~---