Google förbättrar systemets hantering av minneskort i Android 5.0

Postat:
10:35 - 2014-11-05
Skribent:
| Lars A
Kommentarer:
22

Androids hantering av minneskort har varit ett omdiskuterat ämne senaste åren, då appars rättigheter att utnyttja minneskort begränsats i senare versioner av plattformen. Många KitKat-användare har säkert exempelvis sett meddelandet som berättar att en bild lagrad på ett minneskort inte kan raderas.

Google verkar ha löst detta i Android 5.0. Appar kan begära access från användaren till enskilda filer, till mappstrukturer eller till ett helt minneskort. Den appen kan då skapa, uppdatera och radera mappar och filer i strukturen du gett appen tillgång till. Mer information för utvecklare finns här.

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.

Skriv fritt men var god följ vår kommentarspolicy. Tack!

Mest kommenterat

  1. Galaxy S26-serien kan få prishöjning på upp till 560 kronor
  2. Honor Power 2 är första normalstora mobilen med över 10 000 mAh
  3. Punkt MC03 är en europeisk smartphone med fokus på integritet
  4. OBS: Senaste systemuppdateringen via Google Play kan orsaka problem för Pixel
  5. Rea i Google Store igen
  6. Youtube bombarderar nya användare med AI-slask

Mest läst

  1. Rea i Google Store igen
  2. OBS: Senaste systemuppdateringen via Google Play kan orsaka problem för Pixel
  3. Clicks har skapat en Blackberry-liknande mobil med fysiskt tangentbord
  4. Punkt MC03 är en europeisk smartphone med fokus på integritet
  5. Anledningen till att din Galaxy inte får systemuppdateringar via Google Play
  6. Folk börjar få fram möjligheten att ändra Gmail-adressen

  7. Visa topplistan

Undersökningar

Vilken är årets Androidtelefon 2025?

  • Samsung Galaxy S25 Ultra (16%, 325 röster)
  • Google Pixel 10 Pro (15%, 310 röster)
  • Google Pixel 10 Pro XL (11%, 216 röster)
  • Oneplus 15 (10%, 205 röster)
  • Samsung Galaxy Fold 7 (7%, 140 röster)
  • Samsung Galaxy S25 (5%, 107 röster)
  • Xiaomi 17 Pro Max (4%, 91 röster)
  • Google Pixel 9a (4%, 90 röster)
  • Annan smartphone (ange i kommentar) (4%, 80 röster)
  • Oneplus 13 (4%, 74 röster)
  • Sony Xperia 1 VII (3%, 58 röster)
  • Google Pixel 10 (3%, 53 röster)
  • Fairphone 6 (3%, 51 röster)
  • Samsung Galaxy S25 Plus (2%, 34 röster)
  • Samsung Galaxy S25 Edge (1%, 28 röster)
  • Motorola Razr 60 Ultra (1%, 26 röster)
  • Samsung Galaxy Flip 7 (1%, 26 röster)
  • Nothing Phone 3 (1%, 25 röster)
  • Xiaomi 17 Pro (1%, 24 röster)
  • Google Pixel 10 Pro Fold (1%, 24 röster)
  • Nothing Phone 3a (1%, 21 röster)
  • Sony Xperia 10 VII (1%, 20 röster)
  • Oneplus 13R (1%, 11 röster)

Antal som röstat: 2 039

Loading ... Loading ...