밑에 코드로 path주소 따냈습니다.
txt 파일을 읽기 위해선 어떻게 코딩을 해야하죠??

public void loadtxt(){  //txt읽기
Intent intent = new Intent(Intent.ACTION_GET_CONTENT); 
   intent.setType("text/plain"); 
   intent.addCategory(Intent.CATEGORY_OPENABLE);

   try {
       startActivityForResult(
               Intent.createChooser(intent, "Select a File to Upload"),
               FILE_SELECT_CODE);
   } catch (android.content.ActivityNotFoundException ex) {
       // Potentially direct the user to the Market with a Dialog
       Toast.makeText(this, "Please install a File Manager.", 
               Toast.LENGTH_SHORT).show();
   }
}
protected void onActivityResult(int requestCode, int resultCode,Intent data){  //음성 인식  voice recognizer
if(requestCode==FILE_SELECT_CODE && resultCode == Activity.RESULT_OK){
Uri uri = data.getData();
String filePath = uri.getPath();
       Toast.makeText(this,""+filePath,Toast.LENGTH_SHORT).show();
        
}
}