Win a copy of Android Programming: The Big Nerd Ranch Guide this week in the Android forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

files count in a directory using FileConnection  RSS feed

 
sivakumar arani
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is there any way to find the number of files present in a directory?
presently i am using 'Enumeration e = filecon.list();' and iterating through while loop and counting. but application is getting stuck-up in this case when no. of files is large.

any ideas please help

thanks in advance
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!