Re: [sword-devel] New shared common SWORD path on Android

2023-10-28 Thread Timothy Allen

On 29/10/23 05:50, Tobias Klein wrote:
If you happen to figure out a reliable solution for >= 11 and the new 
Scoped Storage model, I'd be happy to learn.


For >= 11 I am thinking about introducing a Cloud sync feature for the 
sword directory. This could then work with Dropbox and maybe also 
OneDrive.


As an Android user, my understanding is that apps can ask the user for a 
a shared directory to store their stuff in[1] and then read and write 
arbitrary files within that directory. If this option were available, I 
could point any SWORD apps to the same directory, and they would share 
modules. Personally, I would point apps to a subdirectory of my 
SyncThing directory, taking care of the cloud-sync problem too.



Timothy

[1]: 
https://developer.android.com/training/data-storage/shared/documents-files#grant-access-directory


___
sword-devel mailing list: sword-devel@crosswire.org
http://crosswire.org/mailman/listinfo/sword-devel
Instructions to unsubscribe/change your settings at above page


Re: [sword-devel] New shared common SWORD path on Android

2023-10-28 Thread Tobias Klein

Hi Troy,

I did not re-attempt to fix the shared data path idea for Android >= 11.

Since Google introduced their scoped storage model ... I gave up on it.

On Android versions <= 10, I use the SWORD path /sdcard/Documents/sword.

On versions >= 11, I store everything in the internal app directory, and 
therefore there is no shared data path anymore.


If you happen to figure out a reliable solution for >= 11 and the new 
Scoped Storage model, I'd be happy to learn.


For >= 11 I am thinking about introducing a Cloud sync feature for the 
sword directory. This could then work with Dropbox and maybe also OneDrive.


Best regards,
Tobias

PS: I had a long summer break this year and was not very active on this 
mailing list. Hopefully my participation will increase again now.



On 10/22/23 11:51 AM, Troy A. Griffitts wrote:


Hi Tobias and others with Android SWORD apps.

I am trying to bundle up a new version of Bishop for Android with the 
some exciting improvements in the libsword (I'll post another email 
about those, Lord willing, soon), and I would like to check on the 
latest status for a shared sword path for us.


I have tried again to read about the current ways for apps to share 
data and am still unclear what is allowed, without performing experiments.


Tobias, where did you end up with your data path?  I'll do some 
investigations with the latest versions of Android images available 
from Google and see where the current logic in Bishop creates data 
files and report back.


Hope you are all having a wonderful weekend!

Glory to God for salvation in Jesus!  And thanks to Him for life and a 
warm bed and a roof over our heads and relative peace.  Many don't 
have those things.


Troy


On 10/4/21 13:10, Troy A. Griffitts wrote:

Hi Tobias,
So, I did a bunch of reading when choosing this location and couldn't 
find anything that specifically listed which folders where standard 
"top level" folders under /sdcard, only that the changes to the API 
in newer versions of Android prevented creation of top level folders 
under /sdcard. This article suggested to use 'Music':


https://www.reddit.com/r/androiddev/comments/jn5azi/android_11_dodges_a_bullet_apps_creating_a_folder/?utm_source=amp_medium=_content=post_body 



I didn't think Music was appropriate for us, but Iooked on my 
developer images from Google on the latest version of Android and a 
few versions back (I only need to go back as far as until Android 
still lets me store to /sdcard/sword, because I try that next if 
/sdcard/Documents/sword fails), and on my physical phone, and they 
all had /sdcard/Documents/ available.


I am open to better suggestions.

Again, to sum up where I understand things now:

Android, pre-10 lets us store to /sdcard/sword

Android 10 was kind of a mess and wanted everyone to use the new 
storage api instead of file paths but still allowed /sdcard/sword


Android 11 and later, Google recanted because of pressure from the 
community and settled on: file path are officially blessed again, but 
no top level folders created by apps under /sdcard, so we need to 
choose a folder.


/sdcard/Documents/sword seemed to exist on all versions of Android I 
checked, later than the versions which still supported /SD 
card/sword, so I settled with the logic:


Try in this order to test write access to:

/sdcard/Documents/sword
/sdcard/sword
[private unshared app storage]/sword

That's my best attempt. If you have a better suggestion, I am all ears.

Troy


On October 3, 2021 10:56:34 AM MST, Tobias Klein 
 wrote:


