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.

 

Get your daily dose of tech news, reviews, and insights, in under 80 characters on Gadgets 360 Turbo. Connect with fellow tech lovers on our Forum. Follow us on X, Facebook, WhatsApp, Threads and Google News for instant updates. Catch all the action on our YouTube channel.

Advertisement

Related Stories

Popular Mobile Brands
  1. OTT Releases This Week: Thamma, Mrs Deshpande, Raat Akeli Hai The Bansal Murders, and More
  2. Here's When the Realme 16 Pro Series Will Launch in India
  3. Samsung Announces Exynos 2600 as World's First 2nm Chipset
  4. Oppo Reno 15 Pro Mini Tipped to Launch as First Compact Reno Smartphone
  5. Redmi Pad 2 Pro 5G Will Launch in India Soon: See Expected Features
  6. Instagram Will Now Restrict the Number of Hashtags You Can Use
  7. Google Will Now Let You Check AI-Generated Videos Directly in Gemini
  8. Nvidia's GeForce RTX 50 Series GPUs Are About to Be Scarce
  9. Meta's New AI Models Could Challenge Google, OpenAI in Image and Video Generation
  10. Dreame's First Smartphone to Launch With These Specifications
  1. Meta Reportedly Building Three New Generative AI Models With Focus on Image and Video Generation
  2. Google Pixel Upgrade Program Launched in India With Assured Buyback of Pixel 10 Series Models
  3. Intergalactic: The Heretic Prophet Targeting Mid-2027 Launch as Naughty Dog Orders Overtime: Report
  4. Apple's Foldable iPhone Shipments May Slip to 2027 Despite 2026 Launch, Analyst Says
  5. Realme 16 Pro Series India Launch Date Announced: See Expected Specifications, Features
  6. Google Brings SynthID-Powered Deepfake AI Video Detection Tool to Gemini App
  7. Dreame E1 Phone to Reportedly Debut With 108-Megapixel Camera and 5,000mAh Battery: Expected Specifications
  8. Oppo Pad Air 5 Launch Date, Colourways, Storage Options Revealed: See Expected Specifications, Features
  9. Raju Weds Rambai Now Streaming Online: What You Need to Know
  10. The Fifty OTT Release: When and Where to Watch This High-Stakes Reality Show Online?
Gadgets 360 is available in
Download Our Apps
Available in Hindi
© Copyright Red Pixels Ventures Limited 2025. All rights reserved.