karandepratham / and-bible

Automatically exported from code.google.com/p/and-bible
0 stars 0 forks source link

use .sword folder #232

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
many other apps using sword library are using .sword folder.
if and-bible using same folder, then we do not need to duplicate the 
bibles/commentaries/etc.
it will save lots of space.

tnx.

Original issue reported on code.google.com by limdn...@gmail.com on 25 Feb 2014 at 9:26

GoogleCodeExporter commented 8 years ago
/mnt/sdcard/Android/net.bible.android.activity/files is the directory allocated 
to And Bible by Android automatically.  If I were to use .sword then it would 
not be automatically removed if a user uninstalls And Bible.  There are quite a 
few apps that install data in various folders that remain after the app is 
removed but with so many apps being installed/uninstalled it leaves a lot of 
redundant folders and data.

I did think of automatically removing data from a root folder on uninstall of 
AB but Android does not have an uninstall callback - apps aren't told when they 
are about to be uninstalled, so this is not possible.

On the other hand some users might like to retain downloaded modules if And 
Bible is reinstalled but in general if an app is uninstalled it should not 
leave data on the SD card.

It might be possible to allow choice of an alternate folder but that would not 
be widely used so that work would not have high priority.

Original comment by mjden...@gmail.com on 7 Mar 2014 at 8:50

GoogleCodeExporter commented 8 years ago

Original comment by mjden...@gmail.com on 15 Mar 2014 at 10:35