Hi Troy,

I can certainly consider /sdcard/Documents as a new base also for
Ezra (haven't tried it yet).

I just did a quick search and I didn't find any official Android
documentation on that particular filesystem path. Is there
something you can point me to?

Best regards,
Tobias

On 9/13/21 12:38 PM, Troy A. Griffitts wrote:


Thanks Michael, yes, I also feel we need to not swim against the
Google flow.  The problem is that the Google flow seems to turn
at each new release of Android.  Be assured, my goal is to find
a common means for us to share a single install of SWORD modules
and to do it the way Google wants and for as many versions of
Android as practical.

Tobias,

I've had no trouble writing to /sdcard/... from our C++ code, as
long as I don't write to the root of /sdcard/. My change from
/sdcard/sword to /sdcard/Documents/sword/ works fine on Android 11.

Can you give /sdcard/Documents/sword/ a try?  You can grab my
exact C++ code from the cordova plugin if you have trouble.

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

static void init(JNIEnv *env);

On 9/13/21 10:32 AM, Tobias Klein wrote:


Dear Troy,

We should certainly 

Re: [sword-devel] Bishop to-do list

2023-10-28 Thread Fr Cyrille

lHello Friends,
I may be saying something heresy, but I'll try anyway. To begin with, 
I'd like to thank Troy and Tuomas for their beautiful apps, as well as 
Tobias, for all their hard work.

Personally, I use Bishop and Andbible, but I intend to test Esra as well.
That's what I'm thinking about. It's a lot of work to code, and there 
aren't many of you. Wouldn't it be useful to merge the projects?
Here's my case in point. I use Anbible for almost everything, except for 
what bishop offers that Andbible doesn't have:


 * Daily devotional
 * the parallel passage of the Gospels with the modules of Eusebius of
   Caesarea, a really good tool.
 *   And even if I don't use it, but access to the original manuscripts
   is a great tool too.

So there are three things I think Andbible lacks to be perfect, which 
I've just described.
So would it be possible, rather than creating a new program, to simply 
(it may not be simple at all, pardon me for being a philistine) 
integrate these strengths of bishop into Andbible, and thus have an 
ultra-complete app?


Just a question/suggestion...

Br Cyrille

Le 28/10/2023 à 10:08, Peter von Kaehne a écrit :
As you are at it… I never reported it but Bishop crashes reliably 
during all word searches on iPhones. At least on mine. Both Bishop and 
the Capuchinhos version.


Peter

Sent from my phone. Please forgive misspellings and weird “corrections”


On 28 Oct 2023, at 01:49, Troy A. Griffitts  wrote:


Hi Michael. I've not had any reports of that nor seen it. Could you 
give me more info. I can pull up an emulator to match your setup and 
try to reproduce.



On October 27, 2023 17:18:43 MST, Michael Johnson 
 wrote:


The biggest thing I would like is more stability.

Last time I used Bishop on my Android phone, it crashed every
time I tried to tap the pull-down list to add a second in the
parallel list.

On 10/27/23 09:09, Troy A. Griffitts wrote:


Hey guys,

I just wanted to post here this random list of things I intend
to update for the next version of Bishop.  If anyone is
interested in helping or giving ideas, I would love collaborators.

**

*Bishop todo*

*

 *

Space between verse number and first character of text for
better copy and paste

 *

Help users know when they should add modules: in commentary
view [Install More Commentaries], strong lex, daily
devotional, gen book view, etc.

 *

Option to migrate data files to different locations.

 *

Option to add augment folders from other apps.

 *

See if there is a way to select down a column for selection
of multiple verses when in parallel view.

 *

Option to backup and restore notes, modules, and bookmarks,
Google drive?

 *

Bookmark tree, maybe from BibleCS

 *

ECM preload test and enable menu on Verse Study selection

 *

Manuscripts main menu option and integrate the mobile NTVMR
functionality.

 *

Option to turn on other VMR sites, like CoptOT, Vetus
Latina, etc.

 *

Some visualization for RB

 *

At a glance with a gradient color percentage, over max
witnesses cell (John 18?)

 *

Toggle to pannable grid view with locked 1st row/column.
Find a nice grid control.

 *

Ship INTF current data for RB, show date of data

 *

Tab to show INTF work progress bar chart along with button
to update RB data.

 *

Google Maps integration for manuscripts.

 *

Simple indexing tool.

 *

VMR Login credentials.

 *

Update to best Hebrew and Greek lexicons.

 *

Add "show NT usage" to lexicon entry.

 *

See if there is a Perseus option to facilitate a "show extra
Biblical usage."

 *

See if we can delay load image thumbnails on demand/scroll.

 *

Language assist, 3 panel. Add bottom panel with current
verse of 2nd selected Bible and sync word highlighting with
dictionary scroll and primary Bible.

*

___
sword-devel mailing list:sword-devel@crosswire.org
http://crosswire.org/mailman/listinfo/sword-devel
Instructions to unsubscribe/change your settings at above page


--
Sent from my Android device with K-9 Mail. Please excuse my brevity.
___
sword-devel mailing list: sword-devel@crosswire.org
http://crosswire.org/mailman/listinfo/sword-devel
Instructions to unsubscribe/change your settings at above page


___
sword-devel mailing list:sword-devel@crosswire.org
http://crosswire.org/mailman/listinfo/sword-devel
Instructions to unsubscribe/change your settings at above page


--
Vous aimer la Bible ? Vous êtes étudiant en théologie ? Utilisez 

Re: [sword-devel] Bishop to-do list

2023-10-28 Thread Peter von Kaehne
As you are at it… I never reported it but Bishop crashes reliably during all word searches on iPhones. At least on mine. Both Bishop and the Capuchinhos version. PeterSent from my phone. Please forgive misspellings and weird “corrections”On 28 Oct 2023, at 01:49, Troy A. Griffitts  wrote:

  

  
  Hi Michael. I've not had any reports of that nor seen it. Could you give me more info. I can pull up an emulator to match your setup and try to reproduce.On October 27, 2023 17:18:43 MST, Michael Johnson  wrote:

The biggest thing I would like is more stability.
Last time I used Bishop on my Android phone, it crashed every
  time I tried to tap the pull-down list to add a second in the
  parallel list.

On 10/27/23 09:09, Troy A. Griffitts
  wrote:


  
  Hey guys,
  I just wanted to post here this random list of things I intend
to update for the next version of Bishop.  If anyone is
interested in helping or giving ideas, I would love
collaborators.
  
  

  Bishop todo
   

  Space between verse number and first character of text for better copy and paste
  Help users know when they should add modules: in commentary view [Install More Commentaries], strong lex, daily devotional, gen book view, etc.
  Option to migrate data files to different locations.
  Option to add augment folders from other apps.
  See if there is a way to select down a column for selection of multiple verses when in parallel view.
  Option to backup and restore notes, modules, and bookmarks, Google drive?
  Bookmark tree, maybe from BibleCS
  ECM preload test and enable menu on Verse Study selection
  Manuscripts main menu option and integrate the mobile NTVMR functionality.
  Option to turn on other VMR sites, like CoptOT, Vetus Latina, etc.
  Some visualization for RB


  At a glance with a gradient color percentage, over max witnesses cell (John 18?)
  Toggle to pannable grid view with locked 1st row/column. Find a nice grid control.
  Ship INTF current data for RB, show date of data
  Tab to show INTF work progress bar chart along with button to update RB data.


  Google Maps integration for manuscripts.
  Simple indexing tool.
  VMR Login credentials.
  Update to best Hebrew and Greek lexicons.
  Add "show NT usage" to lexicon entry.
  See if there is a Perseus option to facilitate a "show extra Biblical usage."
  See if we can delay load image thumbnails on demand/scroll.
  Language assist, 3 panel. Add bottom panel with current verse of 2nd selected Bible and sync word highlighting with dictionary scroll and primary Bible.

   
  
  ___
sword-devel mailing list: sword-devel@crosswire.org
http://crosswire.org/mailman/listinfo/sword-devel
Instructions to unsubscribe/change your settings at above page


-- Sent from my Android device with K-9 Mail. Please excuse my brevity.

___sword-devel mailing list: sword-devel@crosswire.orghttp://crosswire.org/mailman/listinfo/sword-develInstructions to unsubscribe/change your settings at above page___
sword-devel mailing list: sword-devel@crosswire.org
http://crosswire.org/mailman/listinfo/sword-devel
Instructions to unsubscribe/change your settings at above page