<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>@zlu</title>
	<atom:link href="http://luzhao.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://luzhao.wordpress.com</link>
	<description></description>
	<lastBuildDate>Thu, 17 Feb 2011 07:20:16 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='luzhao.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>@zlu</title>
		<link>http://luzhao.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://luzhao.wordpress.com/osd.xml" title="@zlu" />
	<atom:link rel='hub' href='http://luzhao.wordpress.com/?pushpress=hub'/>
		<item>
		<title>new self-hosted wordpress blog</title>
		<link>http://luzhao.wordpress.com/2010/03/31/new-self-hosted-wordpress-blog/</link>
		<comments>http://luzhao.wordpress.com/2010/03/31/new-self-hosted-wordpress-blog/#comments</comments>
		<pubDate>Wed, 31 Mar 2010 05:44:54 +0000</pubDate>
		<dc:creator>zlu</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://luzhao.wordpress.com/?p=26</guid>
		<description><![CDATA[I moved to: http://myopenvoice.org/blog/<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=luzhao.wordpress.com&amp;blog=3977918&amp;post=26&amp;subd=luzhao&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I moved to: http://myopenvoice.org/blog/</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/luzhao.wordpress.com/26/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/luzhao.wordpress.com/26/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/luzhao.wordpress.com/26/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/luzhao.wordpress.com/26/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/luzhao.wordpress.com/26/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/luzhao.wordpress.com/26/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/luzhao.wordpress.com/26/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/luzhao.wordpress.com/26/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/luzhao.wordpress.com/26/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/luzhao.wordpress.com/26/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/luzhao.wordpress.com/26/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/luzhao.wordpress.com/26/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/luzhao.wordpress.com/26/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/luzhao.wordpress.com/26/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=luzhao.wordpress.com&amp;blog=3977918&amp;post=26&amp;subd=luzhao&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://luzhao.wordpress.com/2010/03/31/new-self-hosted-wordpress-blog/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/fa0c0479a334b794c3ab2ed10d5b5dc2?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">zlu</media:title>
		</media:content>
	</item>
		<item>
		<title>Conference call in Google Wave using Ruby</title>
		<link>http://luzhao.wordpress.com/2010/02/16/conference-call-in-google-wave-using-ruby/</link>
		<comments>http://luzhao.wordpress.com/2010/02/16/conference-call-in-google-wave-using-ruby/#comments</comments>
		<pubDate>Tue, 16 Feb 2010 19:41:09 +0000</pubDate>
		<dc:creator>zlu</dc:creator>
				<category><![CDATA[development]]></category>
		<category><![CDATA[google wave]]></category>
		<category><![CDATA[rave]]></category>
		<category><![CDATA[ruby]]></category>
		<category><![CDATA[tropo]]></category>

		<guid isPermaLink="false">http://luzhao.wordpress.com/?p=23</guid>
		<description><![CDATA[This is a short tutorial I wrote to learn about tropo&#8217;s conference API and Rave (write ruby code for Google Wave). I put it on github: http://github.com/zlu/tropo-wave-tutorial<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=luzhao.wordpress.com&amp;blog=3977918&amp;post=23&amp;subd=luzhao&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>This is a short tutorial I wrote to learn about tropo&#8217;s conference API and Rave (write ruby code for Google Wave).</p>
<p>I put it on github: <a href="http://github.com/zlu/tropo-wave-tutorial" target="_blank">http://github.com/zlu/tropo-wave-tutorial</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/luzhao.wordpress.com/23/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/luzhao.wordpress.com/23/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/luzhao.wordpress.com/23/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/luzhao.wordpress.com/23/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/luzhao.wordpress.com/23/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/luzhao.wordpress.com/23/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/luzhao.wordpress.com/23/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/luzhao.wordpress.com/23/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/luzhao.wordpress.com/23/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/luzhao.wordpress.com/23/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/luzhao.wordpress.com/23/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/luzhao.wordpress.com/23/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/luzhao.wordpress.com/23/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/luzhao.wordpress.com/23/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=luzhao.wordpress.com&amp;blog=3977918&amp;post=23&amp;subd=luzhao&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://luzhao.wordpress.com/2010/02/16/conference-call-in-google-wave-using-ruby/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/fa0c0479a334b794c3ab2ed10d5b5dc2?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">zlu</media:title>
		</media:content>
	</item>
		<item>
		<title>Tools ‹ @zlu — WordPress</title>
		<link>http://luzhao.wordpress.com/2010/02/16/tools-%e2%80%b9-zlu-%e2%80%94-wordpress/</link>
		<comments>http://luzhao.wordpress.com/2010/02/16/tools-%e2%80%b9-zlu-%e2%80%94-wordpress/#comments</comments>
		<pubDate>Tue, 16 Feb 2010 06:25:16 +0000</pubDate>
		<dc:creator>zlu</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://luzhao.wordpress.com/?p=21</guid>
		<description><![CDATA[Tools ‹ @zlu — WordPress.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=luzhao.wordpress.com&amp;blog=3977918&amp;post=21&amp;subd=luzhao&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><a href="http://luzhao.wordpress.com/wp-admin/tools.php">Tools ‹ @zlu — WordPress</a>.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/luzhao.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/luzhao.wordpress.com/21/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/luzhao.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/luzhao.wordpress.com/21/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/luzhao.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/luzhao.wordpress.com/21/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/luzhao.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/luzhao.wordpress.com/21/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/luzhao.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/luzhao.wordpress.com/21/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/luzhao.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/luzhao.wordpress.com/21/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/luzhao.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/luzhao.wordpress.com/21/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=luzhao.wordpress.com&amp;blog=3977918&amp;post=21&amp;subd=luzhao&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://luzhao.wordpress.com/2010/02/16/tools-%e2%80%b9-zlu-%e2%80%94-wordpress/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/fa0c0479a334b794c3ab2ed10d5b5dc2?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">zlu</media:title>
		</media:content>
	</item>
		<item>
		<title>tropo tutorial</title>
		<link>http://luzhao.wordpress.com/2010/02/16/tropo-tutorial/</link>
		<comments>http://luzhao.wordpress.com/2010/02/16/tropo-tutorial/#comments</comments>
		<pubDate>Tue, 16 Feb 2010 06:16:26 +0000</pubDate>
		<dc:creator>zlu</dc:creator>
				<category><![CDATA[development]]></category>
		<category><![CDATA[ruby]]></category>
		<category><![CDATA[telephony]]></category>
		<category><![CDATA[tropo]]></category>

		<guid isPermaLink="false">http://luzhao.wordpress.com/?p=17</guid>
		<description><![CDATA[developing tropo applications has been a joy.  i&#8217;m really glad when tropo finally announced web api (with ruby binding of course).  i use github to store the tutorial and heroku/tropo to host the application. http://github.com/zlu/tropo-tutorial a blog on tropo by @jsgoecke (twitter): http://blogs.voxeo.com/tropo/2010/02/12/ruby-on-rails-example-for-tropo-web-api-without-port-forwarding/<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=luzhao.wordpress.com&amp;blog=3977918&amp;post=17&amp;subd=luzhao&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>developing tropo applications has been a joy.  i&#8217;m really glad when tropo finally announced web api (with ruby binding of course).  i use github to store the tutorial and heroku/tropo to host the application.</p>
<p><a title="github" href="http://github.com/zlu/tropo-tutorial" target="_blank">http://github.com/zlu/tropo-tutorial</a></p>
<p>a blog on tropo by @jsgoecke (twitter):</p>
<p><a title="tropo blog" href="http://blogs.voxeo.com/tropo/2010/02/12/ruby-on-rails-example-for-tropo-web-api-without-port-forwarding/" target="_blank">http://blogs.voxeo.com/tropo/2010/02/12/ruby-on-rails-example-for-tropo-web-api-without-port-forwarding/</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/luzhao.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/luzhao.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/luzhao.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/luzhao.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/luzhao.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/luzhao.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/luzhao.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/luzhao.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/luzhao.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/luzhao.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/luzhao.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/luzhao.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/luzhao.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/luzhao.wordpress.com/17/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=luzhao.wordpress.com&amp;blog=3977918&amp;post=17&amp;subd=luzhao&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://luzhao.wordpress.com/2010/02/16/tropo-tutorial/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/fa0c0479a334b794c3ab2ed10d5b5dc2?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">zlu</media:title>
		</media:content>
	</item>
		<item>
		<title>WordPress on droid</title>
		<link>http://luzhao.wordpress.com/2010/02/16/wordpress-on-droid/</link>
		<comments>http://luzhao.wordpress.com/2010/02/16/wordpress-on-droid/#comments</comments>
		<pubDate>Tue, 16 Feb 2010 05:12:48 +0000</pubDate>
		<dc:creator>zlu</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[droid]]></category>

		<guid isPermaLink="false">http://luzhao.wordpress.com/2010/02/16/wordpress-on-droid/</guid>
		<description><![CDATA[Today someone posted a blog using nokia n900. I&#8217;m trying to blog with droid. This is my first blog using droid as I&#8217;m still getting used to the physical keyboard. It is so nice to blog while listening to music streamed from iMusic. There are several simple html formatting support, tagging, and insert image function. [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=luzhao.wordpress.com&amp;blog=3977918&amp;post=15&amp;subd=luzhao&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Today <em>someone</em> posted a blog using nokia n900.  I&#8217;m trying to blog with droid.  This is my first blog using droid as I&#8217;m still getting used to the physical keyboard.  It is so nice to blog while listening to music streamed from iMusic.  There are several simple html formatting support, tagging, and insert image function.  I like it.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/luzhao.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/luzhao.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/luzhao.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/luzhao.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/luzhao.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/luzhao.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/luzhao.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/luzhao.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/luzhao.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/luzhao.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/luzhao.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/luzhao.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/luzhao.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/luzhao.wordpress.com/15/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=luzhao.wordpress.com&amp;blog=3977918&amp;post=15&amp;subd=luzhao&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://luzhao.wordpress.com/2010/02/16/wordpress-on-droid/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/fa0c0479a334b794c3ab2ed10d5b5dc2?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">zlu</media:title>
		</media:content>
	</item>
		<item>
		<title>Running APIDemos Tests in Android SDK 1.5pre</title>
		<link>http://luzhao.wordpress.com/2009/04/14/running-apidemos-tests-in-android-sdk-15pre/</link>
		<comments>http://luzhao.wordpress.com/2009/04/14/running-apidemos-tests-in-android-sdk-15pre/#comments</comments>
		<pubDate>Tue, 14 Apr 2009 21:04:19 +0000</pubDate>
		<dc:creator>zlu</dc:creator>
				<category><![CDATA[development]]></category>
		<category><![CDATA[Android]]></category>
		<category><![CDATA[TDD]]></category>

		<guid isPermaLink="false">http://luzhao.wordpress.com/?p=8</guid>
		<description><![CDATA[I learned last night that the Android SDK 1.5 pre was out.  I downloaded it and tried to write a simple service test work without any luck.  I couldn&#8217;t find any sample test code for service that&#8217;s clear enough to help me.  After a few posts in Android&#8217;s google group I finally get it working.  [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=luzhao.wordpress.com&amp;blog=3977918&amp;post=8&amp;subd=luzhao&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I learned last night that the Android SDK 1.5 pre was out.  I downloaded it and tried to write a simple service test work without any luck.  I couldn&#8217;t find any sample test code for service that&#8217;s clear enough to help me.  After a few posts in Android&#8217;s google group I finally get it working.  Hopefully Android team will in the future write some good documentation on how to setup the test environment in Eclipse.  Here is what I did to get it work in case people running into same problems.</p>
<p>I assume that you&#8217;ve downloaded and installed the SDK and ADT .9 inside Eclipse.</p>
<p>1. Create a project for api demo:</p>
<p>In Eclipse, create a new Android project using existing source for ApiDemos:</p>
<p>/projects/android-sdk-mac_x86-1.5_pre/platforms/android-1.5/samples/ApiDemos</p>
<p>I installed the SDK on a macbook, so you&#8217;ll need to adjust the directory based on your installation.</p>
<p>2. Create a project for api demo tests:</p>
<p>In Eclipse, create another Android project using existing source.  This time, the path to source should be:</p>
<p>projects/android-sdk-mac_x86-1.5_pre/platforms/android-1.5/samples/ApiDemos/tests</p>
<p>You will get some errors because the test project needs to know where the api demo project is.  So open project properties -&gt; Java Build Path -&gt; Projects, and add the first project you created as required projects on the build path.</p>
<p>3. Make sure there&#8217;s no errors in either project.  I have added java sdk and junit libraries to the build path to get rid some errors.</p>
<p>4. Run the first project as Android project.  You should see the emulator starts and api demo being deployed.</p>
<p>5. Run the 2nd (test) project as Android project and you should see something like this:</p>
<p>[2009-04-14 13:32:47 - com_example_android_apis_tests] Uploading com_example_android_apis_tests.apk onto device &#8216;emulator-5554&#8242;<br />
[2009-04-14 13:32:47 - com_example_android_apis_tests] Installing com_example_android_apis_tests.apk&#8230;<br />
[2009-04-14 13:32:50 - com_example_android_apis_tests] Success!<br />
[2009-04-14 13:32:50 - com_example_android_apis_tests] Project dependency found, installing: apidemos<br />
[2009-04-14 13:32:50 - apidemos] Application already deployed. No need to reinstall.<br />
[2009-04-14 13:32:50 - com_example_android_apis_tests] /com_example_android_apis_tests/bin/com_example_android_apis_tests.apk installed on device<br />
[2009-04-14 13:32:50 - com_example_android_apis_tests] Done!</p>
<p>6. Open a commandline, assume your have SDK&#8217;s tools directory in your path, type this to run the LocalServiceTest:</p>
<p>adb shell am instrument -w -e class \</p>
<p>com.example.android.apis.app.LocalServiceTest  \</p>
<p>com.example.android.apis.tests/android.test.InstrumentationTestRunner</p>
<p>Note: above 3 lines is one command.</p>
<p>You should see something like this:</p>
<p>zlu-macbook:tests zlu$ adb shell am instrument -w -e class com.example.android.apis.app.LocalServiceTest com.example.android.apis.tests/android.test.InstrumentationTestRunner</p>
<p>com.example.android.apis.app.LocalServiceTest:&#8230;..<br />
Test results for InstrumentationTestRunner=&#8230;..<br />
Time: 0.637</p>
<p>OK (5 tests)</p>
<p>7.  If properly setup, you can run test from within Eclipse using Run As&#8230;, Then choose Android JUnit test on LocalServiceTest.</p>
<p>You should see this:</p>
<p><img class="alignnone size-full wp-image-9" title="android-junit" src="http://luzhao.files.wordpress.com/2009/04/picture-1.png?w=450&#038;h=246" alt="android-junit" width="450" height="246" /></p>
<p>Now you can go about doing your own TDD!</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/luzhao.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/luzhao.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/luzhao.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/luzhao.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/luzhao.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/luzhao.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/luzhao.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/luzhao.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/luzhao.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/luzhao.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/luzhao.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/luzhao.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/luzhao.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/luzhao.wordpress.com/8/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=luzhao.wordpress.com&amp;blog=3977918&amp;post=8&amp;subd=luzhao&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://luzhao.wordpress.com/2009/04/14/running-apidemos-tests-in-android-sdk-15pre/feed/</wfw:commentRss>
		<slash:comments>10</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/fa0c0479a334b794c3ab2ed10d5b5dc2?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">zlu</media:title>
		</media:content>

		<media:content url="http://luzhao.files.wordpress.com/2009/04/picture-1.png" medium="image">
			<media:title type="html">android-junit</media:title>
		</media:content>
	</item>
		<item>
		<title>Dualboot Ubuntu on Macbook</title>
		<link>http://luzhao.wordpress.com/2008/09/04/dualboot-ubuntu-on-macbook/</link>
		<comments>http://luzhao.wordpress.com/2008/09/04/dualboot-ubuntu-on-macbook/#comments</comments>
		<pubDate>Thu, 04 Sep 2008 23:31:13 +0000</pubDate>
		<dc:creator>zlu</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[macbook]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://luzhao.wordpress.com/?p=5</guid>
		<description><![CDATA[This is the best of the two worlds. Macbook: OSX Leopard, 64bit, duo-core I basically followed ubuntu forum&#8217;s article which you can easily google.  I twisted the installation instruction a bit and here&#8217;s a brief update. 1. Run bootcamp from Leopard to assign Windows partition, although we&#8217;re going to use this partition for Ubuntu. 2. [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=luzhao.wordpress.com&amp;blog=3977918&amp;post=5&amp;subd=luzhao&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>This is the best of the two worlds.</p>
<p>Macbook: OSX Leopard, 64bit, duo-core</p>
<p>I basically followed ubuntu forum&#8217;s article which you can easily google.  I twisted the installation instruction a bit and here&#8217;s a brief update.</p>
<p>1. Run bootcamp from Leopard to assign Windows partition, although we&#8217;re going to use this partition for Ubuntu.</p>
<p>2. Install rEFit, edit refit.conf and uncomment legacyfirst, which should be the last line in the default configuration.  This will set Linux to be the first boot option.</p>
<p>3. Download 64-bit Ubuntu desktop edition, run md5 against the image and verify with ubuntu md5sum sheet, then burn the iso image.</p>
<p>4. Reboot into Ubuntu CD image.</p>
<p>5. Select manual partition, delete anything other than mac and rEFit partitions.  Create a new partition of type ex3 and mtn to /, and the rest space should be allocated to swap.  There&#8217;re so many instructions nowadays online on how much space should be allocated to swap space.</p>
<p>6.  At the end of installation wizard, click on the advanced button and select to install grub on sda instead of the default hda0.</p>
<p>7.  Finish installation and reboot.  You should be presented to rEFit&#8217;s graphic boot menu and select partition tool to sync up MBR.</p>
<p>8. Reboot (at least for me I had to) and you&#8217;ll be presented to a sweet Linux/Mac dual boot menu.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/luzhao.wordpress.com/5/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/luzhao.wordpress.com/5/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/luzhao.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/luzhao.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/luzhao.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/luzhao.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/luzhao.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/luzhao.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/luzhao.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/luzhao.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/luzhao.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/luzhao.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/luzhao.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/luzhao.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/luzhao.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/luzhao.wordpress.com/5/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=luzhao.wordpress.com&amp;blog=3977918&amp;post=5&amp;subd=luzhao&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://luzhao.wordpress.com/2008/09/04/dualboot-ubuntu-on-macbook/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/fa0c0479a334b794c3ab2ed10d5b5dc2?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">zlu</media:title>
		</media:content>
	</item>
		<item>
		<title>Do upgrade to Ubuntu 8.04</title>
		<link>http://luzhao.wordpress.com/2008/06/14/do-upgrade-to-ubuntu-804/</link>
		<comments>http://luzhao.wordpress.com/2008/06/14/do-upgrade-to-ubuntu-804/#comments</comments>
		<pubDate>Sat, 14 Jun 2008 08:15:07 +0000</pubDate>
		<dc:creator>zlu</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Thinkpad]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://luzhao.wordpress.com/?p=3</guid>
		<description><![CDATA[I read David&#8217;s experience with Ubuntu 8.04 . My experience running 8.04 on Thinkpad T61 (Lenovo model) is mostly positive. Sound card partially works: there is sound coming out of the speakers but the microphone is not picking up the sound. I googled and found out that I may need to reinstall some packages. My [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=luzhao.wordpress.com&amp;blog=3977918&amp;post=3&amp;subd=luzhao&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I read David&#8217;s experience with <a href="http://blog.lostlake.org/index.php?/archives/75-Dont-upgrade-to-Ubuntu-8.04.html">Ubuntu 8.04</a> .  My experience running 8.04 on Thinkpad T61 (Lenovo model) is mostly positive.</p>
<li>Sound card partially works: there is sound coming out of the speakers but the microphone is not picking up the sound.  I googled and found out that I may need to reinstall some packages.</li>
<li>My T61 doesn&#8217;t have a fancy graphic card like T61p and it works out-of-box.</li>
<li>Firefox 3 beta 5 rocks.  I have no high CPU consumption problem running GMail for a long time.</li>
<p>I&#8217;m doing a dual boot with Vista and Ubuntu.  Now I have less need to ever go back to Windows.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/luzhao.wordpress.com/3/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/luzhao.wordpress.com/3/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/luzhao.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/luzhao.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/luzhao.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/luzhao.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/luzhao.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/luzhao.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/luzhao.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/luzhao.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/luzhao.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/luzhao.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/luzhao.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/luzhao.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/luzhao.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/luzhao.wordpress.com/3/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=luzhao.wordpress.com&amp;blog=3977918&amp;post=3&amp;subd=luzhao&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://luzhao.wordpress.com/2008/06/14/do-upgrade-to-ubuntu-804/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/fa0c0479a334b794c3ab2ed10d5b5dc2?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">zlu</media:title>
		</media:content>
	</item>
	</channel>
</rss>
