[sword-devel] Bishop for Android and iOS / JavaScript bindings
Michael Johnson
Michael at eBible.org
Sun Mar 4 18:56:00 MST 2018
Aloha, Troy!
Aha! Your log was enlightening. By chance, the currently viewed location was in Psalms when I attempted to read from the New Testament. Instead of moving to the next available verse (probably the best thing to do) or telling me that this reference was not in the current Bible translation (second best), I just got a spinning wheel of death. After switching back to a full Bible, then navigating to John 1, I could open up the Spanish Versión Biblia Libre just fine and actually read it.
Thanks for working on this!
...
03-04 15:46:00.661 3467 11697 D libsword.so: setKeyText(spavbl2018eb, Psalms 18:4)
03-04 15:46:00.662 3467 11697 D libsword.so: *setKeyText(spavbl2018eb, Psalms 18:4)*
03-04 15:46:00.672 3467 3467 D SystemWebChromeClient: file:///android_asset/www/js/bishop.js: Line 858 : got chapter data for: Spanish Free Bible Version NT; chapterData.length: 50
03-04 15:46:00.672 3467 3467 I chromium: [INFO:CONSOLE(858)] "got chapter data for: Spanish Free Bible Version NT; chapterData.length: 50", source: file:///android_asset/www/js/bishop.js (858)
03-04 15:46:00.672 3467 3467 D SystemWebChromeClient: file:///android_asset/www/js/bishop.js: Line 874 : calling headerLoop : 1
03-04 15:46:00.672 3467 3467 I chromium: [INFO:CONSOLE(874)] "calling headerLoop : 1", source: file:///android_asset/www/js/bishop.js (874)
03-04 15:46:00.672 3467 3467 D SystemWebChromeClient: file:///android_asset/www/js/bishop.js: Line 744 : headerLoopContinue. mods.length: 0; renderData.length: 0
03-04 15:46:00.672 3467 3467 I chromium: [INFO:CONSOLE(744)] "headerLoopContinue. mods.length: 0; renderData.length: 0", source: file:///android_asset/www/js/bishop.js (744)
03-04 15:46:00.683 3467 3467 D SystemWebChromeClient: file:///android_asset/www/cordova.js: *Line 309 : Error in Success callbackId: SWORD1089568890 : TypeError: Cannot read property 'length' of undefined*
03-04 15:46:00.683 3467 3467 I chromium: [INFO:CONSOLE(309)] "Error in Success callbackId: SWORD1089568890 : TypeError: Cannot read property 'length' of undefined", source: file:///android_asset/www/cordova.js (309)
03-04 15:46:00.683 3467 3467 D SystemWebChromeClient: file:///android_asset/www/cordova.js: Line 311 : Uncaught TypeError: Cannot read property 'length' of undefined
03-04 15:46:00.683 3467 3467 I chromium: [INFO:CONSOLE(311)] "Uncaught TypeError: Cannot read property 'length' of undefined", source: file:///android_asset/www/cordova.js (311)
03-04 15:46:03.099 517 570 I SFPerfTracer: triggers: (rate: 0:1) (7195700 sw vsyncs) (0 skipped) (2:153120 vsyncs) (4:7393470)
03-04 15:46:05.124 517 517 I SFPerfTracer: triggers: (rate: 55:6766) (compose: 0:29) (post: 1:35) (render: 1:67) (1:114732 frames) (2:143075)
03-04 15:46:05.124 517 517 D SFPerfTracer: layers: (3:8) (StatusBar (0xab115400): 0:27575) (com.android.systemui.ImageWallpaper (0xab117c00): 0:13901)* (animation background stackId=1 (0xac5cac00): 0:54)* (Sprite (0xab116800): 0:6)* (DimLayerController/Stack=0 (0xab149000): 0:1175)* (NavigationBar (0xab114000): 0:967) (org.crosswire.bishop/org.crosswire.bishop.MainActivity (0xab14b800): 1:335) (org.crosswire.bishop/org.crosswire.bishop.MainActivity (0xab14a400): 0:46)-
03-04 15:46:05.705 517 570 I SFPerfTracer: triggers: (rate: 0:1) (7195700 sw vsyncs) (0 skipped) (2:153172 vsyncs) (4:7393574)
03-04 15:46:06.081 1392 1719 E WifiHAL :*fetchLowiCbTableAndCapabilities: NULL lowi_handle, err: dlopen failed: library "/vendor/lib/liblowi_wifihal.so" not found*
03-04 15:46:06.081 1392 1719 E WifiHAL : getLowiCallbackTable: LOWI is not supported.
03-04 15:46:06.082 1392 1719 E WifiHAL : fetchLowiCbTableAndCapabilities: NULL lowi_handle, err: dlopen failed: library "/vendor/lib/liblowi_wifihal.so" not found
03-04 15:46:06.082 1392 1719 E WifiHAL : getLowiCallbackTable: LOWI is not supported.
03-04 15:46:06.083 1392 1719 E WifiHAL : fetchLowiCbTableAndCapabilities: NULL lowi_handle, err: dlopen failed: library "/vendor/lib/liblowi_wifihal.so" not found
03-04 15:46:06.084 1392 1719 E WifiHAL : getLowiCallbackTable: LOWI is not supported.
03-04 15:46:08.312 517 570 I SFPerfTracer: triggers: (rate: 0:1) (7195700 sw vsyncs) (0 skipped) (2:153224 vsyncs) (4:7393678)
03-04 15:46:10.320 517 517 I SFPerfTracer: triggers: (rate: 55:6766) (compose: 0:29) (post: 1:35) (render: 1:67) (1:114780 frames) (2:143175)
03-04 15:46:10.320 517 517 D SFPerfTracer: layers: (3:7) (StatusBar (0xab115400): 0:27575) (com.android.systemui.ImageWallpaper (0xab117c00): 0:13901)* (animation background stackId=1 (0xac5cac00): 0:54)* (Sprite (0xab116800): 0:6)* (DimLayerController/Stack=0 (0xab149000): 0:1175)* (NavigationBar (0xab114000): 0:967) (org.crosswire.bishop/org.crosswire.bishop.MainActivity (0xab14b800): 1:387)
03-04 15:46:10.902 517 570 I SFPerfTracer: triggers: (rate: 0:1) (7195700 sw vsyncs) (0 skipped) (2:153276 vsyncs) (4:7393782)
03-04 15:46:13.508 517 570 I SFPerfTracer: triggers: (rate: 0:1) (7195700 sw vsyncs) (0 skipped) (2:153328 vsyncs) (4:7393886)
03-04 15:46:14.399 705 705 I cnss-daemon: RTM_NEWNEIGH message received: 28
03-04 15:46:14.399 705 705 E cnss-daemon: Stale or unreachable neighbors, ndm state: 16
03-04 15:46:14.400 705 705 I cnss-daemon: RTM_NEWNEIGH message received: 28
03-04 15:46:14.400 705 705 I cnss-daemon: NDA_DST received: 192.168.1.1 ul: 16885952
03-04 15:46:14.400 705 705 I cnss-daemon: NDA_LLADDR received
03-04 15:46:15.416 517 517 I SFPerfTracer: triggers: (rate: 55:6766) (compose: 0:29) (post: 1:35) (render: 1:67) (1:114829 frames) (2:143275)
03-04 15:46:15.416 517 517 D SFPerfTracer: layers: (3:7) (StatusBar (0xab115400): 0:27575) (com.android.systemui.ImageWallpaper (0xab117c00): 0:13901)* (animation background stackId=1 (0xac5cac00): 0:54)* (Sprite (0xab116800): 0:6)* (DimLayerController/Stack=0 (0xab149000): 0:1175)* (NavigationBar (0xab114000): 0:967) (org.crosswire.bishop/org.crosswire.bishop.MainActivity (0xab14b800): 1:438)
03-04 15:46:16.098 517 570 I SFPerfTracer: triggers: (rate: 0:1) (7195700 sw vsyncs) (0 skipped) (2:153380 vsyncs) (4:7393990)
03-04 15:46:18.705 517 570 I SFPerfTracer: triggers: (rate: 0:1) (7195700 sw vsyncs) (0 skipped) (2:153432 vsyncs) (4:7394094)
03-04 15:46:20.428 517 517 I SFPerfTracer: triggers: (rate: 55:6766) (compose: 0:29) (post: 1:35) (render: 1:67) (1:114879 frames) (2:143375)
03-04 15:46:20.429 517 517 D SFPerfTracer: layers: (3:7) (StatusBar (0xab115400): 0:27575) (com.android.systemui.ImageWallpaper (0xab117c00): 0:13901)* (animation background stackId=1 (0xac5cac00): 0:54)* (Sprite (0xab116800): 0:6)* (DimLayerController/Stack=0 (0xab149000): 0:1175)* (NavigationBar (0xab114000): 0:967) (org.crosswire.bishop/org.crosswire.bishop.MainActivity (0xab14b800): 1:488)
03-04 15:46:21.311 517 570 I SFPerfTracer: triggers: (rate: 0:1) (7195700 sw vsyncs) (0 skipped) (2:153484 vsyncs) (4:7394198)
03-04 15:46:22.454 705 705 I cnss-daemon: RTM_NEWROUTE Indication
03-04 15:46:22.454 705 705 E cnss-daemon: gateway mac address: %02x:%02x:%02x:%02x:%02x:%02x
03-04 15:46:22.454 705 705 E cnss-daemon: : 00:00:00:00:00:00
03-04 15:46:22.454 705 705 E cnss-daemon: *Invalid mac address: 0x8a642e6cM*
03-04 15:46:23.900 517 570 I SFPerfTracer: triggers: (rate: 0:1) (7195700 sw vsyncs) (0 skipped) (2:153536 vsyncs) (4:7394302)
kahunapule at kmpjwork:~/sync/doc$
On 03/04/2018 12:38 PM, Troy A. Griffitts wrote:
> Dear Michael,
>
> Could I get you to give me even more information than your already detailed report? I just installed the spavbl2018eb and it worked fine for me. The 3 Bibles I have chosen to make active, in order are ESV2011, spavbl2018eb, and WLC. When I choose a NT verse, I see the ESV and spa just fine, and when I choose an OT verse, I see the ESV and WLC.
>
> If you plug your device into your computer via USB and run:
>
> adb logcat
>
> ... I dump all kinds of debug to the console there. If you can get output, does anything look fishy?
>
> On March 4, 2018 2:45:05 PM MST, Michael Johnson <Michael at eBible.org> wrote:
>
> Thanks, Troy!
>
> I downloaded Bishop on an Android phone (Moto E with Android 7.1.1), and it worked until I tried downloading spavbl2018eb from the eBible.org repository. Opening that Bible resulted in the spinning wheel of death. I then tried engfbv2018eb, with the same result. Either time, I could go back to an already-downloaded translation (that was there with And Bible), and that worked. Downloading a new Bible from Crosswire Main worked. Downloading a full Bible from eBible.org (engRV1895eb) worked. When I tried to
> install a partial NT (engGLW1996eb), that installed, but also would not open (spinning wheel of death).
>
> Spin.
> Spin.
> Spin.
> Something is hanging up or in an infinite loop...
>
> On 03/03/2018 02:24 PM, Troy A. Griffitts wrote:
>
> Bishop 1.0.2 pushed out-- support for older devices. Found some JavaScript and CSS constructs I was using which didn't work well (at all) on older Android phones. I've updated things and tested on Android 5.1 and iPhone 5s and seems to now work reasonably well. Please let me know if you have a device which is having trouble or if you are successfully running on an Android release older than 5.1. I'd like to know how old we can go back and still support. Thanks everyone for your feedback and
> time spent having a go at this, Troy On 03/03/2018 02:53 PM, Troy A. Griffitts wrote:
>
> Thanks for the feedback Michael, I have added a new menu choice: [ Settings ] - Font Size + It seems to work well on both iOS and Android. Please let me know if it makes the app more usable for you. The update should now be available for your phone. Thank you again for taking the time to provide valuable feedback. Troy On 03/03/2018 04:05 AM, Michael H wrote:
>
> I already had AndBible installed. Bishop installed and recognized all the modules (at least 20+ bibles, i haven't confirmed "ALL") that AndBible has present. I haven't attempted any more module installs after installing Bishop, either from AndBible or Bishop. The text is small on my Samsung Galaxy On5. Not horribly unreadably small, but small for me to use for any length of time. I don't see settings to adjust that, so I haven't spent much time on it. I can and will test more if you have
> something specific.. But this isn't ready for my eyes yet. Very promising tho. :-) Based on the images in the store screen, I would be using it more if the text had size adjustment. On Fri, Mar 2, 2018 at 11:05 PM, Troy A. Griffitts <scribe at crosswire.org <mailto:scribe at crosswire.org>> wrote: I've had 2 instances of problems running the app. One was a report from a user here, and another was trying to install the app on my TV. In both cases, the app showed a blank gray screen after
> install and and startup. I have had debug versions on all my devices here at some point, so I'm not a very good clean test case. Has anyone had any luck installing and getting the basic set of modules running? Or any problems? Thanks for any feedback. https://play.google.com/store/apps/details?id=org.crosswire.bishop <https://play.google.com/store/apps/details?id=org.crosswire.bishop> Troy On 03/02/2018 01:31 PM, David Haslam wrote:
>
> *_Suggestion:_* Please edit https://wiki.crosswire.org/Frontends:Bishop <https://wiki.crosswire.org/Frontends:Bishop> and add these details. Best regards, David Sent with ProtonMail <https://protonmail.com> Secure Email. ‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐ On 1 March 2018 2:26 AM, Troy A. Griffitts <scribe at crosswire.org> <mailto:scribe at crosswire.org> wrote:
>
> Dear team, You all know we've been working on Cordova bindings for SWORD for quite some time now. We now have a simple reader written in JavaScript which will run unchanged on both Android and iOS.Bishop includes an InstallMgr to auto-discover remote installation sources and let a user install SWORD content. I've kept the development code name "Bishop", my favorite android (from Aliens) and almost appropriate for a Bible app :) I've also tacked on our boring moniker from our
> Windows app, "Bishop: The SWORD Project for Android". Long name but should get more search hits. Basically, Bishop's UI has 2 basic modes: *Reader*: which simply shows 1 chapter of up to 3 Bibles in parallel. *Verse* *Study*: When in reader mode, as the user scrolls, one verse will always be active, when "Verse Study" is chosen from the menu, the user can then drill down into that active verse. Verse Study has 4 tools:* * *Word* *Study*: shows the verse broken down word by word,
> showing the original Greek or Hebrew behind each word, along with a simple definition.* Commentary*: shows all installed commentary for that verse. *Witness* *Study*: shows all available ancient New Testament manuscript witnesses which attest to the current verse. *Variant* *Study*: shows all variant between the manuscript witnesses for the current verse. Other features include very basic bookmarks and search. The Android release has an initial attempt at BibleSync support to send
> your current verse out to all your friends running Bishop on the same network (thanks Karl!). The initial goal of Bishop was to be the thinnest client on top of the bindings, as an example and thus uses no 3rd party libraries, save jQuery. Now that the initial release is completed and can serve as an example, we're free to improve the mobile user interface if anyone feels called to join the team and give it a shot. Installation locations follow. It's best to let Bishop install
> its basic set of SWORD modules upon first run, so it has a minimal set of tools it can use to operate. It will prompt you to do this when you first launch the application and it finds no modules installed. Android users can install the app from: https://play.google.com/store/apps/details?id=org.crosswire.bishop <https://play.google.com/store/apps/details?id=org.crosswire.bishop> iPhone users will need to send me their UDID for testing while we try to get through the Apple Store
> approval process. I haven't even tried yet as I don't have much hope that it is "pretty" enough for them, but the download link for the iPhone binary is here: https://crosswire.org/bishop/manifest.plist <https://crosswire.org/bishop/manifest.plist> https://crosswire.org/bishop.ipa <https://crosswire.org/bishop.ipa> The code can be had from: http://git.crosswire.org/main/bishop <http://git.crosswire.org/main/bishop> Please let us know what you think if you are a user, and offer
> your suggestions from a usability perspective. If you are a developer, please offer comments and suggest features you have a desire and are willing to add. Please give us a great rating so we show up in a search in the Play Store and let others know. I think we have some unique feature that other app don't offer and I've been using Bishop as my morning reader for a while now. The default fullscreen text without clutter is pleasant. Christ's best for you! Troy
>
> --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
> sword-devel mailing list: sword-devel at crosswire.org <mailto:sword-devel at crosswire.org> http://www.crosswire.org/mailman/listinfo/sword-devel <http://www.crosswire.org/mailman/listinfo/sword-devel> Instructions to unsubscribe/change your settings at above page
>
> --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
> sword-devel mailing list: sword-devel at crosswire.org <mailto:sword-devel at crosswire.org> http://www.crosswire.org/mailman/listinfo/sword-devel <http://www.crosswire.org/mailman/listinfo/sword-devel> Instructions to unsubscribe/change your settings at above page
> --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
> sword-devel mailing list: sword-devel at crosswire.org http://www.crosswire.org/mailman/listinfo/sword-devel Instructions to unsubscribe/change your settings at above page
>
> --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
> sword-devel mailing list: sword-devel at crosswire.org http://www.crosswire.org/mailman/listinfo/sword-devel Instructions to unsubscribe/change your settings at above page
>
> --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
> sword-devel mailing list: sword-devel at crosswire.org http://www.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 at crosswire.org
> http://www.crosswire.org/mailman/listinfo/sword-devel
> Instructions to unsubscribe/change your settings at above page
--
signature
Aloha,
*/Michael Johnson/**
PO BOX 881143 • PUKALANI HI 96788-1143*• USA
mljohnson.org <http://mljohnson.org> • Phone: +1 808-333-6921 • Skype: kahunapule
More information about the sword-devel
mailing list