isawred2 / jota-text-editor

Automatically exported from code.google.com/p/jota-text-editor
3 stars 0 forks source link

save on external sd card #63

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Open file from external sd card
2. edit file
3. save file

There occurs an error message: file could not be saved

i am using android 4.4.2

i know, that it is not longer possible for third party apps to save on external 
sd card. 
Is there any possible to save it into a special folder on the sd card, which is 
used for the jota-app??

Thanks

Original issue reported on code.google.com by matze140...@gmail.com on 11 Jan 2015 at 11:23

GoogleCodeExporter commented 9 years ago
i dont want to root my device.

Original comment by matze140...@gmail.com on 11 Jan 2015 at 11:24

GoogleCodeExporter commented 9 years ago
I was able to save a file, which I opened from a subdirectory of the SD-Card, 
to the Default documents Directory and move it from there with the Standard 
browser back to the SD-Card and overwrite the original. According to the german 
Computer Magazine c't it should be possible to configure the place where it 
writes the file, if the app uses the standard picker Dialog of android.
--
  Bernhard

Original comment by bernhard...@gmail.com on 10 Feb 2015 at 9:27

GoogleCodeExporter commented 9 years ago
This has been working for me twice since android 4.4

1.  Backup /system/etc/permissions/platform.xml to platform.xml.bak
2.  Launch your favorite file manager with root access rights (as ES explorer). 
3.  Find android.permission.WRITE_EXTERNAL_STORAGE & 
android.permission.WRITE_MEDIA_STORAGE lines. These are XML sections. You need 
to make them look exactly like the strings below: 
<permission name="android.permission.WRITE_EXTERNAL_STORAGE" >
    <group gid="sdcard_r" />
    <group gid="sdcard_rw" />
    <group gid="media_rw" />
</permission>
<permission name="android.permission.WRITE_MEDIA_STORAGE" >
    <group gid="sdcard_rw" />
    <group gid="media_rw" />
</permission>
4.  Save the platform.xml file.
5.  It’s necessary to set the file permissions to 644 (rw-/r–/r–) before 
mobile restarting (again with ES Explorer via Properties. 
6.  Now reboot your Android device.

Original comment by alfredbl...@gmail.com on 12 Aug 2015 at 7:38