<?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>Kanru&#039;s 探險日誌 &#187; 未分類</title>
	<atom:link href="http://blog.kanru.info/archives/category/%e6%9c%aa%e5%88%86%e9%a1%9e/feed" rel="self" type="application/rss+xml" />
	<link>http://blog.kanru.info</link>
	<description>當發現美好的事物時，所要做的第一件事，就是把它分享給所有人</description>
	<lastBuildDate>Sun, 23 May 2010 09:51:05 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>啟用 mobile 版面</title>
		<link>http://blog.kanru.info/archives/809</link>
		<comments>http://blog.kanru.info/archives/809#comments</comments>
		<pubDate>Sun, 23 May 2010 09:38:00 +0000</pubDate>
		<dc:creator>kanru</dc:creator>
				<category><![CDATA[未分類]]></category>

		<guid isPermaLink="false">http://blog.kanru.info/?p=809</guid>
		<description><![CDATA[
]]></description>
			<content:encoded><![CDATA[<p>偶爾也想在手機上看自己的 blog (?!) 所以裝了個行動版的 plugin <a href="http://www.bravenewcode.com/products/wptouch/">WPTouch</a></p>

<p><a href="http://blog.kanru.info/wp-content/uploads/2010/05/mobile01.png"><img src="http://blog.kanru.info/wp-content/uploads/2010/05/mobile01-180x300.png" alt="Blog 手機版" title="Blog 手機版" width="180" height="300" class="alignnone size-medium wp-image-810" /></a><a href="http://blog.kanru.info/wp-content/uploads/2010/05/mobile02.png"><img src="http://blog.kanru.info/wp-content/uploads/2010/05/mobile02-180x300.png" alt="" title="Blog 手機版" width="180" height="300" class="alignnone size-medium wp-image-816" /></a><a href="http://blog.kanru.info/wp-content/uploads/2010/05/mobile03.png"><img src="http://blog.kanru.info/wp-content/uploads/2010/05/mobile03-180x300.png" alt="" title="Blog 手機版" width="180" height="300" class="alignnone size-medium wp-image-815" /></a><a href="http://blog.kanru.info/wp-content/uploads/2010/05/mobile04.png"><img src="http://blog.kanru.info/wp-content/uploads/2010/05/mobile04-180x300.png" alt="" title="Blog 手機版" width="180" height="300" class="alignnone size-medium wp-image-814" /></a></p>

<p>看起來還不賴！</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.kanru.info/archives/809/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>AndroidDev: Recent progress on Gallery3D</title>
		<link>http://blog.kanru.info/archives/799</link>
		<comments>http://blog.kanru.info/archives/799#comments</comments>
		<pubDate>Wed, 19 May 2010 12:31:40 +0000</pubDate>
		<dc:creator>kanru</dc:creator>
				<category><![CDATA[未分類]]></category>
		<category><![CDATA[0xlab]]></category>
		<category><![CDATA[agl]]></category>
		<category><![CDATA[android]]></category>
		<category><![CDATA[Gallery3D]]></category>
		<category><![CDATA[opengl]]></category>

		<guid isPermaLink="false">http://blog.kanru.info/?p=799</guid>
		<description><![CDATA[
]]></description>
			<content:encoded><![CDATA[<p>Gallery3D is the gallery application released with Éclair, contributed by <a href="http://www.cooliris.com/mobile/nexus-one/">Cooliris</a>.</p>

<p>This application heavily uses OpenGL to render the scenes. It looks great on Nexus One. But 0xdroid does not yet support hardware accelerated 3D graphics and rely on libagl to rasterize the 3D graph.</p>

<p>Agl is the software OpenGL rendering engine used by android emulator. Gallery3D assumes there is hardware support and this caused a lot of trouble when one want to run it with agl. Even if the libagl implementation is correct and complete, Gallery3D may also assumes some implementation depended behavior. Not to mention the fundamental libagl implementations may have problems.</p>

<p>Anyway, we have some progress and I&#8217;d like to share the screenshots. Devkit8000 DVI output, 640&#215;480 resolution, captured by DDMS.</p>


<a href='http://blog.kanru.info/archives/799/device2' title='device2'><img width="150" height="150" src="http://blog.kanru.info/wp-content/uploads/2010/05/device2-150x150.png" class="attachment-thumbnail" alt="device2" title="device2" /></a>
<a href='http://blog.kanru.info/archives/799/device1' title='device1'><img width="150" height="150" src="http://blog.kanru.info/wp-content/uploads/2010/05/device1-150x150.png" class="attachment-thumbnail" alt="device1" title="device1" /></a>
<a href='http://blog.kanru.info/archives/799/device' title='device'><img width="150" height="150" src="http://blog.kanru.info/wp-content/uploads/2010/05/device-150x150.png" class="attachment-thumbnail" alt="device" title="device" /></a>


<p>I have a feeling there are more OpenGL tricks inside the source code then I&#8217;d expected.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.kanru.info/archives/799/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>AndroidDev: Provision the device</title>
		<link>http://blog.kanru.info/archives/789</link>
		<comments>http://blog.kanru.info/archives/789#comments</comments>
		<pubDate>Wed, 12 May 2010 02:39:43 +0000</pubDate>
		<dc:creator>kanru</dc:creator>
				<category><![CDATA[未分類]]></category>
		<category><![CDATA[0xlab]]></category>
		<category><![CDATA[android]]></category>
		<category><![CDATA[Devkit8000]]></category>
		<category><![CDATA[Provision]]></category>

		<guid isPermaLink="false">http://blog.kanru.info/?p=789</guid>
		<description><![CDATA[
]]></description>
			<content:encoded><![CDATA[<p>在 Devkit8000 上把 HOME key 設定好後卻無法作用，仔細看了下處理 HOME key 的地方是 polices 下的 PhoneWindowManager.java，會去檢查這個 device 是否被 &#8220;Provision&#8221; 了。</p>

<p>這個 Provision 的動作其實就是 Device 第一次啟用時做初始設定，在 Google phone 上面就是 SetupWizard，在 emulator 裏面則有簡單的 Provision.apk，之前無法作用就是因為一直沒有把 Provision.apk 放進去&#8230;</p>

<p>Provision.apk 做了什麼事呢？其實很簡短：</p>

<div>
<pre class="brush: java;">
public class DefaultActivity extends Activity {

    @Override
    protected void onCreate(Bundle icicle) {
        super.onCreate(icicle);

        // Add a persistent setting to allow other apps to know
        // the device has been provisioned.
        Settings.Secure.putInt(getContentResolver(),
                               Settings.Secure.DEVICE_PROVISIONED, 1);

        // remove this activity from the package manager.
        PackageManager pm = getPackageManager();
        ComponentName name = new ComponentName(this,
                                     DefaultActivity.class);
        pm.setComponentEnabledSetting(name,
                   PackageManager.COMPONENT_ENABLED_STATE_DISABLED, 0);

        // terminate the activity.
        finish();
    }
}
</pre>
</div>

<p>因此若要提供一個類似 SetupWizard 的初始化介面在 Devit8000 上面，只要延伸這個 Provision.apk 做的事，提供 GUI 等等，最重要的就是設定這個 &#8220;Settings.Secure.DEVICE_PROVISIONED&#8221;</p>

<p>這是一個筆記。</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.kanru.info/archives/789/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Fourth 0xdroid Release for BeagleBoard and Devkit8000!</title>
		<link>http://blog.kanru.info/archives/767</link>
		<comments>http://blog.kanru.info/archives/767#comments</comments>
		<pubDate>Tue, 27 Apr 2010 04:16:14 +0000</pubDate>
		<dc:creator>kanru</dc:creator>
				<category><![CDATA[未分類]]></category>
		<category><![CDATA[0xlab]]></category>
		<category><![CDATA[android]]></category>

		<guid isPermaLink="false">http://blog.kanru.info/?p=767</guid>
		<description><![CDATA[
]]></description>
			<content:encoded><![CDATA[<p><img src="http://0xlab.org/logo_imgs/0xdroid.png"/ style="float:left;"/> Today we are celebrating the 0xLab&#8217;s one year old birthday! I&#8217;d like to write about the recently announced <a href="http://code.google.com/p/0xdroid/wiki/beagle_eclair_0x4">fourth 0xdroid release</a>.</p>

<p>What&#8217;s new in this release? The biggest one is that it is based on Éclair code base! While Éclair uses a lot more 3D stuff for its UI, the performance drop between Donut and Éclair is huge. After lots of testing and hacking, we finally bought the Éclair performance back to its original level. For detailed benchmark results, checkout the wiki page <a href="http://code.google.com/p/0xdroid/wiki/Benchmarks">Benchmarks</a>.</p>

<p>Second is new hardware support. 0xdroid now officially supports Devkit8000, a BeagleBoard clone. Developers did many works to bring up the all functionality include LCD/DVI output, touchscreen calibration, USB, Ethernet, etc. Running Éclair on Devkit8000 looks great!</p>

<p>Oh, and the new installer! The new installer used in this release supports both BeagleBoard and Devkit8000, with different display resolution and hardware revision. It can do a lot more than previous installer can do, for example it can download images from network, install to SD/MMC card and indicate progress via graphic display or via blinking LEDs. All of this will fit into a 1MB binary!</p>

<p>Enjoy the release video on the youtube:</p>

<div style="width:480px;margin: 0 auto;"><object width="480" height="385"><param name="movie" value="http://www.youtube.com/v/OGpYk1p1UPI&#038;hl=zh_TW&#038;fs=1&#038;"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/OGpYk1p1UPI&#038;hl=zh_TW&#038;fs=1&#038;" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="480" height="385"></embed></object></div>

<p>Want to contribute? <a href="http://code.google.com/p/0xdroid/wiki/UsingPreBuiltImages">Download</a> it and try now!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.kanru.info/archives/767/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Got one A1 from Broncho</title>
		<link>http://blog.kanru.info/archives/688</link>
		<comments>http://blog.kanru.info/archives/688#comments</comments>
		<pubDate>Mon, 15 Mar 2010 09:50:49 +0000</pubDate>
		<dc:creator>kanru</dc:creator>
				<category><![CDATA[未分類]]></category>
		<category><![CDATA[0xlab]]></category>
		<category><![CDATA[android]]></category>

		<guid isPermaLink="false">http://blog.kanru.info/?p=688</guid>
		<description><![CDATA[
]]></description>
			<content:encoded><![CDATA[<p>上週末下班前，在桌上發現一個包裹，原來是渡海而來的兩隻 A1！這兩隻 A1 是 Broncho 的產品，詳細規格可以參考 <a href="http://www.broncho.cn/products/a1/">Broncho 的網頁</a>。</p>

<p>大伙興奮的開箱啦！</p>

<p><a href="http://blog.kanru.info/wp-content/uploads/2010/03/FxCam_1268373797319.jpg"><img src="http://blog.kanru.info/wp-content/uploads/2010/03/FxCam_1268373797319-150x150.jpg" alt="開箱" title="unbox" width="150" height="150" class="alignnone size-thumbnail wp-image-689" /></a>
<a href="http://blog.kanru.info/wp-content/uploads/2010/03/FxCam_1268373867309.jpg"><img src="http://blog.kanru.info/wp-content/uploads/2010/03/FxCam_1268373867309-150x150.jpg" alt="開箱" title="unbox2" width="150" height="150" class="alignnone size-thumbnail wp-image-691" /></a>
<a href="http://blog.kanru.info/wp-content/uploads/2010/03/2010-03-12-14.04.52.jpg"><img src="http://blog.kanru.info/wp-content/uploads/2010/03/2010-03-12-14.04.52-150x150.jpg" alt="" title="合照" width="150" height="150" class="alignnone size-thumbnail wp-image-699" /></a>
<a href="http://blog.kanru.info/wp-content/uploads/2010/03/2010-03-12-14.06.25.jpg"><img src="http://blog.kanru.info/wp-content/uploads/2010/03/2010-03-12-14.06.25-150x150.jpg" alt="" title="真像" width="150" height="150" class="alignnone size-thumbnail wp-image-703" /></a></p>

<p>包裝和 Hero 的很像。3.2 寸 LCD, 480&#215;320 的解析度，200 萬畫素的相機鏡頭，CPU 是 Marvell 300 (624 MHz)，記憶體是 256 + 128 MB，支援 WIFI, Bluetooth, FM, GPS。不是使用標準的 USB 接口，但同一個接口可以接 USB、耳機、變壓器。觸控螢幕使用起來的感覺像是電容式的，反應非常靈敏，輕輕的觸摸就有反應。</p>

<p>系統是 Android Cupcake，內建軟體有不少 Google App，最另人驚訝旳是上面有 Android Market 可以用，試著從 Market 上面下載了一些小遊戲下來玩，完全沒有問題，真是太牛了！另外一點就是有內建手寫輸入，速度不快但是準確度不錯。除此之外還有谷歌拼音可以用。</p>

<p>測試的途中無線網路與 GPS 不是很穩，除此之外以一隻中低價位的手機來說表現的相當不錯。</p>

<p><a href="http://blog.kanru.info/wp-content/uploads/2010/03/lock.png"><img src="http://blog.kanru.info/wp-content/uploads/2010/03/lock-150x150.png" alt="" title="lock" width="150" height="150" class="alignnone size-thumbnail wp-image-711" /></a>
<a href="http://blog.kanru.info/wp-content/uploads/2010/03/home.png"><img src="http://blog.kanru.info/wp-content/uploads/2010/03/home-150x150.png" alt="" title="home" width="150" height="150" class="alignnone size-thumbnail wp-image-712" /></a>
<a href="http://blog.kanru.info/wp-content/uploads/2010/03/apps.png"><img src="http://blog.kanru.info/wp-content/uploads/2010/03/apps-150x150.png" alt="" title="apps" width="150" height="150" class="alignnone size-thumbnail wp-image-713" /></a>
<a href="http://blog.kanru.info/wp-content/uploads/2010/03/market.png"><img src="http://blog.kanru.info/wp-content/uploads/2010/03/market-150x150.png" alt="" title="market" width="150" height="150" class="alignnone size-thumbnail wp-image-714" /></a>
<a href="http://blog.kanru.info/wp-content/uploads/2010/03/market2.png"><img src="http://blog.kanru.info/wp-content/uploads/2010/03/market2-150x150.png" alt="" title="market2" width="150" height="150" class="alignnone size-thumbnail wp-image-715" /></a>
<a href="http://blog.kanru.info/wp-content/uploads/2010/03/market3.png"><img src="http://blog.kanru.info/wp-content/uploads/2010/03/market3-150x150.png" alt="" title="market3" width="150" height="150" class="alignnone size-thumbnail wp-image-716" /></a>
<a href="http://blog.kanru.info/wp-content/uploads/2010/03/weather.png"><img src="http://blog.kanru.info/wp-content/uploads/2010/03/weather-150x150.png" alt="" title="weather" width="150" height="150" class="alignnone size-thumbnail wp-image-717" /></a>
<a href="http://blog.kanru.info/wp-content/uploads/2010/03/handwriting1.png"><img src="http://blog.kanru.info/wp-content/uploads/2010/03/handwriting1-150x150.png" alt="" title="handwriting1" width="150" height="150" class="alignnone size-thumbnail wp-image-718" /></a>
<a href="http://blog.kanru.info/wp-content/uploads/2010/03/handwriting2.png"><img src="http://blog.kanru.info/wp-content/uploads/2010/03/handwriting2-150x150.png" alt="" title="handwriting2" width="150" height="150" class="alignnone size-thumbnail wp-image-719" /></a>
<a href="http://blog.kanru.info/wp-content/uploads/2010/03/handwriting3.png"><img src="http://blog.kanru.info/wp-content/uploads/2010/03/handwriting3-150x150.png" alt="" title="handwriting3" width="150" height="150" class="alignnone size-thumbnail wp-image-720" /></a>
<a href="http://blog.kanru.info/wp-content/uploads/2010/03/handwriting4.png"><img src="http://blog.kanru.info/wp-content/uploads/2010/03/handwriting4-150x150.png" alt="" title="handwriting4" width="150" height="150" class="alignnone size-thumbnail wp-image-721" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.kanru.info/archives/688/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Debian 用 wpa_cli 之 romaning mode，不用 network-manager</title>
		<link>http://blog.kanru.info/archives/685</link>
		<comments>http://blog.kanru.info/archives/685#comments</comments>
		<pubDate>Mon, 08 Mar 2010 16:38:12 +0000</pubDate>
		<dc:creator>kanru</dc:creator>
				<category><![CDATA[未分類]]></category>

		<guid isPermaLink="false">http://blog.kanru.info/?p=685</guid>
		<description><![CDATA[
]]></description>
			<content:encoded><![CDATA[<p>在 <code>/etc/wpa_supplicant/wpa_supplicant.conf</code> 加入 network 設定</p>

<div>
<pre class="brush: plain;">
    ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
    network={
            ssid=&quot;Example&quot;
            psk=&quot;password&quot;
            id_str=&quot;office&quot;
    }

    network={
        key_mgmt=NONE
    }
    # 可以參考 /usr/share/doc/wpasupplicant/examples/wpa-roam.conf
</pre>
</div>

<p>然後在 <code>/etc/network/interfaces</code> 加加 mapping</p>

<div>
<pre class="brush: plain;">
    allow-hotplug wlan0
    iface wlan0 inet manual
            wpa-roam /etc/wpa_supplicant/wpa_supplicant.conf

    iface office inet dhcp
</pre>
</div>

<p>之後開機就會自動 connect 到合適的 AP 了</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.kanru.info/archives/685/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>硬碟炸了</title>
		<link>http://blog.kanru.info/archives/616</link>
		<comments>http://blog.kanru.info/archives/616#comments</comments>
		<pubDate>Wed, 15 Apr 2009 01:10:57 +0000</pubDate>
		<dc:creator>kanru</dc:creator>
				<category><![CDATA[未分類]]></category>

		<guid isPermaLink="false">http://blog.kanru.info/?p=616</guid>
		<description><![CDATA[
]]></description>
			<content:encoded><![CDATA[<p>莫非定律：硬碟一定會剛好在你沒有備份的時候壞掉！</p>

<p>當然，如果有備份的話就沒什麼好說的了……，其實我有備份硬碟，只是該硬碟上的備份檔竟然無法 mount，superblock 全毀！！弄的我這次放五天假，一點都沒感覺有休息到 @@</p>

<p>松果要重新蒐集是還好，畢竟某些松果終究只是堆在那裡而已，照片什麼的別人手上都有備份，最糟糕的是 gpg key 了，比身份證掉了還麻煩，下次放假如果還是沒辦法把備份檔拿出來，應該就一個個重簽了 Orz</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.kanru.info/archives/616/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Blog 爆炸</title>
		<link>http://blog.kanru.info/archives/348</link>
		<comments>http://blog.kanru.info/archives/348#comments</comments>
		<pubDate>Sat, 04 Oct 2008 12:04:09 +0000</pubDate>
		<dc:creator>kanru</dc:creator>
				<category><![CDATA[未分類]]></category>

		<guid isPermaLink="false">http://blog.kanru.info/?p=348</guid>
		<description><![CDATA[
]]></description>
			<content:encoded><![CDATA[<p>Blog 消失了兩天</p>

<p>損失了幾篇文章以及一些 comments，不過還好損失的文章都從 planet 找回來了 <img src='http://blog.kanru.info/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>

<p>comments 我就留在信箱裡吧</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.kanru.info/archives/348/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>墾丁行</title>
		<link>http://blog.kanru.info/archives/465</link>
		<comments>http://blog.kanru.info/archives/465#comments</comments>
		<pubDate>Sat, 13 Sep 2008 05:56:49 +0000</pubDate>
		<dc:creator>kanru</dc:creator>
				<category><![CDATA[未分類]]></category>

		<guid isPermaLink="false">http://blog2.kanru.info/?p=116</guid>
		<description><![CDATA[
]]></description>
			<content:encoded><![CDATA[<p>好久沒來這裡澆水了 XD</p>

<p>前幾天和小良去墾丁玩，現在是半個黑人~</p>

<p>照片連結</p>

<p>http://davids.pixnet.net/album/set/14145102</p>

<p>http://www.wretch.cc/album/album.php?id=Paloma&amp;book=3</p>

<p>http://www.wretch.cc/album/album.php?id=Paloma&amp;book=4</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.kanru.info/archives/465/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Chinese Typing Practice</title>
		<link>http://blog.kanru.info/archives/317</link>
		<comments>http://blog.kanru.info/archives/317#comments</comments>
		<pubDate>Tue, 09 Sep 2008 11:38:33 +0000</pubDate>
		<dc:creator>kanru</dc:creator>
				<category><![CDATA[未分類]]></category>

		<guid isPermaLink="false">http://blog.kanru.info/?p=317</guid>
		<description><![CDATA[
]]></description>
			<content:encoded><![CDATA[<p>輸入法練習用，自己還沒玩過 @@</p>

<div class="wp-caption aligncenter" style="width: 510px"><a href="http://www.flickr.com/photos/kanru/2842091081/"><img alt="Chinese Typing Practice" src="http://farm4.static.flickr.com/3054/2842091081_c950eb31cf.jpg" title="Chinese Typing Practice by Kanru Chen, on Flickr" width="500" height="476" /></a><p class="wp-caption-text">Chinese Typing Practice</p></div>

<p><a href="http://github.com/kanru/chinese-type-practice"></a></p>

<p>http://github.com/kanru/chinese-type-practice</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.kanru.info/archives/317/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
