Google announced Android M at its I/O event in San Francisco yesterday, and introduced some big changes. From bringing granular app permissions to integrating fingerprint support, Android M comes loaded with ammo. Some features like the floating toolbar and the fingerprint-enabled Android Pay did look heavily inspired by iOS, but Google did go back to the drawing board to innovate in many areas with Android M. One of the very cool new features that Android M is bringing, and is worth highlighting, is called ‘Adoptable Storage Devices’.
This feature will treat an external storage devices (like a USB drive or portable drive) as if it were internal storage, letting users move not only apps and but also app data between storage devices.
Jeff Sharkey, software engineer at Google took to Google+ to explain how it works. “It enables users to move both app code (APKs) and private app data to that device. When a storage device is adopted, the platform wraps it in a layer of encryption and formats it similar to internal storage. (In contrast, the original Apps-on-SD feature launched back in Froyo could only move app code, not private app data). Also, to help users free up internal storage space, they can choose to migrate their “primary shared storage” (living at /sdcard) to any adopted device.”
This feature is available right now in the Android M Preview, via this ADB command, and since it’s an early version, it might be prone to a few bugs.