title: Save file in specific folder with Google Drive SDK
body: <p>I've been trying to save a plain text file into a specific folder in Google Drive on Android.</p>
  
  <p>So far using the Documentation and <a href="https://developers.google.com/drive/quickstart-android" rel="noreferrer">QuickStart Guide</a> on Google Drive I have been able to do a few things that are going in the right direction, first I was able to create a plain text file:</p>
  
  <pre><code>  File body = new File();
    body.setTitle(fileContent.getName());
    body.setMimeType("text/plain");
    File file = service.files().insert(body, textContent).execute();
  </code></pre>
  
  <p>I have been able to create a new folder in the base directory of Google Drive with:</p>
  
  <pre><code>  File body = new File();
    body.setTitle("Air Note");
    body.setMimeType("application/vnd.google-apps.folder");
    File file = service.files().insert(body).execute();
  </code></pre>
  
  <p>I have also been able to list all of the folders in the user's Google Drive account with:</p>
  
  <pre><code>      List&lt;File&gt; files = service.files().list().setQ("mimeType = 'application/vnd.google-apps.folder'").execute().getItems();
        for (File f : files) {
            System.out.println(f.getTitle() + ", " + f.getMimeType());
        }
  </code></pre>
  
  <p>However I am a bit stuck on how to save a text file into a folder within Google Drive.</p>