Open Source Google Drive implementation available to developers

Published by at

Despite SkyDrive being the defacto cloud service for Windows Phone 7, you might be tied into using other services that are not officially supported. If you're a Google Drive user, you're in luck. An open source project, called GDrive, has been created to develop a Google Drive client - the hope is that others will take the code and develop into more fully featured applications.

The lone developer, Pedro Lamas, explains on his GitHub page:

"This is my personal approach for a Google Drive application for Windows Phone!

It is not intended to be a full featured Google Drive client, but rather a way for me to show how I normally code my Windows Phone apps with an MVVM architecture, and also how you can easily create a Google Drive client for Windows Phone (since Google didn't build one themselves...)

Please feel free to fork, download, copy, change, alter, comment, trash..."

The need for such projects underlines the growing sense that all of the current cloud services are creating a new form of lock-in by lacking any form of cooperative federation of user content. For example, you cannot access your Google Drive files from SkyDrive, and Google Drive won't edit Microsoft Office files without creating a separate copy in GDoc format.

Only developers will be able to get this app running as the source code needs to be compiled and installed before it can be used. That being said, this is a welcome resource for developers, as Pedro has supplied the code with a very liberal licence:

"Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,

FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE."

The application is far from complete, with the current feature set consisting of:

  • Multiple accounts support
  • OAuth 2 account login
  • List files and folders with their metadata
  • Navigate the folder tree
  • Create new folders
  • Upload files (just pictures, that's what Windows Phone SDK allows us to do!)
  • Star/Unstar files
  • Trash files

You can read more on the GDrive GitHub page and Pedro Lamas' blog.

 

[Via WMPowerUser]

Source / Credit: GDrive [GitHub]