title: How to get list of all folders and files from google drive in android
body: <p>I have started developing a app in which i have to list of all folders and files from google drive.</p>
  
  <p>I have go through all the documentation and below demo links as suggested in this stack overflow <a href="https://stackoverflow.com/questions/32760028/get-all-folders-google-drive-api-on-android">answer</a>,</p>
  
  <p><a href="https://github.com/googledrive/android-demos" rel="nofollow noreferrer">https://github.com/googledrive/android-demos</a></p>
  
  <p>And </p>
  
  <p><a href="https://github.com/seanpjanson/RESTDemo" rel="nofollow noreferrer">https://github.com/seanpjanson/RESTDemo</a></p>
  
  <p>I have make these both demo working properly. <strong>But I am not able to list out all the folders and files of google drive.</strong> Currently i can <strong>only list out those files which are created by app only</strong>. If there is any other folder created from web then it is not showing in the log or list.</p>
  
  <p>Can any one help me on this. Any link, suggestion , guidance will be helpful.</p>
  
  <p><strong><em>I am having a doubt that may be this is not allowed</em></strong> but there is a sample app which is <a href="https://play.google.com/store/apps/details?id=com.bubblesoft.android.bubbleupnp&amp;hl=en" rel="nofollow noreferrer">BubbleUPnP</a> in this app they have listed the folders and files. How can i achieve this in my app ?</p>
  
  <p>Any help will be appreciated.</p>