Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

//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;
        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.
        }
    }
}