Re: [android-developers] Re: Write storage on Samsung Galaxy Tab 7.7
I think you just need to stop calling the SD Card and call it "External storage" or something. If it's not on the SD card, why do you care? Presumably, it's accessible if the device is connected to a PC via the USB, correct?
If you must write to a removable storage, I don't think you can guarantee that. But once again, and I have no idea what kind of app you have, why do you care?
On Friday, April 13, 2012 12:36:08 PM UTC+8, Nathan wrote:
On Thursday, April 12, 2012 6:27:35 PM UTC-7, Zsolt Vasvari wrote:> According to some reports, ICS, and not just the manufacturers, is locking out all non privileged apps from writing to removable storage.That's absolutely not true -- my app, on a Galaxy Nexus, can write to the folder pointed to by:Environment.getExternalStorageDirectory(). getAbsolutePath() I have the WRITE_EXTERNAL_STORAGE set. I use it for backup and had nobody complained yet.
The Galaxy Nexus does not have *removable storage*, as far as I know, so that is not a counter example.
And I have NEVER had trouble writing to Environment.getExternalStorageDirectory()
But in many devices, the getExternalStorageDirectory() returns a directory that is internal storage.
The same devices sometimes have another, external storage slot with the following characteristics:I would really like to know what it is going on, besides manufacturers making developers look like idiots. I only have a budget for a small number of devices, so it is really hard for me to see the general trend.
- There is NO call equivalent to getExternalStorageDirectory() to find out what the path is
- The users often don't know what the path to it is.
- I don't know what the path to it is.
- The manufacturers don't publish what those paths are.
- If, by some miracle, the user finds out what that path is, my app checks that folders and finds that it is read only, at least for my app.
- I do not know why it is read only, but I believe the manufacturer, or perhaps the ICS platform, has made the decision that only certain apps can use it.
Nathan
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home