用listview实现显示手机内存目录publicvoidonClick(DialogInterfacearg0,intarg1){//Uriuri=ContentURI;Uriuri=Uri.parse("file://"+aDirectory.getAbsolutePath());//LetsstartanintenttoViewthefile,thatwasclicked...IntentmyIntent=newIntent(android.content.Intent.ACTION_VIEW,uri);myIntent.setData(ur