<?xml version="1.0" encoding="UTF-8"?> <rss
version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:wfw="http://wellformedweb.org/CommentAPI/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:atom="http://www.w3.org/2005/Atom"
xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
><channel><title>Werx Limited &#187; library</title> <atom:link href="http://werxltd.com/wp/tag/library/feed/" rel="self" type="application/rss+xml" /><link>http://werxltd.com/wp</link> <description>We make IT work.</description> <lastBuildDate>Mon, 23 Jan 2012 23:03:59 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.1</generator> <item><title>Native Sword libraries for Android</title><link>http://werxltd.com/wp/2010/04/22/native-sword-libraries-for-android/</link> <comments>http://werxltd.com/wp/2010/04/22/native-sword-libraries-for-android/#comments</comments> <pubDate>Thu, 22 Apr 2010 09:00:46 +0000</pubDate> <dc:creator>wes</dc:creator> <category><![CDATA[c++]]></category> <category><![CDATA[java]]></category> <category><![CDATA[software development]]></category> <category><![CDATA[android]]></category> <category><![CDATA[api]]></category> <category><![CDATA[library]]></category> <category><![CDATA[sword]]></category><guid
isPermaLink="false">http://werxltd.com/wp/?p=565</guid> <description><![CDATA[I&#8217;ve spend quite a bit of time recently figuring out the best approach for incorporating some form of Sword libraries1 into my Android application. After an unsuccessful attempt to get the pure Java implementation, JSword, to work2 I decided to see if I could, instead, use the Android Native Development Kit and wrap the C/C++ [...]]]></description> <content:encoded><![CDATA[<p><a
href="http://developer.android.com/index.html"><img
class="size-full wp-image-567 alignright" style="margin: 5px; border: 0px initial initial; float: left;" title="android" src="http://werxltd.com/wp/wp-content/uploads/2010/04/android-sm.png?9d7bd4" alt="" width="150" height="150" /></a>I&#8217;ve spend quite a bit of time recently figuring out the best approach for incorporating some form of <a
href="http://www.crosswire.org/sword/about/index.jsp">Sword</a> libraries<sup><a
href="http://werxltd.com/wp/2010/04/22/native-sword-libraries-for-android/#footnote_0_565" id="identifier_0_565" class="footnote-link footnote-identifier-link" title="Sword is an excellent suite of libraries for accessing a large array of Bibles and Bible-related modules stored in an open format.">1</a></sup> into my <a
href="http://en.wikipedia.org/wiki/Android_(operating_system)">Android</a> application. After an unsuccessful attempt to get the pure Java implementation, <a
href="http://www.crosswire.org/jsword/">JSword</a>, to work<sup><a
href="http://werxltd.com/wp/2010/04/22/native-sword-libraries-for-android/#footnote_1_565" id="identifier_1_565" class="footnote-link footnote-identifier-link" title="The fault here was not with the JSword project per-se, the fault really lies with the limited Java environment provided by the Dalvik JVM.">2</a></sup> I decided to see if I could, instead, use the <a
href="http://developer.android.com/sdk/ndk/index.html">Android Native Development Kit</a> and wrap the C/C++ library in a <a
href="http://en.wikipedia.org/wiki/Java_Native_Interface">Java Native Interface</a>.</p><p>After doing some digging on the web I found out that Troy over at <a
href="http://www.crosswire.org/index.jsp">Crosswire</a> had <a
href="http://www.mail-archive.com/sword-devel@crosswire.org/msg19578.html">already begun a project named &#8220;bishop&#8221;</a> whose aim was to provide a Java native interface to the sword library. Just what I was looking for!</p><p>While <a
href="http://www.mail-archive.com/sword-devel@crosswire.org/msg20790.html">the process of building the library and corresponding java source files</a> is more than what I want to get into here (though I may later on as I hopefully help contribute to the maturity of the project) I wanted to share my findings with anyone else who, like me, is interested in bringing more open-source Bible applications to the Android platform.</p><p>So without further ado; <a
href="http://werxltd.com/wp/wp-content/uploads/2010/04/bishop.zip?9d7bd4">Here is a jar file</a> and corresponding JNI library you can use in your own Android project to harness the power of Sword in your own Bible-related apps.</p><div
class="betterrelated"><p><strong>Related content:</strong></p><ol><li> <a
href="http://werxltd.com/wp/2010/10/12/fred-brooks-on-the-promise-of-object-oriented-programming/" title="Permanent link to Fred Brooks on the promise of object oriented programming">Fred Brooks on the promise of object oriented programming</a></li></ol><a
class="thanks" style="font-size: smaller; text-decoration: none;" title="Related content found by the Better Related Posts plugin" href="http://www.nkuttler.de/wordpress-plugin/wordpress-related-posts-plugin/">Better Related Posts Plugin</a></div><ol
class="footnotes"><li
id="footnote_0_565" class="footnote">Sword is an excellent suite of libraries for accessing a large array of Bibles and Bible-related <a
href="http://www.crosswire.org/sword/modules/index.jsp">modules</a> stored in an open format.</li><li
id="footnote_1_565" class="footnote">The fault here was not with the JSword project per-se, the fault really lies with the limited Java environment provided by the <a
href="http://en.wikipedia.org/wiki/Dalvik_virtual_machine">Dalvik JVM</a>.</li></ol><p><!--[if IE]><iframe
frameborder="0" allowTransparency="true" class="addtoany_special_service facebook_like" src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwerxltd.com%2Fwp%2F2010%2F04%2F22%2Fnative-sword-libraries-for-android%2F&amp;layout=button_count&amp;show_faces=false&amp;width=75&amp;action=like&amp;colorscheme=light&amp;height=20&amp;ref=addtoany" scrolling="no" style="border:none;overflow:hidden;width:90px;height:21px"></iframe><![endif]--><!--[if !IE]><!--><iframe
class="addtoany_special_service facebook_like" src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwerxltd.com%2Fwp%2F2010%2F04%2F22%2Fnative-sword-libraries-for-android%2F&amp;layout=button_count&amp;show_faces=false&amp;width=75&amp;action=like&amp;colorscheme=light&amp;height=20&amp;ref=addtoany" scrolling="no" style="border:none;overflow:hidden;width:90px;height:21px"></iframe><!--<![endif]--><!--[if IE]><iframe
frameborder="0" allowTransparency="true" class="addtoany_special_service twitter_tweet" src="http://platform.twitter.com/widgets/tweet_button.html?url=http%3A%2F%2Fwerxltd.com%2Fwp%2F2010%2F04%2F22%2Fnative-sword-libraries-for-android%2F&amp;counturl=http%3A%2F%2Fwerxltd.com%2Fwp%2F2010%2F04%2F22%2Fnative-sword-libraries-for-android%2F&amp;count=none&amp;text=Native%20Sword%20libraries%20for%20Android" scrolling="no" style="border:none;overflow:hidden;width:55px;height:20px"></iframe><![endif]--><!--[if !IE]><!--><iframe
class="addtoany_special_service twitter_tweet" src="http://platform.twitter.com/widgets/tweet_button.html?url=http%3A%2F%2Fwerxltd.com%2Fwp%2F2010%2F04%2F22%2Fnative-sword-libraries-for-android%2F&amp;counturl=http%3A%2F%2Fwerxltd.com%2Fwp%2F2010%2F04%2F22%2Fnative-sword-libraries-for-android%2F&amp;count=none&amp;text=Native%20Sword%20libraries%20for%20Android" scrolling="no" style="border:none;overflow:hidden;width:55px;height:20px"></iframe><!--<![endif]--><!--[if IE]><iframe
frameborder="0" allowTransparency="true" class="addtoany_special_service google_plusone" src="https://plusone.google.com/u/0/_/%2B1/fastbutton?url=http%3A%2F%2Fwerxltd.com%2Fwp%2F2010%2F04%2F22%2Fnative-sword-libraries-for-android%2F&amp;size=medium&amp;count=false" scrolling="no" style="border:none;overflow:hidden;width:32px;height:20px"></iframe><![endif]--><!--[if !IE]><!--><iframe
class="addtoany_special_service google_plusone" src="https://plusone.google.com/u/0/_/%2B1/fastbutton?url=http%3A%2F%2Fwerxltd.com%2Fwp%2F2010%2F04%2F22%2Fnative-sword-libraries-for-android%2F&amp;size=medium&amp;count=false" scrolling="no" style="border:none;overflow:hidden;width:32px;height:20px"></iframe><!--<![endif]--><a
class="a2a_button_linkedin" href="http://www.addtoany.com/add_to/linkedin?linkurl=http%3A%2F%2Fwerxltd.com%2Fwp%2F2010%2F04%2F22%2Fnative-sword-libraries-for-android%2F&amp;linkname=Native%20Sword%20libraries%20for%20Android" title="LinkedIn" rel="nofollow" target="_blank"><img
src="http://werxltd.com/wp/wp-content/plugins/add-to-any/icons/linkedin.png?9d7bd4" width="16" height="16" alt="LinkedIn"/></a><a
class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwerxltd.com%2Fwp%2F2010%2F04%2F22%2Fnative-sword-libraries-for-android%2F&amp;title=Native%20Sword%20libraries%20for%20Android" id="wpa2a_2">Share/Save</a></p>]]></content:encoded> <wfw:commentRss>http://werxltd.com/wp/2010/04/22/native-sword-libraries-for-android/feed/</wfw:commentRss> <slash:comments>3</slash:comments> </item> </channel> </rss>
<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using apc
Page Caching using apc
Database Caching 2/10 queries in 0.983 seconds using apc
Object Caching 370/382 objects using apc

Served from: werxltd.com @ 2012-02-08 14:05:23 -->
