[sword-devel] Android SWORD

Manfred Bergmann manfred.bergmann at me.com
Wed Sep 1 09:48:38 MST 2010


Am 01.09.2010 um 17:00 schrieb Martin Denham:

> Bishop is real fast but I don't know if that is all due to C++ code or if it is not doing as much html processing/formatting as and-bible.  I thought about switching to the C++ libs but there are various h/w restrictions if you use the ndk and also it is a long time since I use C++ and I just can't understand the Sword C++ code anymore and it seems from Troy's e-mails that the packaged ndk lib would need a fair bit more work.  Jsword also needs some optimisations and tweaks but I am more confident with Java.  

Can the html rendering in JSword be simplified?

> Maybe the git idea is a good one and can be put on the list.  What do others think?  I chose svn because I thought most developers would be familiar with it and it has great eclipse integration.  Personally I have to use PVCS and Clearcase at work so even svn provided challenges for me.  Nic recently transferred PocketSword to Mercurial and seemed very happy.  However, as everybody keeps commenting there is a whole load of functionality in and-bible that is missing and that needs improvement so maybe I should keep my head down and not be distracted.

I'm using a mixture of Bazaar and Subversion.
I think that DVCSs do not make sense everywhere. Both, a DVCS and a VCS need maintenance. With a DVCS you might get a lot of branches where if no one cares you suddenly have a lot of mess. This is exactly the opposite with a VCS that is very strict with giving people write access where you need people to review and apply patches. If those people don't exist the sources will not change. However I still think that it absolute makes sense to have a shared repository with some people that are responsible for maintenance and patch review/apply. If this works well I believe it will not hinder anyone from commitment.


Manfred

>  
> On 31 August 2010 19:11, Bill Burton <bburton at mail.com> wrote:
> Hello,
> 
> On a related note, could this project be hosted on http://github.com?  It would provide much better ability to collaborate since anyone can fork, make changes and then push them back for optional inclusion.  The built-in wiki would make it easy to publish any appropriate docs.
> 
> For an example of why this would be helpful, I have some libsword swig bindings for Ruby that never got committed because no one who was a commiter had the time or inclination to step up and look at them.  If I could have forked the swig bindings, and checked in my changes, then whether or not they became incorporated in the official version, they would be readily available for anyone to find, evaluate and/or fix.
> 
> Just my $0.02.
> 
> Thanks,
> -Bill
> 
> On Sat, Aug 28, 2010 at 11:33 PM, Kenneth Arnold <kcarnold at alum.mit.edu> wrote:
> Hi Martin and Troy,
> 
> I finally got the AndBible source built; I needed to get the jsword source and also raise the memory limit for Eclipse--it thrashed and eventually crashed in the linker/dex step. There's still a dex warning that floods the Console, but it works on my Droid X. I made a few minor modifications to ensure I could, but nothing serious yet.
> 
> Major things I'd like to work on as a user are navigation, continuous scrolling, and verse number sync. Also, do you think we should replace the backend with native libsword? That might help formatting and speed, but I don't know how deeply it's woven into the code. The Bishop code could be a useful example if we decide to go that way.
> 
> Should we continue discussion on this list?
> 
> -Ken (mobile)
> 
> 
>> On Aug 26, 2010 1:39 AM, "Troy A. Griffitts" <scribe at crosswire.org> wrote:
>> 
>> Dear Ken,
>> 
>> Thank you for the debug.  I also have had trouble with the installer and
>> haven't had time to look into it.
>> 
>> The history is that I build Bishop as a sort of proof of concept for the
>> java-jni bindings for Android.  I mostly work in the engine code.  The
>> jni binding code I kept in SWORD SVN and the Bishop code I just backed
>> up occasionally to our server.  Last year my drive crashed and I lost
>> some work but might have pieced it all back together.  Here is an email
>> I sent to Gary with links to all my stuff.
>> 
>> ______________________
>> 
>> After last year when I started the work I had a harddrive die on my
>> laptop.  I had been backing up the work regularly, but lost about 2
>> weeks of work in the crash.  I used a recovery tool to salvage many of
>> the files from the bishop project and think I may have close to what is
>> in the apk.  Here are my resources if you want to try to piece things
>> together:
>> 
>> Lastest binary when I stopped, dated 11-18-2009:
>> http://crosswire.org/~scribe/bishop.apk
>> 
>> Latest backup of source, dated 10-31-2009:
>> http://crosswire.org/~scribe/bishop-20091031.tar.gz
>> 
>> Latest binary after reconstructing source and I think some small new
>> work (I think this is built with debug symbols in the native library so
>> it's a little bigger):
>> http://crosswire.org/~scribe/bishop2.apk
>> 
>> Current backup of source which built the above:
>> http://crosswire.org/~scribe/bishop-20100804.tar.gz
>> 
>> Please excuse my ignorance of Android programming.  I am fumbling
>> through it all.
>> 
>> I remember having trouble with the InstallMgr.  It sometimes connects
>> and downloads and other times it does not.  I thought it might be the
>> limited memory on my G1 or some trouble with the timing of the FTP code
>> in the native library.  I've found serious bugs in Android's system
>> calls, (e.g. memccpy) and reported it to them, but they still haven't
>> fixed it.  I use my own version in the ftp lib to avoid the bug.  That
>> is where I stopped-- thinking I needed to debug this ftp intermittent
>> issue.  I didn't compare how well the older .apk works versus the newer
>> .apk.  Maybe the older version worked better?  Or maybe a newer version
>> of Android or new phone works better?
>> 
>> Let me know what you find.
>> 
>> Troy
>> 
>> 
>> 
>> 
>> On 08/24/2010 09:01 PM, Kenneth Arnold wrote:
>> > I just got an Android phone, and after seeing the...
>> 
>> 
> 
> _______________________________________________
> 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
> 
> 
> 
> 
> -- 
> Bill Burton <bburton at mail.com>
> 
> _______________________________________________
> 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




More information about the sword-devel mailing list