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

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


Follow Us

Join the New Zealand Reseller News newsletter!

Error: Please check your email address.

Tags Development toolsapplication developmentconsumer electronicsGooglesmartphonesAndroidsoftware

Featured

Slideshows

Sizing up the NZ security spectrum - Where's the channel sweet spot?

Sizing up the NZ security spectrum - Where's the channel sweet spot?

From new extortion schemes, outside threats and rising cyber attacks, the art of securing the enterprise has seldom been so complex or challenging. With distance no longer a viable defence, Kiwi businesses are fighting to stay ahead of the security curve. In total, 28 per cent of local businesses faced a cyber attack last year, with the number in New Zealand set to rise in 2017. Yet amidst the sensationalism, media headlines and ongoing high profile breaches, confusion floods the channel, as partners seek strategic methods to combat rising sophistication from attackers. In sizing up the security spectrum, this Reseller News roundtable - in association with F5 Networks, Kaspersky Lab, Tech Data, Sophos and SonicWall - assessed where the channel sweet spot is within the New Zealand channel. Photos by Maria Stefina.

Sizing up the NZ security spectrum - Where's the channel sweet spot?
Kiwi channel comes together for another round of After Hours

Kiwi channel comes together for another round of After Hours

The channel came together for another round of After Hours, with a bumper crowd of distributors, vendors and partners descending on The Jefferson in Auckland. Photos by Maria Stefina.​

Kiwi channel comes together for another round of After Hours
Show Comments