[android-developers] Re: File.isFile() and File.isDirectory() both return false

2009-07-14 Thread Dianne Hackborn
Also there is no such directory "/System" (with a capital S), and it looks like this code may be using raw leaf names as top-level names it tries to find, which also wouldn't exit. That is, there is no "bin" dir, but there is a "/system/bin" On Tue, Jul 14, 2009 at 9:44 AM, David Turner wrote:

[android-developers] Re: File.isFile() and File.isDirectory() both return false

2009-07-14 Thread David Turner
Maybe because your application has no permission to access the corresponding file/directory? On Tue, Jul 14, 2009 at 12:06 PM, Anirudh wrote: > > > Hi, > > I have a function to list the contents of a directory. For the > contents of the directory "/System", both isDirectoy and isFile > functions