<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Building ZXing for Android &#8211; lessons learned</title>
	<atom:link href="http://www.falatic.com/index.php/9/building-zxing-for-android-part-1/feed" rel="self" type="application/rss+xml" />
	<link>http://www.falatic.com/index.php/9/building-zxing-for-android-part-1</link>
	<description>Technobabble...</description>
	<lastBuildDate>Sun, 09 May 2010 08:28:53 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: Marty</title>
		<link>http://www.falatic.com/index.php/9/building-zxing-for-android-part-1/comment-page-1#comment-40</link>
		<dc:creator>Marty</dc:creator>
		<pubDate>Fri, 26 Feb 2010 08:44:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.falatic.com/?p=9#comment-40</guid>
		<description>It was easier than I thought - I&#039;ve created a new post with the Eclipse info!</description>
		<content:encoded><![CDATA[<p>It was easier than I thought &#8211; I&#8217;ve created a new post with the Eclipse info!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Marty</title>
		<link>http://www.falatic.com/index.php/9/building-zxing-for-android-part-1/comment-page-1#comment-39</link>
		<dc:creator>Marty</dc:creator>
		<pubDate>Thu, 25 Feb 2010 22:52:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.falatic.com/?p=9#comment-39</guid>
		<description>My main impulse for all of this is really more to learn about Android programming and refresh my build skills.  I *have* gotten other little things working on Eclipse for Android, end-to-end, so I know it can be done for apps in general.

In all fairness, the ZXing project appears to be command-line oriented, thus getting the current version of it building from within Eclipse might be a stretch, so I&#039;m not going to beat my head against the wall too long in trying to get that to happen.  The Knol I referred to claims it once worked, and now that I know more about the minimum requirements to build it I might have better luck but if not, oh well.</description>
		<content:encoded><![CDATA[<p>My main impulse for all of this is really more to learn about Android programming and refresh my build skills.  I *have* gotten other little things working on Eclipse for Android, end-to-end, so I know it can be done for apps in general.</p>
<p>In all fairness, the ZXing project appears to be command-line oriented, thus getting the current version of it building from within Eclipse might be a stretch, so I&#8217;m not going to beat my head against the wall too long in trying to get that to happen.  The Knol I referred to claims it once worked, and now that I know more about the minimum requirements to build it I might have better luck but if not, oh well.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: JustAnotherDev</title>
		<link>http://www.falatic.com/index.php/9/building-zxing-for-android-part-1/comment-page-1#comment-38</link>
		<dc:creator>JustAnotherDev</dc:creator>
		<pubDate>Thu, 25 Feb 2010 22:34:14 +0000</pubDate>
		<guid isPermaLink="false">http://www.falatic.com/?p=9#comment-38</guid>
		<description>Great!  I will be listening.   They sell us on RAD development with eclipse, but it is such a haste getting anything to work...  Android has a lot of complexity compared to other platforms.   I am sure that that complexity will amount to more flexibility when it is mastered, but for now it is just to much to learn to be productive.</description>
		<content:encoded><![CDATA[<p>Great!  I will be listening.   They sell us on RAD development with eclipse, but it is such a haste getting anything to work&#8230;  Android has a lot of complexity compared to other platforms.   I am sure that that complexity will amount to more flexibility when it is mastered, but for now it is just to much to learn to be productive.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Marty</title>
		<link>http://www.falatic.com/index.php/9/building-zxing-for-android-part-1/comment-page-1#comment-37</link>
		<dc:creator>Marty</dc:creator>
		<pubDate>Thu, 25 Feb 2010 04:02:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.falatic.com/?p=9#comment-37</guid>
		<description>Not yet but I mean to look into that.  If I make progress I&#039;ll post a followup.</description>
		<content:encoded><![CDATA[<p>Not yet but I mean to look into that.  If I make progress I&#8217;ll post a followup.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: JustAnotherDev</title>
		<link>http://www.falatic.com/index.php/9/building-zxing-for-android-part-1/comment-page-1#comment-36</link>
		<dc:creator>JustAnotherDev</dc:creator>
		<pubDate>Thu, 25 Feb 2010 03:52:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.falatic.com/?p=9#comment-36</guid>
		<description>Did you ever get this to build and deploy to the phone from eclipse?  If so I would be quite interested in hearing about how you did this.

Cheers...</description>
		<content:encoded><![CDATA[<p>Did you ever get this to build and deploy to the phone from eclipse?  If so I would be quite interested in hearing about how you did this.</p>
<p>Cheers&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Marty</title>
		<link>http://www.falatic.com/index.php/9/building-zxing-for-android-part-1/comment-page-1#comment-35</link>
		<dc:creator>Marty</dc:creator>
		<pubDate>Wed, 24 Feb 2010 12:43:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.falatic.com/?p=9#comment-35</guid>
		<description>I didn&#039;t expect any replies this quickly - I especially didn&#039;t expect one from one of the project leaders!

Flash: yes, I see your point, though it&#039;s more a point of curiosity for me (I think the Droid has variable brightness on this... it&#039;s all as much about poking around just to poke around as anything else).

Autofocus: I can see that, though the ability to fix on macro focus would seem useful for a camera with a macro setting (for close items mine doesn&#039;t really sharpen up until it&#039;s at the AF near-limit).  I may experiment more with that just to see if it adds any value.

I figured out how to adjust the viewfinder size.  It&#039;d be interesting to see that and the AF parameters as adjustable settings (is there no easy way to tell the native max resolution when planning for MAX_FRAME_WIDTH/HEIGHT?)  It was nice having a larger field to work with.

PDF417 was a curiosity too... I got that working - not a huge value in daily use and I can see how it can eat processing power but it was nice to see it works.

All this comes back to the ability to build based on the information on the pages I found.  In my experience, no information is better than wrong information, but if good info IS available it&#039;s useful to have it out there.  The Windows host build info is kinda broken, but as I&#039;ve described it&#039;s more in need of a bit of cleaning than anything else.  Some things that stand out in my experience today:

WTK: it appears you *have* to have it installed and available to build in Windows.  I haven&#039;t delved into exactly why this is but the build totally fails without it.  This is probably directly related to the way Proguard is installed since it fails when looking for that (and when both are installed as and where expected it works fine).  Perhaps Proguard  can be installed in another place, but it&#039;s apparently dependent on the WTK-home setting.  Also, WTK 2.5.2_01 is apparently the default now (thanks to a security update).  Looks like the default path in Windows changes a bit, while the Unix version doesn&#039;t (though it is the updated version).

build.properties - an example entry for android-home would be valuable, much like there is one for the other windows-possible entries.  Likewise the WTK note above would be a useful (minor) fix to that Windows example path.

Environment: I&#039;ve tried to strip this down to the most basic configuration possible to build from Windows for Android.  The Windows-host-build gaps I found were not numerous but they were critical to getting this to build for Android (the Eclipse gap is another story - if I figure out a simple solution I&#039;ll post it but I&#039;m just glad to be able to build it at all right now).

Again, I spent a few hours hunting down all the extra bits and tweaks required to make this work.  It&#039;s not that the info is totally absent - it&#039;s just scattered around in notes, comments and other places.  Nor is it esoteric - what I did should be quite typical for most Windows hosts based on XP or later.  Knowing what fundamental items are required to build for a given host/target combination is useful, and cleaning up and consolidating this info would be useful, especially to people who are new to a project (and especially with a Windows host - given that one must gather several bits together than might otherwise be standard in a &quot;developer&#039;s&quot; install of Linux).

I&#039;m very glad there&#039;s a Windows host option here - I just wanted to get the word out as to how a newbie might make use of it.</description>
		<content:encoded><![CDATA[<p>I didn&#8217;t expect any replies this quickly &#8211; I especially didn&#8217;t expect one from one of the project leaders!</p>
<p>Flash: yes, I see your point, though it&#8217;s more a point of curiosity for me (I think the Droid has variable brightness on this&#8230; it&#8217;s all as much about poking around just to poke around as anything else).</p>
<p>Autofocus: I can see that, though the ability to fix on macro focus would seem useful for a camera with a macro setting (for close items mine doesn&#8217;t really sharpen up until it&#8217;s at the AF near-limit).  I may experiment more with that just to see if it adds any value.</p>
<p>I figured out how to adjust the viewfinder size.  It&#8217;d be interesting to see that and the AF parameters as adjustable settings (is there no easy way to tell the native max resolution when planning for MAX_FRAME_WIDTH/HEIGHT?)  It was nice having a larger field to work with.</p>
<p>PDF417 was a curiosity too&#8230; I got that working &#8211; not a huge value in daily use and I can see how it can eat processing power but it was nice to see it works.</p>
<p>All this comes back to the ability to build based on the information on the pages I found.  In my experience, no information is better than wrong information, but if good info IS available it&#8217;s useful to have it out there.  The Windows host build info is kinda broken, but as I&#8217;ve described it&#8217;s more in need of a bit of cleaning than anything else.  Some things that stand out in my experience today:</p>
<p>WTK: it appears you *have* to have it installed and available to build in Windows.  I haven&#8217;t delved into exactly why this is but the build totally fails without it.  This is probably directly related to the way Proguard is installed since it fails when looking for that (and when both are installed as and where expected it works fine).  Perhaps Proguard  can be installed in another place, but it&#8217;s apparently dependent on the WTK-home setting.  Also, WTK 2.5.2_01 is apparently the default now (thanks to a security update).  Looks like the default path in Windows changes a bit, while the Unix version doesn&#8217;t (though it is the updated version).</p>
<p>build.properties &#8211; an example entry for android-home would be valuable, much like there is one for the other windows-possible entries.  Likewise the WTK note above would be a useful (minor) fix to that Windows example path.</p>
<p>Environment: I&#8217;ve tried to strip this down to the most basic configuration possible to build from Windows for Android.  The Windows-host-build gaps I found were not numerous but they were critical to getting this to build for Android (the Eclipse gap is another story &#8211; if I figure out a simple solution I&#8217;ll post it but I&#8217;m just glad to be able to build it at all right now).</p>
<p>Again, I spent a few hours hunting down all the extra bits and tweaks required to make this work.  It&#8217;s not that the info is totally absent &#8211; it&#8217;s just scattered around in notes, comments and other places.  Nor is it esoteric &#8211; what I did should be quite typical for most Windows hosts based on XP or later.  Knowing what fundamental items are required to build for a given host/target combination is useful, and cleaning up and consolidating this info would be useful, especially to people who are new to a project (and especially with a Windows host &#8211; given that one must gather several bits together than might otherwise be standard in a &#8220;developer&#8217;s&#8221; install of Linux).</p>
<p>I&#8217;m very glad there&#8217;s a Windows host option here &#8211; I just wanted to get the word out as to how a newbie might make use of it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sean</title>
		<link>http://www.falatic.com/index.php/9/building-zxing-for-android-part-1/comment-page-1#comment-34</link>
		<dc:creator>Sean</dc:creator>
		<pubDate>Wed, 24 Feb 2010 11:03:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.falatic.com/?p=9#comment-34</guid>
		<description>A few small replies which may clarify or help --

Trust me, turning on the flash doesn&#039;t work. The image comes out white at that range. We disable it explicitly on all devices, except the Behold 2 which doesn&#039;t allow it.

The issue is not resolution, but focus. The scanner actually only looks at the pixels you see on your screen -- that&#039;s about 0.07MP.

And on that note, auto-focus is absolutely essential to a clean scan. 

You don&#039;t need WTK unless you are trying to build the J2ME client.

Yes none of us use Windows but I don&#039;t know of any reason it wouldn&#039;t work, except for Proguard, which doesn&#039;t seem to work on Windows? You can build a non-optimized version or just switch to Linux.

Yes, we&#039;re not repeating instructions for setting up your development environment, since it&#039;s not project-specific and kind of depends on your platform and preferred way of working.</description>
		<content:encoded><![CDATA[<p>A few small replies which may clarify or help &#8211;</p>
<p>Trust me, turning on the flash doesn&#8217;t work. The image comes out white at that range. We disable it explicitly on all devices, except the Behold 2 which doesn&#8217;t allow it.</p>
<p>The issue is not resolution, but focus. The scanner actually only looks at the pixels you see on your screen &#8212; that&#8217;s about 0.07MP.</p>
<p>And on that note, auto-focus is absolutely essential to a clean scan. </p>
<p>You don&#8217;t need WTK unless you are trying to build the J2ME client.</p>
<p>Yes none of us use Windows but I don&#8217;t know of any reason it wouldn&#8217;t work, except for Proguard, which doesn&#8217;t seem to work on Windows? You can build a non-optimized version or just switch to Linux.</p>
<p>Yes, we&#8217;re not repeating instructions for setting up your development environment, since it&#8217;s not project-specific and kind of depends on your platform and preferred way of working.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
