title: Creating subdirectories within a directory and be able to save data into it
body: <p>I'm new to android developing, and I'm in need of help. I've got two problems which are: </p>
  
  <ol>
  <li>I don't know how to create two subdirectories inside my main directory. I know how to create subdirectory inside of a directory (<code>File directory = new File(Environment.getExternalStorageDirectory()+"Saling-Wika/Audio&amp;Text Files");</code>), but what I do want is there would be two subdirectories inside of my main subdirectory (The Audio Files &amp; Text Files are different two subdirectories inside the Saling-Wika directory which is the main directory).</li>
  <li><p>I don't know how I'm gonna be able to save my data into the subdirectories I've created.
  Here is the code of my record module where the audio data is coming from:</p>
  
  <pre><code>public class RecordModule extends Activity {
  
  Button SpeakBtn, StopBtn;
  private MediaRecorder myAudioRecorder;
  private String outputFile = null;
  
  @Override
  public void onCreate(Bundle savedInstanceState) {
      super.onCreate(savedInstanceState);
      setContentView(R.layout.recordmodule);
  
      SpeakBtn = (Button) findViewById(R.id.SpeakBtn);
      StopBtn = (Button) findViewById(R.id.StopBtn);
  
      StopBtn.setEnabled(false);
      SpeakBtn.setEnabled(true);
      SimpleDateFormat datetime = new SimpleDateFormat("ddMMyyyyhhmmss");
      String format = datetime.format(new Date());
      outputFile = Environment.getExternalStorageDirectory().getAbsolutePath() + "/" + format + ".3gp";
  
      myAudioRecorder = new MediaRecorder();
      myAudioRecorder.setAudioSource(MediaRecorder.AudioSource.MIC);
      myAudioRecorder.setOutputFormat(MediaRecorder.OutputFormat.THREE_GPP);
      myAudioRecorder.setAudioEncoder(MediaRecorder.OutputFormat.AMR_NB);
      myAudioRecorder.setOutputFile(outputFile);
  
      SpeakBtn.setOnClickListener(new View.OnClickListener() {
          @Override
          public void onClick(View v) {
              try {
                  myAudioRecorder.prepare();
                  myAudioRecorder.start();
              }
  
              catch (IllegalStateException e) {
                  // TODO Auto-generated catch block
                  e.printStackTrace();
              }
  
              catch (IOException e) {
                  // TODO Auto-generated catch block
                  e.printStackTrace();
              }
  
              SpeakBtn.setEnabled(false);
              StopBtn.setEnabled(true);
  
              Toast.makeText(getApplicationContext(), "Recording started", Toast.LENGTH_SHORT).show();
          }
      });
  
      StopBtn.setOnClickListener(new View.OnClickListener() {
          @Override
          public void onClick(View v) {
              myAudioRecorder.stop();
              myAudioRecorder.release();
              myAudioRecorder = null;
  
              StopBtn.setEnabled(false);
              SpeakBtn.setEnabled(true);
  
              Toast.makeText(getApplicationContext(), "Audio recorded successfully", Toast.LENGTH_SHORT).show();
          }
      });
  }
  </code></pre></li>
  </ol>
  
  <p>I want my audio data will be stored into the Audio Files directory, but I don't know how I'm gonna be able to do that. Please help me.</p>