Java tutorial
//package com.java2s; //License from project: Apache License import android.content.Context; import java.io.IOException; public class Main { public static String[] getListFile(Context context, String assetPath) { try { String[] list = context.getAssets().list(assetPath); return list; } catch (IOException e) { e.printStackTrace(); } return null; } }