Android Internal SD Card Recording

Is there a way to access the internal SD card on Android devices with internal flash, internal SD and external SD card?

+4
source share
2 answers

In Android 2.2 and previous, there is only one “external storage” ( Environment.getExternalStorageDirectory() ). Determining where these points correspond to the device manufacturer. The Compatibility Definition Document (CDD) simply requires that it be at least 2 GB, IIRC. For "external storage" does not even need shooting.

There are currently no standard APIs for accessing other sections or maps. The device manufacturer can document how to access them - you will need to see if they have anything on the respective developer sites.

Please be aware that on some of these devices other partitions or cards may not be readable or writable from regular SDK applications.

+2
source

The problem does not exist on the memory card / SD card. In the default settings for mobile devices, it is possible to configure without recording.

  • First go to /system/etc/permissions/platform.xml
  • Once the location has been located, do the encoding as follows:

     <permission name="android.permission.WRITE_EXTERNAL_STORAGE"> <group gid="sdcard_r"/> <group gid="sdcard_rw"/> <group gid="media_rw"/> </permission> 

    and on the other part of the code make changes as:

     <permission name="android.permission.WRITE_MEDIA_STORAGE"> <group gid="sdcard_rw"/> <group gid="media_rw"/> </permission> 
0
source

All Articles