Hi Those folders are not present , but if you create them and files in them and use list with relative path it works Say create image folder under assets and give getAssets().list("image") it will provide all the files under image folder. But i am trying to create folder X, Y and Z and retrieve files in these folders
On Jun 10, 11:03 am, Mark Murphy <mmur...@commonsware.com> wrote: > On Fri, Jun 10, 2011 at 1:23 PM, KC203 <kavithachandramo...@gmail.com> wrote: > > apart from the folders provided (image, sound and webkit) can we add > > new folders to asset ??? > > Those folders aren't "provided", unless Eclipse has started adding > them and I haven't noticed. > > You create an assets/ directory in your project and put in there > whatever you want, all at compile time. > > > When i added and used getAssets().list("") , it didn not capture the > > new folders added ? > > I don't know if list() ever returns folders. I think it only returns files. > > -- > Mark Murphy (a Commons > Guy)http://commonsware.com|http://github.com/commonsguyhttp://commonsware.com/blog|http://twitter.com/commonsguy > > Android 3.0 Programming Books:http://commonsware.com/books -- 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