title: ContentProvider for Google Drive
body: <p>My app requires to access some of the Content Providers and Google Drive is one of them. However, from my search I could not see any provider exposed by GoogleDrive. I have used the follwing code to print all the ContentProviders</p>
  
  <pre><code>for (PackageInfo pack : getPackageManager().getInstalledPackages(PackageManager.GET_PROVIDERS)) {
          ProviderInfo[] providers = pack.providers;
          if (providers != null) {
              for (ProviderInfo provider : providers) {
                  Log.d("TEST", "provider: " + provider.authority);
              }
          }
      }
  }
  </code></pre>
  
  <p>I could see providers like:</p>
  
  <p>com.google.android.apps.docs</p>
  
  <p>com.google.android.apps.docs.files.</p>
  
  <p>but could not find the name 'drive' in the list.
  So does this mean that GoogleDrive has not exposed its contents ??</p>
  
  <p>EDIT: From what I understand, it seems that we can access different components of Google Drive through different providers. eg we can access all the docs in GoogleDrive through the content provider given by Google Docs. </p>
  
  <p>However, I'm still not sure of how to access videos or songs stored in GoogleDrive !!</p>