[sword-devel] SWORD + Cordova

Troy A. Griffitts scribe at crosswire.org
Sat Jul 19 08:35:52 MST 2014


Peter,

Thanks for testing. How long has it been since you've updated? There have been quite a few changes in the last 6 weeks or so. Most all (maybe all) SWORD calls have been made asychonously. Started using indexeddb to store bookmarks persistently. Added Karl's cool BibleSync. I tested this latest version on a tablet emulator with no /sdcard/sword folder and let it do the 'first time installation' to get a standard set of modules. I also simply installed it over my previous install on my phone.

Best would be if you could plug your phone into you Linux box and type: adb logcat > bishop.log
Then run bishop on your phone and wait for it to fail. Then send the log file and I'll see if I can spot what's going wrong.



On July 19, 2014 3:41:06 AM MST, Peter Von Kaehne <refdoc at gmx.net> wrote:
>Hi Troy, 
>
>I have been using Bishop for a good while now as you know, but this
>update somehow screwed things up for me - endless load time and then a
>greyed out screen with the text barely visible. 
>
>Is there a problem with installing it above an existing installation?
>Is there anything I can do for clarifying where the problem lies?
>
>FWIW I am on an HTC One V - Android 4 (.1?) with HTC Sense
>
>Peter
>
>> Gesendet: Samstag, 19. Juli 2014 um 06:03 Uhr
>> Von: "Troy A. Griffitts" <scribe at crosswire.org>
>> An: "SWORD Developers' Collaboration Forum"
><sword-devel at crosswire.org>
>> Betreff: [sword-devel] SWORD + Cordova
>>
>> Many of you know that I've been working on Cordova/Phonegap bindings
>for 
>> SWORD.  I have a working javascript app running on Android now and
>would 
>> like to move the proof of concept to the next phase and see if we can
>
>> get the same app running on iOS.  I don't know anything about iOS. :)
>> 
>> Is anyone willing to try to develop an iOS Cordova plugin equivalent
>to 
>> my Android plugin.
>> 
>> The Android plugin isn't very large, so translating it into iOS might
>
>> not be a huge task.  Here it is:
>> 
>>
>http://crosswire.org/~scribe/bishop/plugins/org.crosswire.sword.cordova.SWORD/src/android/SWORD.java
>> 
>> A very simply Cordova plugin example for iOS can be seen here, if it 
>> helps explain to Cordova aspects of an iOS Cordova plugin:
>> 
>>
>http://crosswire.org/~scribe/bishop/plugins/org.crosswire.sword.cordova.SWORD/src/ios/
>> 
>> If you'd like to see the basic Android app, you can download the .apk
>
>> here.  The entire apk, which includes libsword.so, the Java bindings
>to 
>> SWORD, the Cordova bindings to the Java binding of SWORD, and the 
>> JavaScript app, totals 661K, which is pretty cool.
>> 
>> http://crosswire.org/~scribe/bishop3.apk
>> 
>> If anyone is interested in helping with another platform besides iOS,
>
>> you can see the small example Cordova plugin for other platforms
>here:
>> 
>>
>http://crosswire.org/~scribe/bishop/plugins/org.crosswire.sword.cordova.SWORD/src/
>> 
>> Thanks for any interest and help,
>> 
>> Troy
>> 
>> 
>> 
>> _______________________________________________
>> 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.crosswire.org/pipermail/sword-devel/attachments/20140719/dd966d17/attachment.html>


More information about the sword-devel mailing list