title: Delete / trash file from android using android.gms.drive
body: <p>I need to delete files from Google Drive using <code>com.google.android.gms.drive</code>. From what I've read <a href="https://stackoverflow.com/questions/21369573/trash-delete-in-new-google-drive-android-api">here</a> and across the web there is no support for file deletion in the "new API". <strong>Is that (still) correct?</strong> I mean the API isn't that new anymore ...</p>
  
  <p>I also read about the "clear contents and forget"-strategy, but I'd like not to follow that approach.</p>
  
  <p><em>Part 2 of the question:</em> Given it's still impossible to delete files via the API mentioned above; is there any <em>easy</em> way to combine the <a href="https://developers.google.com/drive/v2/reference/" rel="nofollow noreferrer">REST API</a> w/ the code I've already written? Something like</p>
  
  <ol>
  <li>get token from GoogleApiClient</li>
  <li>fire DELETE request w/ token and file id</li>
  <li>???</li>
  <li>profit</li>
  </ol>
  
  <hr>
  
  <p><strong>edit:</strong> The new Google Play Services (version 7.0.0 / March 2015) finally features a <code>trash()</code> method. See <a href="https://developer.android.com/reference/com/google/android/gms/drive/DriveResource.html" rel="nofollow noreferrer">https://developer.android.com/reference/com/google/android/gms/drive/DriveResource.html</a> for further details.
  .</p>
  
  <hr>
  
  <p><strong>edit2:</strong> Apparently you cannot use <code>trash()</code> on files from the <strong>app folder</strong>: <code>Cannot trash App Folder or files inside the App Folder.</code> :((</p>
  
  <hr>
  
  <p><strong>edit3:</strong> As of May 28th, it's now possible to actually <a href="https://developers.google.com/android/reference/com/google/android/gms/drive/DriveResource#delete%28com.google.android.gms.common.api.GoogleApiClient%29" rel="nofollow noreferrer">delete</a> files.</p>