title: Google Drive Android API - Check if folder exists
body: <p>I'm trying to figure out how to check if a folder exists in Google Drive using the new <a href="https://developers.google.com/drive/android/" rel="noreferrer">Google Drive Android API</a></p>
  
  <p>I've tried the following, thinking that it would either crash or return null if the folder is not found, but it doesn't do that (just as long as it is a valid <a href="http://developer.android.com/reference/com/google/android/gms/drive/DriveId.html" rel="noreferrer">DriveId</a>, even though the folder has been deleted).</p>
  
  <pre><code>DriveFolder folder = Drive.DriveApi.getFolder(getGoogleApiClient(), driveId));
  </code></pre>
  
  <p>If i try to create a file the folder I get from the above code, it does not crash either?
  I'm clearly having a little hard time understanding how this new API works all to together, especially with the very limited tutorials and SO questions out there, and I'm really stuck on this one, so any input will be much appreciated.</p>
  
  <p>Just to clarify my problem: I'm creating a file in a specified Google Drive folder, but if the folder does not exist (has been deleted by user), I want to create it first. </p>