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

Kahunapule Michael Paul Johnson kahunapule at mpj.cx
Tue Mar 31 17:29:24 EDT 2026


The biggest barrier to having a common location for all sword front ends to store modules is security policy. Mobile OS vendors try to not let any app access data outside of their own sandbox. There are a few exceptions, but the rules change periodically.

On 3/30/26 11:26, Troy A. Griffitts wrote:
>
> 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
>
> _______________________________________________
> sword-devel mailing list
> sword-devel at crosswire.org
> https://crosswire.org/mailman/listinfo/sword-devel


-- 
signature

Peace,
*/Michael Johnson/**
26 HIWALANI LOOP • MAKAWAO HI 96768-8747*• USA
mljohnson.org <https://mljohnson.org/> • eBible.org <https://eBible.org> • WorldEnglish.Bible <https://WorldEnglish.Bible> • PNG.Bible <https://PNG.Bible>
Signal/WhatsApp/Telephone: +1 808-333-6921
Telegram: @kahunapule • Facebook: fb.me/kahunapule <https://www.facebook.com/kahunapule>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://crosswire.org/pipermail/sword-devel/attachments/20260331/7430e3ce/attachment-0001.htm>


More information about the sword-devel mailing list