<?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>Search Engine Optimization &#187; Gadgets/Hack</title>
	<atom:link href="http://www.search-engine-optimization.ir/category/gadgetshack/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.search-engine-optimization.ir</link>
	<description>Just another Blog By Arash Kardan</description>
	<lastBuildDate>Sat, 04 Feb 2012 08:04:41 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Android barcode scanner in 6 lines of Python code</title>
		<link>http://www.search-engine-optimization.ir/2009/06/10/android-barcode-scanner-in-6-lines-of-python-code/</link>
		<comments>http://www.search-engine-optimization.ir/2009/06/10/android-barcode-scanner-in-6-lines-of-python-code/#comments</comments>
		<pubDate>Tue, 09 Jun 2009 21:53:24 +0000</pubDate>
		<dc:creator>Matt Cutts</dc:creator>
				<category><![CDATA[Gadgets/Hack]]></category>

		<guid isPermaLink="false">http://www.mattcutts.com/blog/?p=2620</guid>
		<description><![CDATA[After my last video about using a barcode scanner to add and search books in your library, I was feeling pretty happy. Bar code scanners are pretty cheap--mine cost about $65. But then Google released the Android Scripting Environment (ASE) and it turns out that you don&#8217;t even need a bar code scanner. Instead, you [...]


No related posts.]]></description>
			<content:encoded><![CDATA[<p>After my last video about using a barcode scanner to add and search books in your library, I was feeling pretty happy. Bar code scanners are pretty cheap&#8211;mine cost about $65. But then Google released the Android Scripting Environment (ASE) and it turns out that you don&#8217;t even need a bar code scanner. Instead, you can use an Android phone such as the G1.</p>
<p>Just as a proof-of-concept, here&#8217;s a barcode scanner written in six lines of Python code:</p>
<p>import android<br />
droid = android.Android()<br />
code = droid.scanBarcode()<br />
isbn = int(code['result']['SCAN_RESULT'])<br />
url = &#8220;http://books.google.com?q=%d&#8221; % isbn<br />
droid.startActivity(&#8217;android.intent.action.VIEW&#8217;, url)</p>
<p>Thanks to fellow Googler Vijayakrishna Griddaluru for sending me this sample code. Visiting the resulting url offers the option to add that book to your library:</p>
<p><center><img src="http://www.mattcutts.com/images/android-barcode-scanner.png" alt="Android bar code scanner" /></center></p>
<p>Pretty easy, huh? You can read all about the new scripting environment. Not only can you scan bar codes, <strong>you can use text-to-speech, make phone calls, send text messages, read sensor data, and find your location&#8211;all from easy scripts</strong>. One person wrote a script to go into silent mode when the phone is placed screen-down on the table. It took less than 20 lines of code, and that&#8217;s including comments!</p>
<p>The Android Scripting Environment should make fun projects even easier. Brad Fitzpatrick wrote about using his Android phone to open his garage door automatically when his motorcycle gets close to home. Now those sorts of projects are even easier to write. <img src='http://www.mattcutts.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><img src="http://feeds.feedburner.com/~r/mattcutts/uJBW/~4/59gEXP0m8zg" height="1" width="1"/></p>


<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://www.search-engine-optimization.ir/2009/06/10/android-barcode-scanner-in-6-lines-of-python-code/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Search your bookshelf with a $65 barcode scanner</title>
		<link>http://www.search-engine-optimization.ir/2009/06/07/search-your-bookshelf-with-a-65-barcode-scanner/</link>
		<comments>http://www.search-engine-optimization.ir/2009/06/07/search-your-bookshelf-with-a-65-barcode-scanner/#comments</comments>
		<pubDate>Sun, 07 Jun 2009 18:53:43 +0000</pubDate>
		<dc:creator>Matt Cutts</dc:creator>
				<category><![CDATA[Gadgets/Hack]]></category>

		<guid isPermaLink="false">http://www.mattcutts.com/blog/?p=2602</guid>
		<description><![CDATA[(Okay, if TechCrunch wrote about my video then I should probably at least do a blog post too.)
Last year I suggested potential Summer of Code projects and one of my favorite suggestions was &#8220;How about a good open-source program to manage your book library? Something like the Delicious Library program, but that works with Linux?&#8221; [...]


No related posts.]]></description>
			<content:encoded><![CDATA[<p>(Okay, if TechCrunch wrote about my video then I should probably at least do a blog post too.)</p>
<p>Last year I suggested potential Summer of Code projects and one of my favorite suggestions was &#8220;How about a good open-source program to manage your book library? Something like the Delicious Library program, but that works with Linux?&#8221; In the blog comments, Colin Colehour left an excellent comment: &#8220;Matt, Can’t you use Google Books to keep track of your book library at home? You can add books that you own to the ‘my library’ list and then export that as an xml file and they have RSS feeds.&#8221;</p>
<p>The suggestion was so obvious that I smacked my head. Why install software at all when a website will store the data for you? The only problem was how to tell Google which books I own. Well, there&#8217;s a neat hack for this too: Amazon carries the Adesso NuScan 1000 bar code scanner for $65.44 with free shipping. I&#8217;m sure you can get barcode scanners for cheaper (anyone remember the CueCat scanner that was free?), but the Adesso had good reviews.</p>
<p>With that, adding your books to Google&#8217;s My Library feature is simplicity itself&#8211;the Google Books team has tweaked the workflow so that you can barcode scan and add lots of books very quickly. Here&#8217;s the video to demonstrate:</p>
<p><center><object width="640" height="385"><param name="movie" value="http://www.youtube.com/v/Q95ywcuGuTM&#038;hl=en&#038;fs=1&#038;hd=1"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/Q95ywcuGuTM&#038;hl=en&#038;fs=1&#038;hd=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="640" height="385"></embed></object></center></p>
<p>Why would you record which books you own in the first place? The immediate reason is that you can run full-text searches against the books in your library. That&#8217;s right: <strong>just by scanning bar codes, you can search over the text of books you own</strong>. Down the road, I can easily imagine other uses. Wouldn&#8217;t it be great if you could upload your list of books to Amazon, and it would automatically suggest other books you should read? Or avoid suggesting books that you already own? Josh Lowensohn mentions another great reason to do this: it creates a record for insurance purposes.</p>
<p>Once you have your book list, there are social networks for book lovers such as Goodreads and LibraryThing. And please note: this isn&#8217;t the only way to scan your books. Delicious Library 2 is $40 commercial software for the Mac that can use your Mac&#8217;s built-in webcam.</p>
<p>Special thanks to Michael &#8216;Wysz&#8217; Wyszomierski for recording and producing this video. I love that he showed the computer&#8217;s screen and showed an &#8220;action shot&#8221; of scanning the books.</p>
<p><img src="http://feeds.feedburner.com/~r/mattcutts/uJBW/~4/711CX8AYixM" height="1" width="1"/></p>


<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://www.search-engine-optimization.ir/2009/06/07/search-your-bookshelf-with-a-65-barcode-scanner/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

