【发布时间】:2014-02-27 22:34:56
【问题描述】:
我正在尝试在 android 中打开特定文件夹?是否可以打开特定文件夹????这是我正在使用的代码
config=(Button)findViewById(R.id.btn_cf);
config.setOnClickListener(new View.OnClickListener()
{
@Override
public void onClick(View v)
{
Intent intent = new Intent("Intent.ACTION_GET_CONTENT");
Uri uri = Uri.parse("mnt/sdcard/myfiles/allfiles/download");
intent.setDataAndType(uri, "*/*");
startActivity(Intent.createChooser(intent, "download"));
}
});
【问题讨论】: