Android examples for App:Assets
get Folders from Asset
//package com.java2s; import android.content.res.AssetManager; import java.io.IOException; public class Main { public static String MainPath = "smsfaces"; public static String[] getFolders(AssetManager mgr) { String[] fileNames;//w ww . j av a 2s. c o m try { fileNames = mgr.list(MainPath); return fileNames; } catch (IOException e) { e.printStackTrace(); return new String[0];//To change body of catch statement use File | Settings | File Templates. } } }