I really hate to see that my sdcard is full of directories created by some stupid applications, and I always wonder if there is a way to properly solve this situation.
I know many applications use sdcard as a way to accomplish persistant/cross-uninstallations data storage, but how this would be done should have a rule.I suggest that the write access to the sdcard be disabled by default, if an application needs to write to a place in the sdcard other than /sdcard/Android or /sdcard/.android should mannually be granted by the user.
This means an application can access /sdcard/Android or /sdcard/.android freely by default, but if it wants access other location in the sdcard, a popup dialog box should be present to the user asking for permission.
I am not familar with the Andriod base structures, and I don't know if this feature is easy to implement, but it will force the application author to use /sdcard/Android and /sdcard/.android for data storage, because asking user for permission is not frendly experience and most time it is unnecessary.
What do you think?
--
You received this message because you are subscribed to the Google Groups "android-platform" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-platfo...@googlegroups.com.
To post to this group, send email to android-...@googlegroups.com.
Visit this group at http://groups.google.com/group/android-platform?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
SD cards are slowly disappearing on devices altogether.FYI, our group has implemented a fine grained policy for SD card access using binary rewriting, http://www.cs.umd.edu/~jfoster/papers/spsm12.pdfAlthough that technique uses binary rewriting, a similar technique could be made at the system level for device specific mods. It's a pretty simple idea: you just restrict apps not to those directories, and require a permission allowing them to do so.But the problem with your proposal is: how do you take an app a user "has to have" and make it function without the SD card? What's it's supposed to do, store its data on the web? That's a pretty nontrivial transformation : )...
If you're just suggesting that app developers use /sdcard/Android instead, then the change isn't too bad, just some mods at the FS level.
(However, I doubt this "feature" would make it into Android.)