Google TV, Access Google Drive using Android API not possible - google-drive-api

We are building an app where we needs to access files stored at google drive.
We are able to run our app other than google tv.
Reason found so far:-
Google Play Services are not available for google TV.
us there any alternative to access Google Drive File at Google TV.
Thanks
Dev Team

You should be able to do the OAUTH2 in a WebView and use the raw api's. https://developers.google.com/drive/
and
https://developers.google.com/drive/quickstart-java
You'll probably need to use different support libraries for TV.

Related

Google Drive API grant access to another/multiple Apps

Currently, we have a mobile App that is storing data into a Google Drive folder using the scope
https://www.googleapis.com/auth/drive.file
View and manage Google Drive files and folders that you have opened or created with this app
Now we are planning to add a web app as well. The problem is, that the web app cannot access files uploaded by the mobile app and vice versa.
So is there a way to tell the Google Drive API that those two apps (web app and the mobile app) are in fact the 'same' application?
I want to avoid using the scope for full access to the user's Google Drive.
https://www.googleapis.com/auth/drive
Or is there another way that both apps can read/write the same folder?
Thanks in advance.
I also took a look at the Google Picker API but it does not seem to be what I want.
Posting this for documentation purposes.
As mentioned in comments, both apps should be part of the same Google Cloud Platform project, that's the only way to "tell" the API that they are the same application.
If they are not part of the same project, you should use the drive scope instead.

Google Drive APi and Google Maps in the same application

I'm using Google Maps API in my application. I want to use Google Drive too. Do I need to create a new key and project in google developer console, or just enable Google Drive?
Just enabling Google Drive would be fine.
According to the console help docs:
a project is a collection of settings, credentials, and metadata about the application or applications you're working on that make use of Google Developer APIs and Google Cloud resources.
So in other words, one project == one app.
https://developers.google.com/console/help/new/?hl=en_US#managing-projects-in-the-developers-console
Hope this help!

How can I build a Desktop client for Google Drive?

I want to build desktop application for Windows OS and use Google Drive to save some data in the cloud. After reading Google Drive SDK I found that only Web-applications, were installed from Chrome Web Store are allowed to use API and have access to data on Google Drive.
So my question: do I have any way to build native client (C++, Windows) for Google Drive? I know about hacks with using Google Docs API - but they can stop working any time, and I want something stable. Why Google team do not allow me create desktop application for their service? I have support of many other cloud storages and they do not have such restrictions.
Thanks.
For now you will have to use the (older) Google Document List API which provides full read-write and list access to Google Drive. (Google Drive and the former Google Docs use the same data)
So until we extend the capabilities of the current Drive API to cover the Google Document List use case you should use that instead.
EDIT: We just launched the v2 of the Google Drive SDK so you should now use that instead.
I have been working on a similar problem. I have realized that there is no straight forward way for doing this. Google Drive SDK is not easy to work with and how someone can simplify the process of connecting desktop application to Google drive shortly. I know this is not much help, but I am looking for a soltuion as well.
Here is some links that I have come across, haven't solved my problem either, but if you come to a solution please let us know PLEASE:
How to make GUI Client to upload file in java
Using Java APIs for downloading file from the Google Drive
http://www.coderanch.com/t/643120/Servlets/java/upload-file-drop-box-file

Upload File to Drive Remotely

I was trying to upload files to google drive from a Desktop Application, but i couldnt find how to do it with Google Drive API since that is based for google browser apps. For this matter should i use Google Drive API or Documments API?
You can use both Drive API or Documents List API to achieve, but the Drive API has the additional requirement that Apps need to be installed (for now) from the Chrome Web Store. Once installed, if you authorize the user with OAuth 2.0, you can use the Drive API in a desktop app.

Use Google Drive APIs for android application

I want to integrate Google Drive on an Android application.
It looks like it's possible to integrate Google Drive using Google Drive APIs and Google Document List APIs.
Is there any issue to integrated Google Drive, like guidelines or rules?
I downloaded assets of Google Drive icons from Branding Guide Line. Is it OK to use any icons from them?
Is there any guide lines to integrate Google Drive on android application?
I checked the developer documents for Google Drive. It described them for Chrome Web Applications. I couldn't find any documents regarding Android applications. When will documents and guidelines for Android application be released?
I have some questions concerning Google Drive policy. Where can I get these policy questions?
Most of our branding guidelines ar described in this document as long as you follow them you should be fine using the assets and the Drive brand.
For your policy questions simply ask them here. If they have legal implication please send an email to legal#google.com, you may also try policy#google.com