title: How to get the file id querying the Google drive using Google drive Java Client Library
body: <p>I ame making an System App for Google in android.which shares files from one Google account to another Google account.</p>
  
  <p>As we know Android drive API have limited support for sharing operation.</p>
  
  <p>For this purpose we are using <a href="https://developers.google.com/drive/android/auth#connecting_and_authorizing_with_the_google_apis_java_client" rel="nofollow">Google APIs JAVA client</a>.Now our problem is that we can not able to query the drive to get the folder id.</p>
  
  <p>Also how can i query for files.Any one having any example like passing the <a href="https://developers.google.com/drive/v2/reference/files/list" rel="nofollow">query parameter</a> "q".</p>
  
  <p>Note:-I am using google-api-client-1.19.0.jar.</p>
  
  <p>Anybody having some idea about this issue,please help us to resolve this issue.</p>