Android 5.0 Lollipop Brings Full SD Card Access for Third-Party Apps

Advertisement
By Ketan Pratap | Updated: 5 November 2014 12:29 IST
Google last year introduced Storage Access Framework (SAF) with Android 4.4 KitKat that allowed third-party apps to get access to files with the user's consent for total SD card access to an app.

The method however didn't sort out all the problems related to the storage in case of apps that dealt with media files (images and video) and required more space to store files on to the microSD cards. Now, Google has introduced new APIs in Android 5.0 Lollipop to allow full directory access, automatic media store and even improve security.

With the new improved APIs, developers will have full access to SD card directories and files with only one consent of the user and the apps will be able to create directories for storage on an external storage card in a more sorted way than KitKat.

Android developer site notes, "Android 5.0 extends the Storage Access Framework to let users select an entire directory subtree, giving apps read/write access to all contained documents without requiring user confirmation for each item. Android 5.0 also introduces new package-specific directories on shared storage where your app can place media files for inclusion in MediaStore"

Advertisement

Google's Jeff Sharkey details the improved APIs in Android 5.0 Lollipop in a Google+ post, "In KitKat we introduced APIs that let apps read/write file in app-specific directories on secondary storage devices, such as SD cards. We heard loud and clear that developers wanted richer access beyond these directories, so in Lollipop we added the new ACTION_OPEN_DOCUMENT_TREE intent. Apps can launch this intent to pick and return a directory from any supported DocumentProvider, including any of the shared storage supported by the device. Apps can then create, update, and delete files and directories anywhere under the picked tree without any additional user interaction. Just like the other document intents, apps can persist this access across reboots."

Advertisement

Dianne Hackborn of Google (Android Framework) further adds, "Also worth noting is the new getExternalMediaDirs() method that gives you a place for your own files on any available secondary storage, without needing to request read/write."

Android Police also points out, "If an app places a file into a folder returned by getExternalMediaDirs, it is essentially available to any other application to access via the MediaStore service. This will be great for something like a camera app or sound recorder, because now the files they produce will be automatically available to every other app without any hassle. This method will also resolve some complications that resulted from removing and reinserting SD cards."

Advertisement

Google on Monday commenced the roll-out of Android 5.0 Lollipop to users worldwide. The company did not provide details on which regions will be the first to get the update. However, the Android 5.0 Lollipop update would be rolled out first to the Nexus 4, Nexus 5 and Nexus 7 (2012 and 2013), and Nexus 10, apart from Google Play Edition devices. Android One smartphones can be expected to be next in line to receive the update.

 

Catch the latest from the Consumer Electronics Show on Gadgets 360, at our CES 2026 hub.

Advertisement

Related Stories

Popular Mobile Brands
  1. Realme 16 Pro Series Roundup: Expected Price in India, Launch Timeline and More
  2. Redmi Note 15 5G Series India Launch: All You Need to Know
  3. Perplexity CEO Says On-Device AI Can Disrupt the Data Centre Industry
  4. iQOO 15R Listed on Certification Database, Hinting at Imminent Launch
  5. Look Up: 2026's Wolf Moon Supermoon Rises with Jupiter by Its Side
  6. Runaway Stars Help Astronomers Trace Dark Matter Distribution Across the Milky Way Galaxy
  7. Poco M8 5G: Everything You Need to Know Ahead of Launch in India
  8. Instagram Head Says AI Images Have Forced the Platform to Evolve Fast
  1. NOAA Issues G2 Solar Storm Watch; May Spark Auroras but Threaten Satellite Signals
  2. Apple’s Low-Cost MacBook Launch Timeline Surfaces; Could Feature iPhone 16 Pro’s Chipset
  3. iQOO 15R Listed on Bluetooth SIG Database, Hinting Towards Imminent Debut
  4. iPhone 18 Pro, iPhone Air 2 May Reportedly Receive a Price Hike Amid Rising Component Costs
  5. Abar Proloy Season 2 OTT Release Date: When and Where to Watch Saswata Chatterjee and Ritwick Chakraborty Starrer Online?
  6. Hubble Observations Turn Exoplanet Into Dust; Reveal Rare Double Asteroid Impact in Nearby System
  7. NASA Finds Most Distant Calm Galaxy Cluster Ever Seen in Early Universe
  8. Wolf Moon Supermoon 2026: Rare January Full Moon Near Perihelion Lights Up the Sky
  9. Astronomers Look to the Large Magellanic Cloud to Study How Stars Are Born
  10. Drive Telugu Thriller Now Streaming on Amazon Prime Video
Gadgets 360 is available in
Download Our Apps
Available in Hindi
© Copyright Red Pixels Ventures Limited 2026. All rights reserved.