title: List Folder of Google Drive in android
body: <p>I need to integrate Google drive in my android app.</p>
  
  <p>i have integrated it successfully but by below code i can only get the file name , i want folder name also.</p>
  
  <p>Here is my code :-</p>
  
  <pre><code>Files.List request = service.files().list();
  textFiles = new HashMap&lt;String, File&gt;();
  FileList files = null;
  do {
       try {
          files = request.execute();
  
            for (File file : files.getItems()) {
                  textFiles.put(file.getId(), file);
                  Log.v("Test"+" :",file.getTitle());
                      i++;
          }
  
          Log.d("sdds", files + "");
          Log.d("first", files.size() + "");          
             request.setPageToken(files.getNextPageToken());
          } catch (IOException e) {
          System.out.println("An error occurred: " + e);
          request.setPageToken(null);
      }
     } while (request.getPageToken() != null &amp;&amp; request.getPageToken().length() &gt; 0);
  </code></pre>
  
  <p>Am i doing some thing wrong?</p>
  
  <p>Thanks for Help.</p>