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 PC World newsletter!

Error: Please check your email address.

Tags Development toolsapplication developmentconsumer electronicsGooglesmartphonesAndroidsoftware

Our Back to Business guide highlights the best products for you to boost your productivity at home, on the road, at the office, or in the classroom.

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

Essentials

Lexar® JumpDrive® S57 USB 3.0 flash drive

Learn more >

Microsoft L5V-00027 Sculpt Ergonomic Keyboard Desktop

Learn more >

Mobile

Lexar® JumpDrive® S45 USB 3.0 flash drive 

Learn more >

Exec

Audio-Technica ATH-ANC70 Noise Cancelling Headphones

Learn more >

Lexar® Professional 1800x microSDHC™/microSDXC™ UHS-II cards 

Learn more >

HD Pan/Tilt Wi-Fi Camera with Night Vision NC450

Learn more >

Lexar® JumpDrive® C20c USB Type-C flash drive 

Learn more >

Budget

Back To Business Guide

Click for more ›

Most Popular Reviews

Latest News Articles

Resources

PCW Evaluation Team

Michael Hargreaves

Windows 10 for Business / Dell XPS 13

I’d happily recommend this touchscreen laptop and Windows 10 as a great way to get serious work done at a desk or on the road.

Aysha Strobbe

Windows 10 / HP Spectre x360

Ultimately, I think the Windows 10 environment is excellent for me as it caters for so many different uses. The inclusion of the Xbox app is also great for when you need some downtime too!

Mark Escubio

Windows 10 / Lenovo Yoga 910

For me, the Xbox Play Anywhere is a great new feature as it allows you to play your current Xbox games with higher resolutions and better graphics without forking out extra cash for another copy. Although available titles are still scarce, but I’m sure it will grow in time.

Kathy Cassidy

STYLISTIC Q702

First impression on unpacking the Q702 test unit was the solid feel and clean, minimalist styling.

Anthony Grifoni

STYLISTIC Q572

For work use, Microsoft Word and Excel programs pre-installed on the device are adequate for preparing short documents.

Featured Content

Latest Jobs

Don’t have an account? Sign up here

Don't have an account? Sign up now

Forgot password?