Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

//package com.java2s;
import java.io.IOException;
import java.io.InputStream;
import android.content.Context;

public class Main {
    public static InputStream getAssetInputStream(String assetFileName, Context context) throws IOException {
        InputStream inputStream = context.getAssets().open(assetFileName);
        return inputStream;
    }
}