Java tutorial
//package com.java2s; import java.io.File; import java.io.IOException; import android.content.Context; public class Main { public static File getFileOutputStream(Context context, String dictFileName) throws IOException { File fos = context.getFileStreamPath(dictFileName); return fos; } }