The use case is originates from devices with a USB host mode (such as tablets) where there can be an SD card and a USB storage device available along with an large internal storage pool. An application may wish to see the amount of space available and possibly connection type so it can make decisions on data storage/caching.
For example; faced with a device which has 16GB of available internal storage, an 8GB available on an SD card, and a 250GB available on a USB hard disk the application may want to use the 250GB hard disk for caching larger data (e.g. images, data downloads) and the SD card for more frequently accessed information (e.g. HTML source, result sets). My current thinking is that the connection type would be useful for making decisions about availability (e.g. the more useful the data the less likely you'd store it on a more frequently removed device such as a USB disk), but I fully understand there is no guaranteed probability of availability for any storage area (who's to say the user won't pop the SD and leave the USB drive connected).
What are peoples thoughts?
Al.
======
Funky Android Limited is registered in England & Wales with the company number 6741909.
The views expressed in this email are those of the author and not necessarily those of Funky Android Limited, it's associates, or it's subsidiaries.
She mentioned there are changes in GB & HC, neither of which the public community currently has access to, so I can see there is a high risk that any design and/or implementation decisions could easily be out of step with what's already been/being done and thus be unusable.
If someone can come up with a way of working on this given the access constraints to GB & HC I'd be happy to work on the design document, but as things currently stand I don't want to spend time on something that could quite easily end up as useless due to work already done that we can't see.
Al.
======
Funky Android Limited is registered in England & Wales with the company number 6741909.
The views expressed in this email are those of the author and not necessarily those of Funky Android Limited, it's associates, or it's subsidiaries.
-What kind of user experience do we want to have? (this part of the
discussion will eventually need to include UX people, not just
engineers).
-How do we deal with backward and forward compatibility for all the
apps that currently access shared storage (and especially for the ones
that write to it)?
-How do the APIs need to evolve to reflect that?
-Implementation details...
-Side question: how about remote filesystems and remote file access,
e.g. CIFS/SMB, UPnP, DLNA...?
-Side question: how about read-only media, e.g. write-protected SD cards?
JBQ
--
Jean-Baptiste M. "JBQ" Queru
Software Engineer, Android Open-Source Project, Google.
Questions sent directly to me that have no reason for being private
will likely get ignored or forwarded to a public forum with no further
warning.
Don't suppose you want to give me a sneaky look at HC so work on a usable design :).
I'm tempted to suggest writing some form of dummy StorageManager library which developers could use during the development of the API so they can thrash it and give feedback. That way we can spark peoples imagination and see what UX/APi issues it throws up.
Al .
======
Funky Android Limited is registered in England & Wales with the company number 6741909.
The views expressed in this email are those of the author and not necessarily those of Funky Android Limited, it's associates, or it's subsidiaries.
I'm grateful for Diannes explanation of the plans, but it did seem that the amount of work being done in the storage area in GB & HC is significant and so, at the moment, I get the impression there's no value to continuing on to a design document because any design which didn't take the GB/HC changes into account would need a re-design prior to implementation.
Does anyone see the situation differently?
Al.
======
Funky Android Limited is registered in England & Wales with the company number 6741909.
The views expressed in this email are those of the author and not necessarily those of Funky Android Limited, it's associates, or it's subsidiaries.
Yeah it's crunch time, we're buried til EOY at this point. Let's revisit in January. I at least don't consider the conversation over, just yet. :) But it probably is premature for a design doc.