[sword-devel] Shared folder for Android modules (Bishop, Andbible, Ezra)

Troy A. Griffitts scribe at crosswire.org
Mon Mar 30 17:26:06 EDT 2026


Bishop does have a search path it looks for modules.  Most notably it 
tries to find a SWORD library, first at:

/sdcard/Documents/sword, then
/sdcard/sword

then AUGMENTS any AndBible modules it might have access to reach at 
(which I don't think is allowed anymore in modern Android releases):
/sdcard/Android/data/net.bible.android.activity/files

https://crosswire.org/svn/sword/trunk/bindings/java-jni/jni/swordstub.cpp

Then falls back to STORAGE_BASE set from SWMgr.getStorageBasePath(), 
which is basically:

app.getApplicationContext().getFilesDir().getAbsolutePath();

https://crosswire.org/svn/sword/trunk/bindings/java-jni/src/org/crosswire/android/sword/SWMgr.java
https://crosswire.org/svn/sword/trunk/bindings/Android/SWORD/app/src/main/java/org/crosswire/android/sword/AndroidMgr.java

This is the app's private file store, which modern versions of Android 
sandbox and only the the app itself can access, if I understand correctly.

Last I looked into this, I was hopeful /sdcard/Document/sword could be 
an officially sanctioned place to share a sword module library between 
SWORD apps.

Troy


On 3/30/26 5:40 AM, Fr Cyrille wrote:
> Dear Tobias, Troy, and Tuomas,
> I’d like to take the opportunity of Ezra Bible’s release to revisit 
> the idea of having a shared folder (Sword?) for modules on Android; 
> this would make using the various apps much easier. I don’t have the 
> expertise to help or fully grasp the technical challenges involved, 
> but it would be great not to have to store the same modules three times.
>
> -- 
> Vous aimez la Bible ? Vous êtes étudiant en théologie ? Utilisez 
> l'application libre Xiphos <https://xiphos.org/> ou Andbible 
> <https://andbible.github.io/> et accédez aux textes sources, à des 
> commentaires, des dictionnaires et beaucoup d'autres 
> fonctionnalités... Me contacter pour des traductions en français.
>
> _______________________________________________
> sword-devel mailing list
> sword-devel at crosswire.org
> https://crosswire.org/mailman/listinfo/sword-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://crosswire.org/pipermail/sword-devel/attachments/20260330/03222584/attachment.htm>


More information about the sword-devel mailing list