Back to project page VankeTV.
The source code is released under:
GNU General Public License
If you think the Android project VankeTV listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.baidu.bvideoviewsample1.filesselect; //from www .jav a 2 s. com import android.app.AlertDialog; import android.app.Dialog; import android.content.Context; import java.io.FileFilter; public class FileSelectDialog { private final static String TAG = "FileSelectDialog"; private final static String S_PARENT_FOLDER = ".."; private final static String S_CURRENT_FOLDER = "."; private FileSelectDialog() { // ????? } public static Dialog createDialog(Context context, String title, FileFilter fileFilter, FileSelectedCallBackBundle callback) { AlertDialog.Builder builder = new AlertDialog.Builder(context); builder.setView(new FileSelectListView(context, fileFilter, callback)); Dialog dialog = builder.create(); dialog.setTitle(title); return dialog; } }