title: Android Google Drive API download files from app folder
body: <p>How can I download files on device from <a href="https://developers.google.com/drive/android/appfolder#what_is_the_app_folder" rel="nofollow">App Folder</a> in Google Drive? This folder is invisible for user and only specific application can use it.</p>
  
  <p>Basically, I need to upload multiple files inside this folder (some application and user settings) and then I want to download it back on device. It works like some kind of back up for user data.</p>
  
  <p>I've done creating files inside App Folder and I can read them like this:</p>
  
  <pre><code>DriveFile appFolderFile = driveApi.getFile(googleApiClient, driveId);
  </code></pre>
  
  <p>But I don't know how can I upload existing files and then download those files to a specific folder on device. I've searched documentation, but found no solution.</p>
  
  <p>In documentation I've found how to read and retrieve file content, but no information about downloading the file itself.</p>
  
  <p>Can anybody give me a hint on how to do it? Or maybe, I just missed a correct section in documentation or it's even impossible and I have to use REST API?</p>
  
  <p><strong>Update:</strong> </p>
  
  <p>Maybe, I'm getting it wrong and there is no difference between downloading file content and downloading file?</p>