New API will simplify Google Drive integration with Android apps, says Google

The Google Drive Android API lets apps combine local and cloud-based storage

Google wants more developers to integrate their Android apps with its storage service Drive, and has released a new API that aims to make it easier.

While Drive integration on Android was possible in the past, the new API offers developers better performance and more features, Google developer advocate Magnus Hyttsten said in a blog post on Thursday.

The native, Java-based Drive Android API is still under development, but developers can now test a preview version that's included in Play Services 4.1.

The API includes the ability to temporarily use storage on the device if it is not connected to a network. The upshot for developers is that they don't have to worry about failed API calls when the phone is offline or experiencing network connectivity problems, according to Hyttsten. Data stored locally will then be automatically transferred to Drive by Android's sync scheduler when connectivity is reestablished.

The API also includes Android user interface components and specialized functionality for interacting with files stored on Drive.

Smartphones and tablets running Android 2.3, also known as Gingerbread, or later versions of the operating system are all compatible with the Drive Android API. The addition of the API will have little effect on the total size of an app, Hyttsten said.

Applications compiled using the preview version will continue to work on devices using future versions of Play services. However, changes to the interface are expected in future releases, which means that developers have to rewrite their apps to take of that.

Online storage is a crowded field, and Google isn't the only company that wants to make its service more useful by opening the door for third party app integration. For example, competitor Dropbox offers a number of APIs for developers of Android apps, as well as other platforms. The ability to save files from third party Android or iOS apps to Dropbox is coming soon, according to Dropbox's website.

Send news tips and comments to mikael_ricknas@idg.com

Join the newsletter!

Or

Sign up to gain exclusive access to email subscriptions, event invitations, competitions, giveaways, and much more.

Membership is free, and your security and privacy remain protected. View our privacy policy before signing up.

Error: Please check your email address.

Tags smartphonesGoogleAndroidsoftwareapplication developmentconsumer electronicsDevelopment tools

Keep up with the latest tech news, reviews and previews by subscribing to the Good Gear Guide newsletter.

Mikael Ricknäs

IDG News Service
Show Comments

Brand Post

Most Popular Reviews

Latest Articles

Resources

PCW Evaluation Team

Emily Tyson

MSI GE63 Raider

If you’re looking to invest in your next work horse laptop for work or home use, you can’t go wrong with the MSI GE63.

Laura Johnston

MSI GS65 Stealth Thin

If you can afford the price tag, it is well worth the money. It out performs any other laptop I have tried for gaming, and the transportable design and incredible display also make it ideal for work.

Andrew Teoh

Brother MFC-L9570CDW Multifunction Printer

Touch screen visibility and operation was great and easy to navigate. Each menu and sub-menu was in an understandable order and category

Louise Coady

Brother MFC-L9570CDW Multifunction Printer

The printer was convenient, produced clear and vibrant images and was very easy to use

Edwina Hargreaves

WD My Cloud Home

I would recommend this device for families and small businesses who want one safe place to store all their important digital content and a way to easily share it with friends, family, business partners, or customers.

Walid Mikhael

Brother QL-820NWB Professional Label Printer

It’s easy to set up, it’s compact and quiet when printing and to top if off, the print quality is excellent. This is hands down the best printer I’ve used for printing labels.

Featured Content

Latest Jobs

Don’t have an account? Sign up here

Don't have an account? Sign up now

Forgot password?