Friday, November 14, 2014

ANDROID 5.0 LOLLIPOP TO BRING BETTER SD CARD SUPPORT FOR APPS

Android 5.0 Lollipop to bring better SD card support for apps
One of the most hated features of Android 4.4 KitKat will be rectified by Android 5.0 Lollipop. The next version of Android will allow developers to take advantage of the SD card. According to a post by Google, Lollipop will allow applications to have read and write access to folders on the removable storage, including the folders that they don’t own. Google had talked about addressing the memory card issue earlier in its developer conference this year.
Below is the post by Google.
Hey all, 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.
This gives apps broad, powerful access to manage files while still involving the user in the initial selection process. Users may choose to give your app access to a narrow directory like "My Vacation Photos," or they could pick the top-level of an entire SD card; the choice is theirs.
This means that developers will now be able to give their apps permissions to access the removable storage on your device. This includes editing data on the SD card and accessing other folders and writing to them. So your file managers will be able to move files around on the SD card.

No comments:

Post a Comment