News for hackers. Stuff that matters.
Re:Google Drive SDK by Carnage4Life on Tuesday April 24, 2012 @02:07PM (#3885435)
Google Drive only works with Chrome Web Store apps? Strange. SkyDrive has SDKs for Windows Phone, iOS and Android apps at http://msdn.microsoft.com/en-us/live/ff621310

PS: Yes, I work on the SkyDrive developer platform. It doesn't change the truth.

Re:Google Drive SDK by haberman on Tuesday April 24, 2012 @04:17PM (#3886134)
My reading of this is that the Chrome Web Store is where apps are listed and users authorize them, but not necessarily that the app has to run in a web browser. The user could authorize the app by "installing" it through the Chrome Web Store but download/use it from a totally different channel.

PS: I work at Google but don't have any inside info on this.

Re:Google Drive SDK by TazeTSchnitzel on Wednesday April 25, 2012 @03:56AM (#3888134)
Chrome Web Store is exclusively for web apps. It's essentially Chrome's and Chromebook's App Store.
Re:Google Drive SDK by haberman on Wednesday April 25, 2012 @11:16AM (#3889446)
I understand that. There's no way to have the web store install a native app.

But once you have "installed" the web app, how would the API server have any idea whether a Google Drive API request was coming from a web server, some JavaScript running in a web browser, an Android app, or a remote island in the Pacific that has no electricity via the "IP over Avian Carriers" protocol? It's just HTTP requests with some authorization headers that tie it to your app's identity.

Re:Google Drive SDK by VikingCoder on Tuesday April 24, 2012 @03:25PM (#3885869)
Google Drive synchs to your local hard drive, and thus works with all of your apps. (Right?)

It ALSO has a Chrome interface to be clever. Picture opening a 1,000 page PDF. If the Chrome PDF Viewer knows how to fetch individual pages on demand, do searches on the server side, etc., it could be very nice for quick previews, etc.

Also, it works great for one content creator (who has the app on the desktop), and a bunch of content viewers (and commenters) who just need Chrome.

Re:Google Drive SDK by option_greek on Tuesday April 24, 2012 @04:57PM (#3886296)
I think its a pretty stupid move. If they really want developers to flock to Google drive, they should not limit the api to their little corner of the world. I'm guessing that they are going to open it to all apps eventually.
Re:Google Drive SDK by etherealG on Tuesday April 24, 2012 @02:10PM (#3885457)
agreed, such a bad implementation of an api. why the association to chrome at all :(
Re:Google Drive SDK by jbk on Tuesday April 24, 2012 @02:10PM (#3885450)
How am I supposed to integrate it within a desktop application? Within an Android application?

I must be missing something obvious :)

Re:Google Drive SDK by TazeTSchnitzel on Tuesday April 24, 2012 @02:25PM (#3885550)
You aren't, I think this is an effort to give web apps file associations.

Or in other words, give _Chromebooks_ file associations.

Re:Google Drive SDK by densh on Tuesday April 24, 2012 @03:19PM (#3885837)
There is a simple rest api for that:

https://developers.google.com/drive/v1/reference/

They should have definitely not hidden it so far away.

Re:Google Drive SDK by bdonlan on Wednesday April 25, 2012 @12:54AM (#3887776)
https://developers.google.com/drive/get_started

> Warning: Apps will not have any API access to files unless the app has been installed in Chrome Web Store. To test an app during development, you must first create a listing and install it.

Re:Google Drive SDK by novalis on Tuesday April 24, 2012 @05:16PM (#3886357)
First thing I found when I looked in. I kid you not.
Re:Google Drive SDK by VikingCoder on Tuesday April 24, 2012 @03:23PM (#3885857)
A) Synchs to your local HD, so your applications don't know or care. (Right?)

B) Application developers can use an SDK to go directly to your Drive account, and do some extra tricks.

Re:Google Drive SDK by sureshv on Tuesday April 24, 2012 @02:26PM (#3885557)
Re:Google Drive SDK by DenisM on Tuesday April 24, 2012 @02:45PM (#3885659)
.NET library has not been updated recently, so I don't think it has the Drive APIs in it. Do you see any library that actually has Drive code in it?
Re:Google Drive SDK by icebraining on Tuesday April 24, 2012 @03:03PM (#3885754)
Do you see any library that actually has Drive code in it?

https://code.google.com/p/google-api-go-client/source/browse...

Re:Google Drive SDK by sureshv on Tuesday April 24, 2012 @03:02PM (#3885752)
You're right, these are just the generic Google API libraries.

There is a sample .NET app for GDrive: https://developers.google.com/drive/examples/dotnet

Re:Google Drive SDK by DenisM on Tuesday April 24, 2012 @03:13PM (#3885802)
That's still not right - in step 5 it asks to register Chrome something or another. So it's only to write web apps, not native apps.
Re:Google Drive SDK by haberman on Tuesday April 24, 2012 @04:14PM (#3886121)
It looks like the Chrome Web Store is the centralized place for developers to list apps and for users to authorize them. But once the app is registered/authorized, I'm not sure how the server would have any idea whether requests were coming from a web app or a desktop app.

If this is the case, then a native app could exist Chrome Web Store solely for the purpose of letting users authorize the app to access their GDrive.

Re:Google Drive SDK by SiVal on Wednesday April 25, 2012 @05:12AM (#3888274)
It's interesting that on the About Google Drive page, they claim, "Data is inherently social."

Funny, I claim that my data is inherently private. Is it a coincidence that companies that would like to sell my data have the philosophy that my data is "inherently social"?

Re:Google Drive SDK by cleverjake on Tuesday April 24, 2012 @01:09PM (#3885031)
"Warning: Apps will not have any API access to files unless the app has been installed in Chrome Web Store. To test an app during development, you must first create a listing and install it."

While that does make it feel a bit more secure, that would be a huge hassel for anyone that wants to go stealth at first.

Re:Google Drive SDK by mmahemoff on Tuesday April 24, 2012 @01:50PM (#3885320)
While that does make it feel a bit more secure, that would be a huge hassel for anyone that wants to go stealth at first.

Chrome Web Store has an option for testing where you can whitelist authorised people by Google ID. It may not address the whole issue, but it helps.

Re:Google Drive SDK by cleverjake on Tuesday April 24, 2012 @04:13PM (#3886114)
Ah! Did not know that. Thank you for pointing that out.
Re:Google Drive SDK by jpdoctor on Tuesday April 24, 2012 @01:35PM (#3885210)
> Apps will not have any API access to files unless the app has been installed in Chrome Web Store

I wish google would try being different than apple rather than the same.

Re:Google Drive SDK by etrain on Tuesday April 24, 2012 @01:35PM (#3885208)
Yeah, this seems kind of bogus - if I'm reading it right, you also have to be creating a webapp to use their API - so hope of implementing a Linux client on FUSE is low at this point.
Re:Google Drive SDK by willscott on Tuesday April 24, 2012 @02:13PM (#3885473)
It seems like a better candidate for a linux FUSE client would be the existing document list API. It works with oauth, and lets you interact with documents.

The Drive API is a way to integrate new editor types into google docs.

Re:Google Drive SDK by VikingCoder on Tuesday April 24, 2012 @03:27PM (#3885882)
It's an API. Inevitably, someone will implement the API so you can run a local version of it, so you can test in stealth mode.
Re:Google Drive SDK by pjmlp on Tuesday April 24, 2012 @02:23PM (#3885533)
No C or C++ support? :(
Re:Google Drive SDK by skore on Wednesday April 25, 2012 @05:32AM (#3888329)
Even though I knew about Google Drive, my brain somewhat zoned out for a second and - probably under the influence of yesterdays Planetary Resources Announcement - I thought Google was releasing an SDK for autonomous cars.
Re:Google Drive SDK by psweber on Tuesday April 24, 2012 @02:24PM (#3885544)
This will be a good war.
Re:Google Drive SDK by bashzor on Tuesday April 24, 2012 @02:18PM (#3885512)
I wish people stopped flooding Hacker News with the same product. Or even more so, upvoting all five on the homepage alone. It's not like Drive is that great. Actually it very much pales next to Dropbox.
Re:Google Drive SDK by JoachimSchipper on Tuesday April 24, 2012 @02:36PM (#3885613)
You're right, but "look, GDrive has an API" is actually kind of neat - this complaint would be more justified on the other threads, IMHO.
Re:Google Drive SDK by bashzor on Tuesday April 24, 2012 @05:13PM (#3886345)
That's true, should have looked for a better one to post this at.
Re:Google Drive SDK by Newky on Tuesday April 24, 2012 @02:29PM (#3885577)
In some areas perhaps it hasn't got some of the functionality that Dropbox has, but it also seems to be scratching a lot of itches which Dropbox isn't even considering scratching.

This is not to say Dropbox should consider. Just I don't think you could say this offering pales in comparison to Dropbox. The app SDK in particular looks exciting.

Re:Google Drive SDK by huggyface on Tuesday April 24, 2012 @02:36PM (#3885617)
It's not like Drive is that great. Actually it very much pales next to Dropbox.

That sounds remarkably sour. Nonetheless, it gets attention because it had been talked about for literally years (back to the latter 2000s). On the day of release it isn't super surprising that it's getting some love.