摘要:
//---------------- DirTraversal.javapackage com.once;import java.io.File;import java.util.ArrayList;import java.util.LinkedList;/*** 文件夹遍历* @author once**/public class DirTraversal { //no recursion public static LinkedList<File> listLinkedFiles(String strPath) { LinkedList<File> list = n 阅读全文
摘要:
Intent intent = new Intent();/* 开启Pictures画面Type设定为image */intent.setType( "image/*");//intent.setType( "audio/*"); //选择音频//intent.setType( "video/*"); //选择视频 (mp4 3gp 是android支持的视频格式)/* 使用Intent.ACTION_GET_CONTENT这个Action */ intent.setAction(Intent.ACTION_GET_CONTENT); 阅读全文