title: How to change permission of folder or file created in Google Drive using Google Drive Android API?
body: <p>I'm using <em><code>Google Drive Android API</code></em> to store and share files and folders created. When I create a file/folder using <em><code>Google Drive Android API</code></em>,by default created file or folder is <strong>private (not shared publicly)</strong>. </p>
  
  <p>When I share the link of file/folder created to any user, that user needs to send email request for access to owner. So owner have to make file/folder public manually in Google Drive to prevent access requests. </p>
  
  <p>Where as for <em><code>Google Drive iOS API</code></em>, when a file/folder is created, the file/folder created is by default <strong>public</strong>. </p>
  
  <p>Another question I want to ask is, When I am querying list of folders in Root folder (with <strong><code>MIME_TYPE</code></strong> as <strong><code>application/vnd.google-apps.folder</code></strong>), the result is given with all folders. Where as using <strong><code>Google Drive iOS API</code></strong>, <strong><code>queryForFilesList()</code></strong> method returns only folders created by particular iOS app, not all folders in the root directory. </p>
  
  <p>What I have to do to get this kind of result using <strong><code>Google Drive Android API</code></strong> or <strong><code>Google Drive REST API</code></strong>?</p>