new File("/mnt/sdcard/somedir").exists()On Friday, October 19, 2012 10:47:50 AM UTC-5, Paolo Mancini wrote: > > Hi, > I need to create some directory inside the application to maintain some > internal data. > To obtain this, I use context.getDir() and It works fine. > Sometimes I need to know if some dir exists without create it..and to do > it I can't use the context.getDir() cause this function create the > directory if needed. > > How can I obtain this? > > Thanks > -- 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

