This post is in follow-up to a recent exchange with Erel. I consistently use the CanInstallToExternalStorage attribute, with the expectation that apps will always be installed to an available SD Card. This is not the case with all versions of Android.
I have two devices for testing. A Viewsonic Viewpad7 running Froyo, and a Samsung Galaxy phone running ICS. While I can install my apps to an SD Card on the Viewpad7, there is no provision to allow this with the Galaxy phone. The option is not on the phone to allow apps to be installed to an available SD Card. There is not a hint of a move function whatsoever. It looks like Google has intentionally blocked any means of writing to an SD Card by third party apps.
If I connect the ICS Galaxy phone to my pc two drives are mounted. The first is labeled SD Card; the second is labeled USB Storage. Although an SD Card is present, apps intended for installation to the SD Card are instead installed to the normal “internal” app storage location.
This also means is that even though we write an app intended to store data on an SD Card, this will not happen. The data will instead be stored in “internal” flash storage. This in addition to the fact that apps can’t be installed to an SD Card is quite problematic for me.
It seems that the problem is created by an omission in the permissions of platform.xml. There are those that are getting around this problem by rooting their device and editing file: /system/etc/permissions/platform.xml.
Find text
And replace with
I have no interest in rooting any of my devices, and I’m by no means an expert in Android. I can only go by what I read in various forums, as well as what information I can gain in conversing with the sales staff of electronics stores selling Android devices. I have been looking to buy a new 10” tablet, and have spent some time looking at models from Samsung, Asus and Acer. They’re all the same. There is no provision to provide third party apps with both read and write permission to External SD Cards. I’ve decided to shelve my pursuit for a new tablet until Key Lime Pie comes out. Hopefully by then, Google and the various manufacturers will have seen the error of their ways and corrected the permissions problem.
I am posting this for the sole purpose of passing along information to fellow forum members. :sign0137:
Best regards
I have two devices for testing. A Viewsonic Viewpad7 running Froyo, and a Samsung Galaxy phone running ICS. While I can install my apps to an SD Card on the Viewpad7, there is no provision to allow this with the Galaxy phone. The option is not on the phone to allow apps to be installed to an available SD Card. There is not a hint of a move function whatsoever. It looks like Google has intentionally blocked any means of writing to an SD Card by third party apps.
If I connect the ICS Galaxy phone to my pc two drives are mounted. The first is labeled SD Card; the second is labeled USB Storage. Although an SD Card is present, apps intended for installation to the SD Card are instead installed to the normal “internal” app storage location.
This also means is that even though we write an app intended to store data on an SD Card, this will not happen. The data will instead be stored in “internal” flash storage. This in addition to the fact that apps can’t be installed to an SD Card is quite problematic for me.
It seems that the problem is created by an omission in the permissions of platform.xml. There are those that are getting around this problem by rooting their device and editing file: /system/etc/permissions/platform.xml.
Find text
B4X:
<permission name="android.permission.WRITE_EXTERNAL_STORAGE" >
<group gid="sdcard_rw" />
</permission>
And replace with
B4X:
<permission name="android.permission.WRITE_EXTERNAL_STORAGE" >
<group gid="sdcard_rw" />
<group gid="media_rw" />
</permission>
I have no interest in rooting any of my devices, and I’m by no means an expert in Android. I can only go by what I read in various forums, as well as what information I can gain in conversing with the sales staff of electronics stores selling Android devices. I have been looking to buy a new 10” tablet, and have spent some time looking at models from Samsung, Asus and Acer. They’re all the same. There is no provision to provide third party apps with both read and write permission to External SD Cards. I’ve decided to shelve my pursuit for a new tablet until Key Lime Pie comes out. Hopefully by then, Google and the various manufacturers will have seen the error of their ways and corrected the permissions problem.
I am posting this for the sole purpose of passing along information to fellow forum members. :sign0137:
Best regards
Last edited: