Java tutorial
//package com.java2s; import android.content.Context; import java.io.IOException; public class Main { private static final String DIR_BOARDS_ASSETS = "Boards"; public static String[] getListBoardFromAssets(Context context) { String[] listBoardsName = null; try { listBoardsName = context.getAssets().list(DIR_BOARDS_ASSETS); } catch (IOException ex) { ex.printStackTrace(); } return listBoardsName; } }