<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-1644975525711680021</id><updated>2024-08-30T03:41:35.687-07:00</updated><category term="Android"/><category term="AndEngine"/><category term="Eclipse"/><category term="Sqlite"/><category term="Mac"/><title type='text'>onplain-Ian</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://onplain-ian.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1644975525711680021/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://onplain-ian.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>dolphins</name><uri>http://www.blogger.com/profile/08475298453513001125</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>19</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-1644975525711680021.post-3330475648053472143</id><published>2011-06-04T09:53:00.000-07:00</published><updated>2011-06-04T10:02:32.823-07:00</updated><title type='text'>[音樂]鄭宜農搶聽會</title><content type='html'>&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiCW6WKfqASz1mnSHIwGA1TYiKwAU7zr-7cTGAITPqHxp2FboqDjE3TZ2_h5uzBzZLCzJC_Oxaezp1vafxbbNEvE7oGBWRw7gR0WXi7mdix_042dDZY4mjuijz2aDC2SoAlxmE3kUgN8e0E/s1600/IMAG0067.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;380&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiCW6WKfqASz1mnSHIwGA1TYiKwAU7zr-7cTGAITPqHxp2FboqDjE3TZ2_h5uzBzZLCzJC_Oxaezp1vafxbbNEvE7oGBWRw7gR0WXi7mdix_042dDZY4mjuijz2aDC2SoAlxmE3kUgN8e0E/s640/IMAG0067.jpg&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 宜農的搶聽會，一切起因都是宅的力量所造成，掛在FB上就看到最新的訊息，總共二十五名也被我搶到了!對宜農的第一印象是在夏天的尾巴，我想大部分的人都是，那部影片或許對時的我有點太年輕，宜農也太過青澀，沒有產生心裡迴響。&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;第二次的印象是在西藏自由音樂節，在那天我第一次被宜農的魅力吸引，然而引起共鳴的原因或許不是單單因為歌曲，因為他很美麗，而是被他聲音的直率與一首歌一首歌之間的談話。還是很有印象，她唱得很用力，用力到我覺得他比較適合拿電吉他在舞台上，很急切著想要告訴大家些什麼思想般，對談之間也讓我感受到他早不同於我當初的印象，是個抗爭歌手般站在這樣一個舞台上。&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;當下只覺得，我是多麼的軟弱，對於自己所在乎在意的人事物。&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;獨立日，是我喜歡上宜農的第一首歌，這或許也透露出一點自己反社會的思想。&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;被一位年輕少女這樣的歌唱、宣勢，整首歌的技巧如何根本就不會有人去評斷，因為他最有意義的一面已經真真實實的呈現在大家的眼前了，或許就因為這首歌的性質與宜農的音樂的純粹，一把木吉他不多不少，更能讓我們針對訴說的事情有所感觸，旋律是動聽的，情緒是澎湃的。&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;說著說著，也不能不提&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: arial, sans-serif; line-height: 25px;&quot;&gt;Sayonala給我的衝擊，台語詞聽著聽著，這樣的滄桑感真的是大大跳脫鄭宜農的印象。我只能說好棒，我好喜歡這樣的一首歌，他是這麼的特別。&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: arial, sans-serif; line-height: 25px;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: arial, sans-serif; line-height: 25px;&quot;&gt;6/3的害羞搶聽會，其實我也不知道是哪裡出了問題，宜農是熱情的，設定好的位置，新穎的家具位子，都讓大家有點ㄍㄧㄥ吧。&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: arial, sans-serif; line-height: 25px;&quot;&gt;好，那些好像都不是重點，宜農在我的心目中又變了個樣子，在今晚。&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: arial, sans-serif; line-height: 25px;&quot;&gt;是撫慰，&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: arial, sans-serif; line-height: 25px;&quot;&gt;是憂愁。&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: arial, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;line-height: 25px;&quot;&gt;是大雨的城市，&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: arial, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;line-height: 25px;&quot;&gt;是眼淚是不捨，這是我當下的感受。&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: arial, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;line-height: 25px;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: arial, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;line-height: 25px;&quot;&gt;太陽，&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: arial, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;line-height: 25px;&quot;&gt;一種完美的溫暖，&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: arial, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;line-height: 25px;&quot;&gt;你、我的太陽，&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: arial, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;line-height: 25px;&quot;&gt;喚醒門前的土壤，好濕潤的語句，&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: arial, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;line-height: 25px;&quot;&gt;讓我不停止的悸動，噗通噗通，&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: arial, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;line-height: 25px;&quot;&gt;畫面浮現，&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: arial, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;line-height: 25px;&quot;&gt;是多麼可愛的景象。&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: arial, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;line-height: 25px;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: arial, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;line-height: 25px;&quot;&gt;最終還是回到現實，&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: arial, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;line-height: 25px;&quot;&gt;終究敵人還是自己呀，&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: arial, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;line-height: 25px;&quot;&gt;點醒了今夜的我。&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: arial, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;line-height: 25px;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: arial, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;line-height: 25px;&quot;&gt;清唱的宜農，讓我更感受到歌曲的細膩情感，是貼近彼此生活的，&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: arial, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;line-height: 25px;&quot;&gt;雖然不常看表演，但每次看到都讓我有，ㄝ? 鄭宜農原來是這樣呀的感受...&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: arial, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;line-height: 25px;&quot;&gt;不知道是太厲害呢，還是進步太快呢?&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: arial, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;line-height: 25px;&quot;&gt;答案，就等海王星發售吧。&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: arial, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;line-height: 25px;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: arial, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;line-height: 25px;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: arial, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;line-height: 25px;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://onplain-ian.blogspot.com/feeds/3330475648053472143/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://onplain-ian.blogspot.com/2011/06/blog-post.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1644975525711680021/posts/default/3330475648053472143'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1644975525711680021/posts/default/3330475648053472143'/><link rel='alternate' type='text/html' href='http://onplain-ian.blogspot.com/2011/06/blog-post.html' title='[音樂]鄭宜農搶聽會'/><author><name>dolphins</name><uri>http://www.blogger.com/profile/08475298453513001125</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiCW6WKfqASz1mnSHIwGA1TYiKwAU7zr-7cTGAITPqHxp2FboqDjE3TZ2_h5uzBzZLCzJC_Oxaezp1vafxbbNEvE7oGBWRw7gR0WXi7mdix_042dDZY4mjuijz2aDC2SoAlxmE3kUgN8e0E/s72-c/IMAG0067.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1644975525711680021.post-6813872304767719939</id><published>2011-06-02T10:12:00.000-07:00</published><updated>2011-06-02T10:12:05.188-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Android"/><title type='text'>[Android]Activity流程</title><content type='html'>&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;每個android程式都一定會有一個Activity，或是一個類別是繼承Activity，通常實作都會運用到下面幾個函式，並且他們之間有個流程順序:&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjmTIeJA-OKSOIht4tKj9Z3fBAuI1BEh7hOoncADI9Lls4fD2bc7OxGbOnHJpa6kidkIy-O1G0iWkl_fgYnLpScFn4WboKtsceQV72yloZoIrYHblNPK5wysjxxQSwLrRkNvJovoj6r63E/s1600/activity_lifecycle.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;640&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjmTIeJA-OKSOIht4tKj9Z3fBAuI1BEh7hOoncADI9Lls4fD2bc7OxGbOnHJpa6kidkIy-O1G0iWkl_fgYnLpScFn4WboKtsceQV72yloZoIrYHblNPK5wysjxxQSwLrRkNvJovoj6r63E/s640/activity_lifecycle.png&quot; style=&quot;cursor: move;&quot; width=&quot;490&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Trebuchet MS&#39;, Trebuchet, Verdana, sans-serif; line-height: 20px;&quot;&gt;上圖裏有三個主要迴路&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Trebuchet MS&#39;, Trebuchet, Verdana, sans-serif; line-height: 20px;&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Trebuchet MS&#39;, Trebuchet, Verdana, sans-serif; line-height: 20px;&quot;&gt;(1)entire lifetime：&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Trebuchet MS&#39;, Trebuchet, Verdana, sans-serif; line-height: 20px;&quot;&gt;一個Activity的entire lifetime是由onCreate(Bundle)開始，一直到onDestroy()結束。一個&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: red;&quot;&gt;Activity可以把所有的資源設定寫在onCreate裏，一直到onDestroy()時，再釋放出來&lt;/span&gt;。比如說，你需要一個執行緒在背景執行網路下載資料，這個thread就可以在onCreate()裏建立起來，一直到onDestroy()再把thread釋放不要用。&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Trebuchet MS&#39;, Trebuchet, Verdana, sans-serif; line-height: 20px;&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Trebuchet MS&#39;, Trebuchet, Verdana, sans-serif; line-height: 20px;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Trebuchet MS&#39;, Trebuchet, Verdana, sans-serif; line-height: 20px;&quot;&gt;(2)visible lifetime：&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Trebuchet MS&#39;, Trebuchet, Verdana, sans-serif; line-height: 20px;&quot;&gt;一個Activity的visible lifetime則是指在onStart()到onStop()之間，算是&quot;可視生命時期&quot;，在這段時間內，使用者可以在螢幕上看見Activity，要注意這個&quot;看見&quot;算是抽象形容詞@@這個Activity不見得一定在前景直接跟使用者可直接互動。比如說：你可以在onStart()註冊一個BroadcastReceiver用來監控並改變你的UI，當使用者不想再看你所呈現的結果時，在onStop()移除註冊的BroadcastReceiver。onStart()跟onStop()可以在activity在visible及hidden兩個狀態切換時多次被呼叫執行。&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Trebuchet MS&#39;, Trebuchet, Verdana, sans-serif; line-height: 20px;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Trebuchet MS&#39;, Trebuchet, Verdana, sans-serif; line-height: 20px;&quot;&gt;(3)foreground lifetime：&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Trebuchet MS&#39;, Trebuchet, Verdana, sans-serif; line-height: 20px;&quot;&gt;一個foreground lifetime則是指onResume()到onPause()之間，在這個時期的Activity是在所有的&lt;span class=&quot;Apple-style-span&quot;&gt;Activity的前面，並且直接跟使用者進行互動，所以這段時期指的就是圖裏的Activity is running囉。 一個Activity能很頻繁的在resume及pause這兩個狀態切換，比如：當一個裝置進行睡眠時，當一個Activity的結果被傳送，當一個新的intent被傳送時。&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: red;&quot;&gt;所以在onResume()及onPause()裏實作的程式應盡量精簡&lt;/span&gt;。&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Trebuchet MS&#39;, Trebuchet, Verdana, sans-serif; line-height: 20px;&quot;&gt;整個Activity的生命週期所用到的方法(methods)定義如下表，這&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: red;&quot;&gt;些methods都可以依據你實際上的需求去繼承出來改寫它的行為&lt;/span&gt;。所有的Activity都會實作onCreate(Bundle)來實現他們的初使化設定；或許你也需要去實作出onPause()來保留一些資料；但請記得當你要使用這些methods時必需要做一件事情，那就是&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: red;&quot;&gt;在你改寫的methods裏必需呼叫superclass相對應的methods.如：super.onCreate(Bundle)&lt;/span&gt;。&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #333333; font-family: arial, sans-serif; font-size: 13px;&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;pre class=&quot;prettyprint&quot; style=&quot;background-color: #fafafa; border-bottom-color: rgb(204, 204, 204); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(204, 204, 204); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(204, 204, 204); border-top-style: solid; border-top-width: 1px; color: #007000; font-family: monospace; line-height: inherit; margin-bottom: 1em; margin-left: 1em; margin-right: 0px; margin-top: 0px; overflow-x: auto; overflow-y: auto; padding-bottom: 10px; padding-left: 10px; padding-right: 10px; padding-top: 10px;&quot;&gt;&lt;span class=&quot;kwd&quot; style=&quot;color: #000088;&quot;&gt;public&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;color: #000088;&quot;&gt;class&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;color: #660066;&quot;&gt;Activity&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;color: #000088;&quot;&gt;extends&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;color: #660066;&quot;&gt;ApplicationContext&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;color: #000088;&quot;&gt;protected&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;color: #000088;&quot;&gt;void&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt; onCreate&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;color: #660066;&quot;&gt;Bundle&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt; savedInstanceState&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;);&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;

&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;color: #000088;&quot;&gt;protected&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;color: #000088;&quot;&gt;void&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt; onStart&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;();&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp;
&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;color: #000088;&quot;&gt;protected&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;color: #000088;&quot;&gt;void&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt; onRestart&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;();&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;

&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;color: #000088;&quot;&gt;protected&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;color: #000088;&quot;&gt;void&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt; onResume&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;();&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;

&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;color: #000088;&quot;&gt;protected&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;color: #000088;&quot;&gt;void&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt; onPause&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;();&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;

&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;color: #000088;&quot;&gt;protected&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;color: #000088;&quot;&gt;void&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt; onStop&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;();&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;

&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;color: #000088;&quot;&gt;protected&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;color: #000088;&quot;&gt;void&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt; onDestroy&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;();&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;
&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;
&amp;nbsp;&lt;/span&gt;&lt;/pre&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;參考資料:&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;1.&lt;a href=&quot;http://developer.android.com/reference/android/app/Activity.html&quot;&gt;http://developer.android.com/reference/android/app/Activity.html&lt;/a&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;2.&lt;a href=&quot;http://stenlyho.blogspot.com/2008/09/activity.html&quot;&gt;http://stenlyho.blogspot.com/2008/09/activity.html&lt;/a&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;3.&lt;a href=&quot;http://www.ibm.com/developerworks/cn/opensource/os-cn-android-actvt/#ibm-pcon&quot;&gt;http://www.ibm.com/developerworks/cn/opensource/os-cn-android-actvt/#ibm-pcon&lt;/a&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://onplain-ian.blogspot.com/feeds/6813872304767719939/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://onplain-ian.blogspot.com/2011/06/androidactivity.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1644975525711680021/posts/default/6813872304767719939'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1644975525711680021/posts/default/6813872304767719939'/><link rel='alternate' type='text/html' href='http://onplain-ian.blogspot.com/2011/06/androidactivity.html' title='[Android]Activity流程'/><author><name>dolphins</name><uri>http://www.blogger.com/profile/08475298453513001125</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjmTIeJA-OKSOIht4tKj9Z3fBAuI1BEh7hOoncADI9Lls4fD2bc7OxGbOnHJpa6kidkIy-O1G0iWkl_fgYnLpScFn4WboKtsceQV72yloZoIrYHblNPK5wysjxxQSwLrRkNvJovoj6r63E/s72-c/activity_lifecycle.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1644975525711680021.post-6667801392766319482</id><published>2011-06-02T10:10:00.001-07:00</published><updated>2011-06-02T10:17:38.094-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="AndEngine"/><category scheme="http://www.blogger.com/atom/ns#" term="Android"/><title type='text'>[AndEngine]遊戲場景大小設定</title><content type='html'>&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;遊戲場景的大小，跟Camera、Engine這兩類別息息相關。&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;設定順序:Camera--&amp;gt;Engine&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;public Engine onLoadEngine() {//讀取引擎 ,回傳Engine&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;this.mCamera = new Camera(0, 0, CAMERA_WIDTH, CAMERA_HEIGHT);&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;return new Engine(new EngineOptions(true&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;/false(代表是否顯示狀態列)&lt;/span&gt;, ScreenOrientation.LANDSCAPE, new RatioResolutionPolicy(CAMERA_WIDTH, CAMERA_HEIGHT), this.mCamera));&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;}&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;有or沒有顯示手機狀態列的情況下，也會影響你該設定的大小數據:&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjRTaX8VyAyEFrSXENkbJvIveDG8iZ54VbRWpNbaju3QHOMnd_fbDwnY6Hw_W6y3gAwGEo-H654KkCMiqBugDKYt7Rg1gCiuwNGnp3XJJbaOclq_b6iD5QSFaTRAhIQXPzvya59ZHCzWA8/s1600/2011-04-25_152050.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;344&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjRTaX8VyAyEFrSXENkbJvIveDG8iZ54VbRWpNbaju3QHOMnd_fbDwnY6Hw_W6y3gAwGEo-H654KkCMiqBugDKYt7Rg1gCiuwNGnp3XJJbaOclq_b6iD5QSFaTRAhIQXPzvya59ZHCzWA8/s640/2011-04-25_152050.jpg&quot; style=&quot;cursor: move;&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;比例與螢幕相同，畫質較高720X480。&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;br /&gt;
&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgNf-G6xdHMKFo9rtt5_g1Sflvg37Uv_muU1AycexsNBBGpjrN3uEGcw3YooQMgA1QA9Stlcli84a2GdH-htBmh8I16N9v0pDpSI52q-t858zM_AeNwuM-jltZUZ4ST0IO9MpWqaZFcF6g/s1600/2011-04-25_152154.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;344&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgNf-G6xdHMKFo9rtt5_g1Sflvg37Uv_muU1AycexsNBBGpjrN3uEGcw3YooQMgA1QA9Stlcli84a2GdH-htBmh8I16N9v0pDpSI52q-t858zM_AeNwuM-jltZUZ4ST0IO9MpWqaZFcF6g/s640/2011-04-25_152154.jpg&quot; style=&quot;cursor: move;&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;比例與螢幕相同，畫質較低480X320。&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgmf2e18h0xZp_lqynnTtEUr_PC2T4xblFFcLHRn1UFsZV_Lym26bnNkwPh_hl0RChUPfxC9XlaHcONpyfVD3LQbLGNKlhY-AdfAxNZQpyweX7W9bOQRID5yIpKPe9gIMa1GU465NBa8rY/s1600/2011-04-25_152252.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;344&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgmf2e18h0xZp_lqynnTtEUr_PC2T4xblFFcLHRn1UFsZV_Lym26bnNkwPh_hl0RChUPfxC9XlaHcONpyfVD3LQbLGNKlhY-AdfAxNZQpyweX7W9bOQRID5yIpKPe9gIMa1GU465NBa8rY/s640/2011-04-25_152252.jpg&quot; style=&quot;cursor: move;&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;因為增加了狀態列，造成螢幕已不符合320X480的比例，螢幕上產生空白處。&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;以上情況沒有更動new EngineOptions(第三個比例參數)&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://onplain-ian.blogspot.com/feeds/6667801392766319482/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://onplain-ian.blogspot.com/2011/06/andengine.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1644975525711680021/posts/default/6667801392766319482'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1644975525711680021/posts/default/6667801392766319482'/><link rel='alternate' type='text/html' href='http://onplain-ian.blogspot.com/2011/06/andengine.html' title='[AndEngine]遊戲場景大小設定'/><author><name>dolphins</name><uri>http://www.blogger.com/profile/08475298453513001125</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjRTaX8VyAyEFrSXENkbJvIveDG8iZ54VbRWpNbaju3QHOMnd_fbDwnY6Hw_W6y3gAwGEo-H654KkCMiqBugDKYt7Rg1gCiuwNGnp3XJJbaOclq_b6iD5QSFaTRAhIQXPzvya59ZHCzWA8/s72-c/2011-04-25_152050.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1644975525711680021.post-3998637631005345123</id><published>2011-06-02T10:09:00.000-07:00</published><updated>2011-06-02T10:17:38.094-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="AndEngine"/><category scheme="http://www.blogger.com/atom/ns#" term="Android"/><title type='text'>[AndEngine]Getting Started Tutorial ll</title><content type='html'>&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;這是將Getting Started Tutorial l 的程式更詳細的解說內部function。&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEilTrpHJ_a-NT5PYyVjWnGC5JcVMZhvxRHcF6Gf17TdFxHO2O_zQxXbLIq01W-SF-6TsVD1jEMr-EPzVQ2ZaxgrvkiazATEY16u8NQH8LByDIANpJBcl_5mfIFBysTJloE0KKXLrI_9CNk/s1600/2011-04-25_150437.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;280&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEilTrpHJ_a-NT5PYyVjWnGC5JcVMZhvxRHcF6Gf17TdFxHO2O_zQxXbLIq01W-SF-6TsVD1jEMr-EPzVQ2ZaxgrvkiazATEY16u8NQH8LByDIANpJBcl_5mfIFBysTJloE0KKXLrI_9CNk/s640/2011-04-25_150437.jpg&quot; style=&quot;cursor: move;&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjP4__gKdBSSiA48oaTB9SW1t5l_6kIowAqS0iwIQts61T23yV9QmP7Bdvj41TgOGf53feM4fa7FZgR1snj78vOFOKcgDSOsA3lY2UOLKcH88BS1Mnd3FNr7pyOZMzKSeCM3OBNnyKtHM0/s1600/2011-04-25_150517.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;232&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjP4__gKdBSSiA48oaTB9SW1t5l_6kIowAqS0iwIQts61T23yV9QmP7Bdvj41TgOGf53feM4fa7FZgR1snj78vOFOKcgDSOsA3lY2UOLKcH88BS1Mnd3FNr7pyOZMzKSeCM3OBNnyKtHM0/s640/2011-04-25_150517.jpg&quot; style=&quot;cursor: move;&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjGBK77jGN5XbRKwVOW7Oz_k0geHKsyGLkRSdtsSdZZt4pRE1wVJnybLuSLdiCjloQkYgy0cjy4b54QoMSKf0KdY7HTeByc9CHvD4f37BygScTyAX-qUkxkpiFDV2vTlwYRIByEnBp4ttk/s1600/2011-04-25_150527.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;232&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjGBK77jGN5XbRKwVOW7Oz_k0geHKsyGLkRSdtsSdZZt4pRE1wVJnybLuSLdiCjloQkYgy0cjy4b54QoMSKf0KdY7HTeByc9CHvD4f37BygScTyAX-qUkxkpiFDV2vTlwYRIByEnBp4ttk/s640/2011-04-25_150527.jpg&quot; style=&quot;cursor: move;&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg6-D-FCgqF3HClcvKtgL6dCVyp7wuvRYAiDSPJzXqJTaiOJNaXnB5IUQy5G0zYkuc6VGrBv3QEllGSimcakak4FXX_REaghsD2aIuVeJtIXPNDk7c6G1wv77iWH2gX4NeM-LDmoaWeHRM/s1600/2011-04-25_150545.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;82&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg6-D-FCgqF3HClcvKtgL6dCVyp7wuvRYAiDSPJzXqJTaiOJNaXnB5IUQy5G0zYkuc6VGrBv3QEllGSimcakak4FXX_REaghsD2aIuVeJtIXPNDk7c6G1wv77iWH2gX4NeM-LDmoaWeHRM/s640/2011-04-25_150545.jpg&quot; style=&quot;cursor: move;&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://onplain-ian.blogspot.com/feeds/3998637631005345123/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://onplain-ian.blogspot.com/2011/06/andenginegetting-started-tutorial-ll.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1644975525711680021/posts/default/3998637631005345123'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1644975525711680021/posts/default/3998637631005345123'/><link rel='alternate' type='text/html' href='http://onplain-ian.blogspot.com/2011/06/andenginegetting-started-tutorial-ll.html' title='[AndEngine]Getting Started Tutorial ll'/><author><name>dolphins</name><uri>http://www.blogger.com/profile/08475298453513001125</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEilTrpHJ_a-NT5PYyVjWnGC5JcVMZhvxRHcF6Gf17TdFxHO2O_zQxXbLIq01W-SF-6TsVD1jEMr-EPzVQ2ZaxgrvkiazATEY16u8NQH8LByDIANpJBcl_5mfIFBysTJloE0KKXLrI_9CNk/s72-c/2011-04-25_150437.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1644975525711680021.post-5353742700884837822</id><published>2011-06-02T10:07:00.001-07:00</published><updated>2011-06-02T10:17:38.095-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="AndEngine"/><category scheme="http://www.blogger.com/atom/ns#" term="Android"/><title type='text'>[AndEngine]Getting Started Tutorial</title><content type='html'>&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;要如何開始用AndEngine開發呢 ? 官方有個教學影片，照著做就沒錯了!&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjEN2T0TF4Ns2tNh8jHWEY5PpqH2bqD40bXYV0xSrjes1-L2Qh9YVpsjgEAgNkEOTeiPjHA1vDD9bKbs4bMjJk3uWxzWEDbP2cycgFQzJ67k6rSkS9B2nXC4fRWXYKoA4dWtSTAnPjh8Aw/s1600/2011-04-17_013634.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;640&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjEN2T0TF4Ns2tNh8jHWEY5PpqH2bqD40bXYV0xSrjes1-L2Qh9YVpsjgEAgNkEOTeiPjHA1vDD9bKbs4bMjJk3uWxzWEDbP2cycgFQzJ67k6rSkS9B2nXC4fRWXYKoA4dWtSTAnPjh8Aw/s640/2011-04-17_013634.jpg&quot; style=&quot;cursor: move;&quot; width=&quot;460&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;同樣，先開一個新專案，因為教學影片用android1.6版本，所以我也先照做。&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhoG8a45HU6Ixd8RtK0YEvhs54TB5qIE4wXdo3txw4B3HZimCtvUjDFDxpEOBBGbZUdzDO3SVOyYaWA53ez-WYJy8lfUVWIFx7DT72ec0j58W12p1vmSwYxGSmOhYXj4tht7Bd1kEG-OC8/s1600/2011-04-17_014120.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;358&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhoG8a45HU6Ixd8RtK0YEvhs54TB5qIE4wXdo3txw4B3HZimCtvUjDFDxpEOBBGbZUdzDO3SVOyYaWA53ez-WYJy8lfUVWIFx7DT72ec0j58W12p1vmSwYxGSmOhYXj4tht7Bd1kEG-OC8/s640/2011-04-17_014120.jpg&quot; style=&quot;cursor: move;&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;專案創建好後，要在裡面開一個新資料夾，叫做lib。&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;&lt;/div&gt;&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiOPTilA3fxZZb-YrA6MhBI9wFkyi4lyg01joQs8-vFhkvaAWrgNTnzmOBs5QxVRQHMjb8oEbWMWHevLyU4hfdVkQgPDSBuOrlddpTITaoemrRs3CyN1RlEYE-hxhudXQ38zlNGxAYj3Cw/s1600/2011-04-17_014307.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;640&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiOPTilA3fxZZb-YrA6MhBI9wFkyi4lyg01joQs8-vFhkvaAWrgNTnzmOBs5QxVRQHMjb8oEbWMWHevLyU4hfdVkQgPDSBuOrlddpTITaoemrRs3CyN1RlEYE-hxhudXQ38zlNGxAYj3Cw/s640/2011-04-17_014307.jpg&quot; style=&quot;cursor: move;&quot; width=&quot;548&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;記得要選創建新資料夾的位置。&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj81JHMcAuFH-wpNGtq8_6UsJAVI74fGJNLw2yuAHSjQol0XkqNCvdgVKlF6W0lUwGLRUyvIIScbpN1k9kpUNpl-E-f2xfKOKBZ0bjGYx6vqKLOpGWuruScAp0BpHNTbUWA61MOIKFpxsA/s1600/2011-04-17_014543.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;344&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj81JHMcAuFH-wpNGtq8_6UsJAVI74fGJNLw2yuAHSjQol0XkqNCvdgVKlF6W0lUwGLRUyvIIScbpN1k9kpUNpl-E-f2xfKOKBZ0bjGYx6vqKLOpGWuruScAp0BpHNTbUWA61MOIKFpxsA/s640/2011-04-17_014543.jpg&quot; style=&quot;cursor: move;&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;之後，要把C:\Users\Lin\我的課業\andrngine\ andengineexamples\lib 內的andengine.jar檔丟進去。&amp;nbsp;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhnjXR8qqybQO53HSrB0_63Wq28baqCekXb095I03ops6jFQGuANNxdee3bEekb9yhZn8NWnetQrkvddzPYOZBho6PAkER75dkMZVFXJmYH_P-YcIN-QRpN0s7fTNBdQ7o2NBIpCYNISzY/s1600/2011-04-17_014817.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;358&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhnjXR8qqybQO53HSrB0_63Wq28baqCekXb095I03ops6jFQGuANNxdee3bEekb9yhZn8NWnetQrkvddzPYOZBho6PAkER75dkMZVFXJmYH_P-YcIN-QRpN0s7fTNBdQ7o2NBIpCYNISzY/s640/2011-04-17_014817.jpg&quot; style=&quot;cursor: move;&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: red;&quot;&gt;再來，這點很重要!!將你剛剛丟進去的andengine.jar加入倒Build Path內，這樣編譯時才會使用到他。&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiFRiyraVg2PLtYdKjWh4IIFh9xfwwfmFcEuRnWjfRN7cTzGPSG9Idj0Y9-0O6AU1dDwC7_rWNc53lPeRPF4-3ruLnl895iWYWnDQHK3nsCGDVpkrpdTWdDWNSm6vRrprmKqFRCETyA7iI/s1600/2011-04-17_015026.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;640&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiFRiyraVg2PLtYdKjWh4IIFh9xfwwfmFcEuRnWjfRN7cTzGPSG9Idj0Y9-0O6AU1dDwC7_rWNc53lPeRPF4-3ruLnl895iWYWnDQHK3nsCGDVpkrpdTWdDWNSm6vRrprmKqFRCETyA7iI/s640/2011-04-17_015026.jpg&quot; style=&quot;cursor: move;&quot; width=&quot;332&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;之後你就會發現專案裡多了一個Referenced Libraries資料夾。&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiWvbtkncljOjzS69erTFKsUcEYyIWzp1-9ttzIYa2ReGVdJSwVfbT0rcpyxVpUcjBH1cEUPigbxXPEcCIJ26d1rRTaJr3_pvgp_0xUftxUgCJb5z12zbjy3HC9xXO9WjmYDqr5AlgUalo/s1600/2011-04-17_141527.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;640&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiWvbtkncljOjzS69erTFKsUcEYyIWzp1-9ttzIYa2ReGVdJSwVfbT0rcpyxVpUcjBH1cEUPigbxXPEcCIJ26d1rRTaJr3_pvgp_0xUftxUgCJb5z12zbjy3HC9xXO9WjmYDqr5AlgUalo/s640/2011-04-17_141527.jpg&quot; style=&quot;cursor: move;&quot; width=&quot;304&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;因為是OpenSource的關係，你也可以打開andengine.jar 的原始碼來看。&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgLAB9rD6APKlBmiLl5cgF_KvQG2haTmkezI5C6glihfPjBflUQhWbErDJYY6HGArghcGEEXHXP3zaYZs97GPL6VpA0wNs9CAJWNKzHFpCFvuRuMI3kQ3L9SOUy5FkQ91_pgw4PCfMh87Y/s1600/2011-04-17_114106.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;262&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgLAB9rD6APKlBmiLl5cgF_KvQG2haTmkezI5C6glihfPjBflUQhWbErDJYY6HGArghcGEEXHXP3zaYZs97GPL6VpA0wNs9CAJWNKzHFpCFvuRuMI3kQ3L9SOUy5FkQ91_pgw4PCfMh87Y/s640/2011-04-17_114106.jpg&quot; style=&quot;cursor: move;&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;要開始寫第一個程式嚕。&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;首先先繼承 BaseGameActivity，&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjf8KANNCpVPAR7JbAuHQ5l-Ctn_PDNF2pGjs7syxETQxvQFTOs1u_ymEraggH6aqB4mIcCQFB7ehRAZSFTCQH86jY3XCjFeHqfh-etHzFf_gIXpASEgCtVBJdsm3NGHQzeYgsEohro38M/s1600/2011-04-17_114238.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;260&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjf8KANNCpVPAR7JbAuHQ5l-Ctn_PDNF2pGjs7syxETQxvQFTOs1u_ymEraggH6aqB4mIcCQFB7ehRAZSFTCQH86jY3XCjFeHqfh-etHzFf_gIXpASEgCtVBJdsm3NGHQzeYgsEohro38M/s640/2011-04-17_114238.jpg&quot; style=&quot;cursor: move;&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;會因為BaseGameActivity為抽象類別(Abstract)，所以要實作一些抽象方法，選擇第一個。第二個是要讓這個class變為抽象類別，這就不是我們現在要做的。&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh2F4LlfyQEbuSzVHFqk3NxtiuvbnKeQwz0HAti-jOE-rdC2o2CEu8aW12KsZ_Vdc5WNVQYp4WzHISkxbNnYrAmtrDc594EvQ-DMZdGpTJVxFK5iXPOLK5QOsVL58rbX4HZ2XyHe2gn5aU/s1600/2011-04-17_114400.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;304&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh2F4LlfyQEbuSzVHFqk3NxtiuvbnKeQwz0HAti-jOE-rdC2o2CEu8aW12KsZ_Vdc5WNVQYp4WzHISkxbNnYrAmtrDc594EvQ-DMZdGpTJVxFK5iXPOLK5QOsVL58rbX4HZ2XyHe2gn5aU/s640/2011-04-17_114400.jpg&quot; style=&quot;cursor: move;&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;會跑出你必須要完成的幾個function。&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;那BaseGameActivity究竟是什麼，可以讓我們當成Activity使用呢?&amp;nbsp;我們打開BaseGameActivity.class來看一下到底是怎麼回是好了!!&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj6fbmVRBGTSXD4yr9KHPMigjdJPc0LMLGJ3xmkhhp7qBZcjPSDrOhy-3owmvflvhcDpgw5Mk1Ju7FRMS5dOQ22FWiat7HQHAX5J0JXRZI6umwcMqvU2JGhOIM_8pCQBofdhyphenhyphenoHy8hA570/s1600/2011-04-17_144801.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;96&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj6fbmVRBGTSXD4yr9KHPMigjdJPc0LMLGJ3xmkhhp7qBZcjPSDrOhy-3owmvflvhcDpgw5Mk1Ju7FRMS5dOQ22FWiat7HQHAX5J0JXRZI6umwcMqvU2JGhOIM_8pCQBofdhyphenhyphenoHy8hA570/s640/2011-04-17_144801.jpg&quot; style=&quot;cursor: move;&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;展開後你會發現，其實他繼承了BaseActivity，我們就繼續追朔。&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiuGz7M2AfStm3m3lysY6pn69VKAI_52hrR43Hdl1srcCeCKY3aM4_pGEHYmmUm33iiJkD3TUoa2h3FEK9r_uCaWnDbprENgoRdn9UzudO-qyo95w_Ee5xTL5IuimJ5_kEshT98reOV7Os/s1600/2011-04-17_144855.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;100&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiuGz7M2AfStm3m3lysY6pn69VKAI_52hrR43Hdl1srcCeCKY3aM4_pGEHYmmUm33iiJkD3TUoa2h3FEK9r_uCaWnDbprENgoRdn9UzudO-qyo95w_Ee5xTL5IuimJ5_kEshT98reOV7Os/s640/2011-04-17_144855.jpg&quot; style=&quot;cursor: move;&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;果然，BaseActivity繼承了Android api 本身所提供的Activity，所以才可以利用BaseGameActivity來開一個Android的活動。&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;我們再回到BaseGameActivity.class，看看為什麼會有那麼多abstract function要實作。&lt;/div&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;首先要釐清一點，就是abstract類別是不能夠產生物件的，abstract類別裡的的抽象方法，也就是當abstract類別被繼承時，準備給子類別實作的，沒有實做就無法使用。&lt;/div&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;那我們就來看看&lt;/div&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;abstract方法是藏在哪裡?&lt;/div&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiTgny2Izp5LXFV7eedj6Jl1jCcw7j_s5VvLqNkqJV9znrnGg-V5LPzbTc2fz9Ww0dHhcNaFIRg0B0hrAFtiT1_uXVMeCvDy2qhMXNQP-NutkR7zkGft4mhX0ryZj4oHVYi3FKcohgOMCM/s1600/2011-04-17_144557.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;384&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiTgny2Izp5LXFV7eedj6Jl1jCcw7j_s5VvLqNkqJV9znrnGg-V5LPzbTc2fz9Ww0dHhcNaFIRg0B0hrAFtiT1_uXVMeCvDy2qhMXNQP-NutkR7zkGft4mhX0ryZj4oHVYi3FKcohgOMCM/s640/2011-04-17_144557.jpg&quot; style=&quot;cursor: move;&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;找遍BaseGameActivity.class都沒看到，我想就是跟implements有關吧!!&lt;/div&gt;&lt;/div&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhOgTQccz6gM5H4yhwXd7QMJe3lxiNNqZxD7TpKTzjzVhQY_cD0ou7l2Q46Msh7AkYrHYy-7Wjba2BP0AsuxYY_Gv5CmShyphenhyphenlY9LAt-hXnFk7MJIo782ynkiwoZ1sQWkPeXVJzEm7d5Hw_E/s1600/2011-04-17_145942.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;382&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhOgTQccz6gM5H4yhwXd7QMJe3lxiNNqZxD7TpKTzjzVhQY_cD0ou7l2Q46Msh7AkYrHYy-7Wjba2BP0AsuxYY_Gv5CmShyphenhyphenlY9LAt-hXnFk7MJIo782ynkiwoZ1sQWkPeXVJzEm7d5Hw_E/s640/2011-04-17_145942.jpg&quot; style=&quot;cursor: move;&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;果不其然，發現我們要實作的function就在IGameInterface裡面，&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;其餘不用實作的，是因為在BaseGameActivity.class時就搞定了!!&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;說道Interface跟Abstract，其實兩個有點像，但是在JAVA內，不允許多重繼承，但允許可以實作多個Interface，詳細的內容，在相關資料內，我有放入兩篇教學。&lt;/div&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;/div&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiIkoeBrHwvBs-p_3FqzClIfmMFqVkHNrFaAD6eez7CN4IgPyPwgN3XJbYM1DQRa8foOCZItc_n9ty2Mm6a0a6MlmjQnjtQ7WU4JJ7L8g6-8u01yIjTe_5NNCou6JpNWe3dYiYY2HbwUmY/s1600/2011-04-17_153801.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;378&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiIkoeBrHwvBs-p_3FqzClIfmMFqVkHNrFaAD6eez7CN4IgPyPwgN3XJbYM1DQRa8foOCZItc_n9ty2Mm6a0a6MlmjQnjtQ7WU4JJ7L8g6-8u01yIjTe_5NNCou6JpNWe3dYiYY2HbwUmY/s640/2011-04-17_153801.jpg&quot; style=&quot;cursor: move;&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;我們先來摳SpriteExample的範例來跑跑看。複製主程式的部分過去!&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg_X2XhHPpqgF7Xw5pxRKv6mhVp0vsO0qqX1cc6tsRRvlvaOgWJdPpyef3jJmDyejCowif-H2YZgn3tB_YgJfxeubeNK99RdNLcs8y308FK2bdLk_WvQQZtnvJn0LldhUmOSFzJgYhjdGM/s1600/2011-04-17_155023.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;364&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg_X2XhHPpqgF7Xw5pxRKv6mhVp0vsO0qqX1cc6tsRRvlvaOgWJdPpyef3jJmDyejCowif-H2YZgn3tB_YgJfxeubeNK99RdNLcs8y308FK2bdLk_WvQQZtnvJn0LldhUmOSFzJgYhjdGM/s640/2011-04-17_155023.jpg&quot; style=&quot;cursor: move;&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;把錯誤的部分都修正，都只需要import class，Camera的部分要特別選AndEngine提供的class。其餘的都只有一種可選。&amp;nbsp;&lt;/div&gt;&lt;/div&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj9xXTwFtwf1qZ5iESMynlUhQejOAr8vAWWrQbauVrKpwKrA9-Ik2UB__6G7qMtY3utRmWbxWe_HuaT5ZTKOA-dQeDJrI-x7HM4YaMWi7AZq0SNzmAk8reWvLlGKJxUVJQDQcCvPCbUI6Q/s1600/2011-04-17_155441.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;358&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj9xXTwFtwf1qZ5iESMynlUhQejOAr8vAWWrQbauVrKpwKrA9-Ik2UB__6G7qMtY3utRmWbxWe_HuaT5ZTKOA-dQeDJrI-x7HM4YaMWi7AZq0SNzmAk8reWvLlGKJxUVJQDQcCvPCbUI6Q/s640/2011-04-17_155441.jpg&quot; style=&quot;cursor: move;&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;都沒有錯誤後，要把用到的圖給匯入，在assets的資料夾裡面開一個fgx的資料夾，放入圖片。&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;assets裡面的檔案，不會在R.java產生關聯檔，要研究看看是怎麼用裡面的圖的!!&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiWi5d4ljsTy7vlP4dnw9KQ9w0GipKuKzHeG-hd9I5qFDCRcAME1pIwYNSC2Eby-AKsFnmSdbnu3n2KrrueYZGXH_Cilv-eFQxVXpTMMMwqz89vH9w_276qUjSa_AzK9i1D1dt26X61qkQ/s1600/2011-04-17_155901.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;308&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiWi5d4ljsTy7vlP4dnw9KQ9w0GipKuKzHeG-hd9I5qFDCRcAME1pIwYNSC2Eby-AKsFnmSdbnu3n2KrrueYZGXH_Cilv-eFQxVXpTMMMwqz89vH9w_276qUjSa_AzK9i1D1dt26X61qkQ/s640/2011-04-17_155901.jpg&quot; style=&quot;cursor: move;&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;還需要在androidmanifest.xml裡面多加一行。&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: arial, sans-serif;&quot;&gt;&lt;span class=&quot;jd-tagtitle&quot;&gt;Constant Value:&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: arial, sans-serif;&quot;&gt;&quot;android.permission.WAKE_LOCK&quot;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #333333; font-family: arial, sans-serif; font-size: 13px;&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;table class=&quot;jd-sumtable&quot; id=&quot;constants&quot; style=&quot;border-bottom-width: 0px; border-collapse: collapse; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; empty-cells: show; font-size: 0.9em; margin-bottom: 1em; margin-left: 1em; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; width: 1015px;&quot;&gt;&lt;tbody style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;tr class=&quot; api apilevel-1&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;td class=&quot;jd-typecol&quot; style=&quot;background-color: inherit; border-bottom-width: 1px; border-color: initial; border-left-color: rgb(204, 204, 204); border-left-width: 1px; border-right-color: rgb(204, 204, 204); border-right-width: 1px; border-style: initial; border-top-color: rgb(204, 204, 204); border-top-style: solid; border-top-width: 1px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 6px; padding-left: 12px; padding-right: 12px; padding-top: 6px; text-align: right; vertical-align: top;&quot;&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;a href=&quot;http://developer.android.com/reference/java/lang/String.html&quot; style=&quot;color: #006699; text-decoration: none;&quot;&gt;String&lt;/a&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;jd-linkcol&quot; style=&quot;background-color: inherit; border-bottom-width: 1px; border-color: initial; border-left-color: rgb(204, 204, 204); border-left-width: 1px; border-right-color: rgb(204, 204, 204); border-right-width: 1px; border-style: initial; border-top-color: rgb(204, 204, 204); border-top-style: solid; border-top-width: 1px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 6px; padding-left: 12px; padding-right: 12px; padding-top: 6px; text-align: left; vertical-align: top;&quot;&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;a href=&quot;http://developer.android.com/reference/android/Manifest.permission.html#WAKE_LOCK&quot; style=&quot;color: #006699; text-decoration: none;&quot;&gt;WAKE_LOCK&lt;/a&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;jd-descrcol&quot; style=&quot;background-color: inherit; border-bottom-width: 1px; border-color: initial; border-left-color: rgb(204, 204, 204); border-left-width: 1px; border-right-color: rgb(204, 204, 204); border-right-width: 1px; border-style: initial; border-top-color: rgb(204, 204, 204); border-top-style: solid; border-top-width: 1px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 6px; padding-left: 12px; padding-right: 12px; padding-top: 6px; text-align: left; vertical-align: top;&quot; width=&quot;100%&quot;&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;Allows using PowerManager WakeLocks to keep processor from sleeping or screen from dimming&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;允許利用PowerManager(電源管理)的WakeLocks&lt;s&gt;去阻止處理器不要睡眠或是螢幕調暗。&lt;/s&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;目前這說法先保留，有另外一種說法是&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: verdana, sans-serif; line-height: 21px;&quot;&gt;考慮到持續雙線程運行電量消耗較大的緣故，AndEngine預設情況下要求用戶啟動PowerManager進行電源管理。&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;官方所有user-permission文件:&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;&lt;a href=&quot;http://developer.android.com/reference/android/Manifest.permission.html#WAKE_LOCK&quot;&gt;http://developer.android.com/reference/android/Manifest.permission.html#WAKE_LOCK&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;大陸user-permission翻譯文件:&lt;a href=&quot;http://android.tgbus.com/Android/tutorial/201103/346178.shtml&quot;&gt;http://android.tgbus.com/Android/tutorial/201103/346178.shtml&lt;/a&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjHkPuhFeuQ-Hf7l2DWx_ar9wynaQPOe4agKsQmQgHJb0q7jwC0h4fBYVpWZv6B_lVCRg4pdHSFjw6LuJeSh33_iqpOi73u608ast6jR6RlNyTh2bT-3hVOxj5Jn8-YFMfFzdEaMQj3XqA/s1600/2011-04-17_155938.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;368&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjHkPuhFeuQ-Hf7l2DWx_ar9wynaQPOe4agKsQmQgHJb0q7jwC0h4fBYVpWZv6B_lVCRg4pdHSFjw6LuJeSh33_iqpOi73u608ast6jR6RlNyTh2bT-3hVOxj5Jn8-YFMfFzdEaMQj3XqA/s640/2011-04-17_155938.jpg&quot; style=&quot;cursor: move;&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;大功告成嚕!可以跑了~&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjC5q2VcD65wITpTNd8EycffPfZYGh74-8HrxVvMc8bGjT6pNHIDfevApdPkszsc2gsAJ-M6xLqppf3QVv7xqIMaQ5XbixBZavGbq-GWITtLtT8o8JWTrLg9hcf4GlaTP3l096hk0jSaPU/s1600/2011-04-17_160432.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;450&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjC5q2VcD65wITpTNd8EycffPfZYGh74-8HrxVvMc8bGjT6pNHIDfevApdPkszsc2gsAJ-M6xLqppf3QVv7xqIMaQ5XbixBZavGbq-GWITtLtT8o8JWTrLg9hcf4GlaTP3l096hk0jSaPU/s640/2011-04-17_160432.jpg&quot; style=&quot;cursor: move;&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;成功!!!&lt;/div&gt;&lt;/div&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;參考資料:&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;a href=&quot;http://www.andengine.org/blog/2010/06/andengine-getting-started-tutorial-video/&quot;&gt;http://www.andengine.org/blog/2010/06/andengine-getting-started-tutorial-video/&lt;/a&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: serif;&quot;&gt;「抽象類別」（Abstract class）&lt;/span&gt;&lt;a href=&quot;http://caterpillar.onlyfun.net/Gossip/JavaGossip-V1/AbstractClass.htm&quot;&gt;http://caterpillar.onlyfun.net/Gossip/JavaGossip-V1/AbstractClass.htm&lt;/a&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;interface 型態:&lt;a href=&quot;http://caterpillar.onlyfun.net/Gossip/JavaGossip-V1/InterfaceType.htm&quot;&gt;http://caterpillar.onlyfun.net/Gossip/JavaGossip-V1/InterfaceType.htm&lt;/a&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://onplain-ian.blogspot.com/feeds/5353742700884837822/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://onplain-ian.blogspot.com/2011/06/andenginegetting-started-tutorial.html#comment-form' title='1 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1644975525711680021/posts/default/5353742700884837822'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1644975525711680021/posts/default/5353742700884837822'/><link rel='alternate' type='text/html' href='http://onplain-ian.blogspot.com/2011/06/andenginegetting-started-tutorial.html' title='[AndEngine]Getting Started Tutorial'/><author><name>dolphins</name><uri>http://www.blogger.com/profile/08475298453513001125</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjEN2T0TF4Ns2tNh8jHWEY5PpqH2bqD40bXYV0xSrjes1-L2Qh9YVpsjgEAgNkEOTeiPjHA1vDD9bKbs4bMjJk3uWxzWEDbP2cycgFQzJ67k6rSkS9B2nXC4fRWXYKoA4dWtSTAnPjh8Aw/s72-c/2011-04-17_013634.jpg" height="72" width="72"/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1644975525711680021.post-8498257975182721516</id><published>2011-06-02T10:06:00.001-07:00</published><updated>2011-06-02T10:17:38.095-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="AndEngine"/><category scheme="http://www.blogger.com/atom/ns#" term="Android"/><title type='text'>[AndEngine]AndEngine Source Code released!</title><content type='html'>&lt;div style=&quot;font-family: Arial, Verdana, sans-serif; font: normal normal normal 90%/normal Arial, Verdana, sans-serif; letter-spacing: 0px; line-height: 1.3;&quot;&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;Hello&amp;nbsp;&lt;strong&gt;Community&lt;/strong&gt;,&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style=&quot;font-family: Arial, Verdana, sans-serif; font: normal normal normal 90%/normal Arial, Verdana, sans-serif; letter-spacing: 0px; line-height: 1.3;&quot;&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;yesterday I’ve finally been pushing the Source Code of AndEngine to Google Code. Check it out here:&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style=&quot;font-family: Arial, Verdana, sans-serif; font: normal normal normal 90%/normal Arial, Verdana, sans-serif; letter-spacing: 0px; line-height: 1.3;&quot;&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange; font-size: small;&quot;&gt;在昨天，我已經把AndEngine最終版本的Source Code放上Google Code。看看這裡:&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;blockquote style=&quot;background-attachment: initial; background-clip: initial; background-color: initial; background-image: url(http://www.andengine.org/blog/wp-content/themes/stardust/images/quote.png); background-origin: initial; background-repeat: no-repeat no-repeat; border-bottom-color: rgb(221, 221, 221); border-bottom-style: double; border-bottom-width: 3px; border-top-color: rgb(221, 221, 221); border-top-style: double; border-top-width: 3px; font-family: Arial, Verdana, sans-serif; margin-left: 1.5em; padding-bottom: 0px; padding-left: 40px; padding-right: 0px; padding-top: 1px;&quot;&gt;&lt;ul style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;li style=&quot;background-attachment: initial; background-clip: initial; background-color: initial; background-image: url(http://www.andengine.org/blog/wp-content/themes/stardust/images/list.png); background-origin: initial; background-position: 0px 4px; background-repeat: no-repeat no-repeat; font: normal normal normal 90%/normal Arial, Verdana, sans-serif; letter-spacing: 0px; list-style-image: initial; list-style-position: initial; list-style-type: none; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0.2em; padding-left: 20px; padding-right: 20px; padding-top: 0.2em;&quot;&gt;&lt;a href=&quot;http://code.google.com/p/andengine/&quot; style=&quot;color: #56a756; text-decoration: underline;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;http://code.google.com/p/andengine/&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;/blockquote&gt;&lt;div style=&quot;font-family: Arial, Verdana, sans-serif; font: normal normal normal 90%/normal Arial, Verdana, sans-serif; letter-spacing: 0px; line-height: 1.3;&quot;&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;So if you want to get a first view on how to make games with AndEngine, you should take a look at this repository:&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style=&quot;font-family: Arial, Verdana, sans-serif; font: normal normal normal 90%/normal Arial, Verdana, sans-serif; letter-spacing: 0px; line-height: 1.3;&quot;&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange; font-size: small;&quot;&gt;所以，如果你想要知道如何利用AndEngine製作遊戲，你應該看一下這個知識庫。&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;blockquote style=&quot;background-attachment: initial; background-clip: initial; background-color: initial; background-image: url(http://www.andengine.org/blog/wp-content/themes/stardust/images/quote.png); background-origin: initial; background-repeat: no-repeat no-repeat; border-bottom-color: rgb(221, 221, 221); border-bottom-style: double; border-bottom-width: 3px; border-top-color: rgb(221, 221, 221); border-top-style: double; border-top-width: 3px; font-family: Arial, Verdana, sans-serif; margin-left: 1.5em; padding-bottom: 0px; padding-left: 40px; padding-right: 0px; padding-top: 1px;&quot;&gt;&lt;ul style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;li style=&quot;background-attachment: initial; background-clip: initial; background-color: initial; background-image: url(http://www.andengine.org/blog/wp-content/themes/stardust/images/list.png); background-origin: initial; background-position: 0px 4px; background-repeat: no-repeat no-repeat; font: normal normal normal 90%/normal Arial, Verdana, sans-serif; letter-spacing: 0px; list-style-image: initial; list-style-position: initial; list-style-type: none; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0.2em; padding-left: 20px; padding-right: 20px; padding-top: 0.2em;&quot;&gt;&lt;a href=&quot;http://code.google.com/p/andengineexamples/&quot; rel=&quot;nofollow&quot; style=&quot;color: #56a756; text-decoration: underline;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;AndEngine Examples&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;/blockquote&gt;&lt;div style=&quot;font-family: Arial, Verdana, sans-serif; font: normal normal normal 90%/normal Arial, Verdana, sans-serif; letter-spacing: 0px; line-height: 1.3;&quot;&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;Additionally I pushed out (most of) the extensions that I’m developing:&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style=&quot;font-family: Arial, Verdana, sans-serif; font: normal normal normal 90%/normal Arial, Verdana, sans-serif; letter-spacing: 0px; line-height: 1.3;&quot;&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange; font-size: small;&quot;&gt;除此之外，我也放上大部分我所開發的的擴充軟體。&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;blockquote style=&quot;background-attachment: initial; background-clip: initial; background-color: initial; background-image: url(http://www.andengine.org/blog/wp-content/themes/stardust/images/quote.png); background-origin: initial; background-repeat: no-repeat no-repeat; border-bottom-color: rgb(221, 221, 221); border-bottom-style: double; border-bottom-width: 3px; border-top-color: rgb(221, 221, 221); border-top-style: double; border-top-width: 3px; font-family: Arial, Verdana, sans-serif; margin-left: 1.5em; padding-bottom: 0px; padding-left: 40px; padding-right: 0px; padding-top: 1px;&quot;&gt;&lt;ul style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;li style=&quot;background-attachment: initial; background-clip: initial; background-color: initial; background-image: url(http://www.andengine.org/blog/wp-content/themes/stardust/images/list.png); background-origin: initial; background-position: 0px 4px; background-repeat: no-repeat no-repeat; font: normal normal normal 90%/normal Arial, Verdana, sans-serif; letter-spacing: 0px; list-style-image: initial; list-style-position: initial; list-style-type: none; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0.2em; padding-left: 20px; padding-right: 20px; padding-top: 0.2em;&quot;&gt;&lt;a href=&quot;http://code.google.com/p/andenginephysicsbox2dextension/&quot; rel=&quot;nofollow&quot; style=&quot;color: #56a756; text-decoration: underline;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;AndEngine Physics Box2D Extension&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li style=&quot;background-attachment: initial; background-clip: initial; background-color: initial; background-image: url(http://www.andengine.org/blog/wp-content/themes/stardust/images/list.png); background-origin: initial; background-position: 0px 4px; background-repeat: no-repeat no-repeat; font: normal normal normal 90%/normal Arial, Verdana, sans-serif; letter-spacing: 0px; list-style-image: initial; list-style-position: initial; list-style-type: none; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0.2em; padding-left: 20px; padding-right: 20px; padding-top: 0.2em;&quot;&gt;&lt;a href=&quot;http://code.google.com/p/andenginelivewallpaperextension/&quot; rel=&quot;nofollow&quot; style=&quot;color: #56a756; text-decoration: underline;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;AndEngine Live-Wallpaper Extension&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li style=&quot;background-attachment: initial; background-clip: initial; background-color: initial; background-image: url(http://www.andengine.org/blog/wp-content/themes/stardust/images/list.png); background-origin: initial; background-position: 0px 4px; background-repeat: no-repeat no-repeat; font: normal normal normal 90%/normal Arial, Verdana, sans-serif; letter-spacing: 0px; list-style-image: initial; list-style-position: initial; list-style-type: none; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0.2em; padding-left: 20px; padding-right: 20px; padding-top: 0.2em;&quot;&gt;&lt;a href=&quot;http://code.google.com/p/andengineaugmentedrealityextension/&quot; rel=&quot;nofollow&quot; style=&quot;color: #56a756; text-decoration: underline;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;AndEngine Augmented-Reality Extension&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;/blockquote&gt;&lt;div style=&quot;font-family: Arial, Verdana, sans-serif; font: normal normal normal 90%/normal Arial, Verdana, sans-serif; letter-spacing: 0px; line-height: 1.3;&quot;&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;You might wonder why did I choose&amp;nbsp;&lt;strong&gt;Mercurial&lt;/strong&gt;&amp;nbsp;(&lt;strong&gt;hg&lt;/strong&gt;) over&amp;nbsp;&lt;strong&gt;git&lt;/strong&gt;&amp;nbsp;and&amp;nbsp;&lt;strong&gt;svn&lt;/strong&gt;&amp;nbsp;?&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;ol style=&quot;font-family: Arial, Verdana, sans-serif; margin-bottom: 0px; margin-left: 25px; margin-right: 25px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;li style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; font: normal normal normal 90%/normal Arial, Verdana, sans-serif; letter-spacing: 0px; list-style-image: initial; list-style-position: initial; list-style-type: decimal; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0.2em; padding-left: 0px; padding-right: 0px; padding-top: 0.2em;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;&lt;strong&gt;svn&lt;/strong&gt;&amp;nbsp;might be well known, but it can easily be broken.&lt;/span&gt;&lt;/li&gt;
&lt;li style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; font: normal normal normal 90%/normal Arial, Verdana, sans-serif; letter-spacing: 0px; list-style-image: initial; list-style-position: initial; list-style-type: decimal; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0.2em; padding-left: 0px; padding-right: 0px; padding-top: 0.2em;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;&lt;strong&gt;git&lt;/strong&gt;&amp;nbsp;is not supported by Google Code, also the Windows support is worse than for&amp;nbsp;&lt;strong&gt;hg&lt;/strong&gt;.&lt;/span&gt;&lt;/li&gt;
&lt;li style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; font: normal normal normal 90%/normal Arial, Verdana, sans-serif; letter-spacing: 0px; list-style-image: initial; list-style-position: initial; list-style-type: decimal; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0.2em; padding-left: 0px; padding-right: 0px; padding-top: 0.2em;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;&lt;strong&gt;hg&lt;/strong&gt;&amp;nbsp;is a well working Distributed Version Control System, with good Windows support and it works with Google Code.&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;&lt;div style=&quot;font-family: Arial, Verdana, sans-serif; font: normal normal normal 90%/normal Arial, Verdana, sans-serif; letter-spacing: 0px; line-height: 1.3;&quot;&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;All you need to&amp;nbsp;&lt;em&gt;&lt;strong&gt;pull&lt;/strong&gt;&lt;/em&gt;&amp;nbsp;using&amp;nbsp;&lt;strong&gt;hg&lt;/strong&gt;&amp;nbsp;is the&lt;a href=&quot;http://javaforge.com/project/HGE&quot; style=&quot;color: #56a756; text-decoration: underline;&quot; title=&quot;HGEclipse / MercurialEclipse&quot;&gt;&amp;nbsp;HGEclipse / MercurialEclipse&lt;/a&gt;&amp;nbsp;-Plugin for Eclipse.&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style=&quot;font-family: Arial, Verdana, sans-serif; font: normal normal normal 90%/normal Arial, Verdana, sans-serif; letter-spacing: 0px; line-height: 1.3;&quot;&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style=&quot;font-family: Arial, Verdana, sans-serif; font: normal normal normal 90%/normal Arial, Verdana, sans-serif; letter-spacing: 0px; line-height: 1.3;&quot;&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange; font-size: small;&quot;&gt;你可能會想要知道為什麼我選擇&lt;strong&gt;Mercurial&lt;/strong&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Verdana, sans-serif; line-height: 18px;&quot;&gt;&amp;nbsp;(&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Verdana, sans-serif; line-height: 18px;&quot;&gt;&lt;strong&gt;hg&lt;/strong&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Verdana, sans-serif; line-height: 18px;&quot;&gt;)而不是&lt;/span&gt;&amp;nbsp;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Verdana, sans-serif; line-height: 18px;&quot;&gt;git和&lt;/span&gt;svn呢?&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style=&quot;font-family: Arial, Verdana, sans-serif; font: normal normal normal 90%/normal Arial, Verdana, sans-serif; letter-spacing: 0px; line-height: 1.3;&quot;&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange; font-size: small;&quot;&gt;1.&lt;b&gt;svn&lt;/b&gt;可能是眾所皆知的，但是他很容易有狀況。&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style=&quot;font-family: Arial, Verdana, sans-serif; font: normal normal normal 90%/normal Arial, Verdana, sans-serif; letter-spacing: 0px; line-height: 1.3;&quot;&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange; font-size: small;&quot;&gt;2.&lt;b&gt;git&lt;/b&gt;不被Google Code所支持，Windows對他的支援度比起hg也較差。&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style=&quot;font-family: Arial, Verdana, sans-serif; font: normal normal normal 90%/normal Arial, Verdana, sans-serif; letter-spacing: 0px; line-height: 1.3;&quot;&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange; font-size: small;&quot;&gt;3.&lt;b&gt;hg&lt;/b&gt;&amp;nbsp;是一個運作很不錯的&lt;span class=&quot;Apple-style-span&quot; style=&quot;line-height: normal;&quot;&gt;Distributed Version Control System,對Windows支援良好，也可以在Google Code上運作。&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style=&quot;font-family: Arial, Verdana, sans-serif; font: normal normal normal 90%/normal Arial, Verdana, sans-serif; letter-spacing: 0px;&quot;&gt;&lt;div style=&quot;line-height: 1.3;&quot;&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small; line-height: normal;&quot;&gt;你只需要利用&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small; line-height: 20px;&quot;&gt;&lt;a href=&quot;http://javaforge.com/project/HGE&quot; style=&quot;text-decoration: underline;&quot; title=&quot;HGEclipse / MercurialEclipse&quot;&gt;HGEclipse / MercurialEclipse&lt;/a&gt;這個&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small; line-height: 20px;&quot;&gt;hg&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small; line-height: 20px;&quot;&gt;&amp;nbsp;Eclipse Plugin來pull 。&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style=&quot;line-height: 1.3;&quot;&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small; line-height: 20px;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style=&quot;font-family: Arial, Verdana, sans-serif; font: normal normal normal 90%/normal Arial, Verdana, sans-serif; letter-spacing: 0px; line-height: 1.3;&quot;&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;Best Regards,&lt;br /&gt;
Nicolas&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style=&quot;font-family: Arial, Verdana, sans-serif; font: normal normal normal 90%/normal Arial, Verdana, sans-serif; letter-spacing: 0px; line-height: 1.3;&quot;&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style=&quot;font-family: Arial, Verdana, sans-serif; font: normal normal normal 90%/normal Arial, Verdana, sans-serif; letter-spacing: 0px; line-height: 1.3;&quot;&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;參考資料:&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style=&quot;font-family: Arial, Verdana, sans-serif; font: normal normal normal 90%/normal Arial, Verdana, sans-serif; letter-spacing: 0px; line-height: 1.3;&quot;&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;&lt;a href=&quot;http://www.andengine.org/blog/2010/06/andengine-source-code-released/&quot;&gt;http://www.andengine.org/blog/2010/06/andengine-source-code-released/&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;DVCS(Disrubuted Version Control System)介紹&lt;a href=&quot;http://scmteamwork.blogspot.com/2009/05/dvcsdistributed-version-control-system.html&quot;&gt;http://scmteamwork.blogspot.com/2009/05/dvcsdistributed-version-control-system.html&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://onplain-ian.blogspot.com/feeds/8498257975182721516/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://onplain-ian.blogspot.com/2011/06/andengineandengine-source-code-released.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1644975525711680021/posts/default/8498257975182721516'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1644975525711680021/posts/default/8498257975182721516'/><link rel='alternate' type='text/html' href='http://onplain-ian.blogspot.com/2011/06/andengineandengine-source-code-released.html' title='[AndEngine]AndEngine Source Code released!'/><author><name>dolphins</name><uri>http://www.blogger.com/profile/08475298453513001125</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1644975525711680021.post-3264952565971409467</id><published>2011-06-02T10:05:00.002-07:00</published><updated>2011-06-02T10:17:38.095-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="AndEngine"/><category scheme="http://www.blogger.com/atom/ns#" term="Android"/><title type='text'>[AndEngine]Hello world! Hello AndEngine!</title><content type='html'>&lt;div style=&quot;font-family: Arial, Verdana, sans-serif; font: normal normal normal 90%/normal Arial, Verdana, sans-serif; letter-spacing: 0px; line-height: 1.3;&quot;&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;Hello&amp;nbsp;&lt;strong&gt;Community&lt;/strong&gt;,&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style=&quot;font-family: Arial, Verdana, sans-serif; font: normal normal normal 90%/normal Arial, Verdana, sans-serif; letter-spacing: 0px; line-height: 1.3;&quot;&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;I think its kind of obvious that this blog will cover the development of….&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style=&quot;font-family: Arial, Verdana, sans-serif; font: normal normal normal 90%/normal Arial, Verdana, sans-serif; letter-spacing: 0px; line-height: 1.3;&quot;&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;img alt=&quot;AndEngine Badge&quot; class=&quot;aligncenter size-full wp-image-11&quot; height=&quot;128&quot; src=&quot;http://www.andengine.org/blog/wp-content/uploads/2010/06/badge.png&quot; style=&quot;cursor: move; display: block; margin-left: auto; margin-right: auto;&quot; title=&quot;AndEngine Badge&quot; width=&quot;128&quot; /&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style=&quot;font-family: Arial, Verdana, sans-serif; font: normal normal normal 90%/normal Arial, Verdana, sans-serif; letter-spacing: 0px; line-height: 1.3; text-align: center;&quot;&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;strong&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;AndEngine – Android 2D OpenGL Game Engine.&lt;/span&gt;&lt;/strong&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style=&quot;font-family: Arial, Verdana, sans-serif; font: normal normal normal 90%/normal Arial, Verdana, sans-serif; letter-spacing: 0px; line-height: 1.3;&quot;&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;For now I’ve only set up&amp;nbsp;&lt;strong&gt;this&lt;/strong&gt;&amp;nbsp;blog and the&amp;nbsp;&lt;a href=&quot;http://www.andengine.org/forums/&quot; style=&quot;color: #56a756; text-decoration: underline;&quot; target=&quot;_blank&quot;&gt;&lt;strong&gt;forums&lt;/strong&gt;&lt;/a&gt;. While the blog is meant to cover general public announcements, like mayor releases and noteworthy projects built with AndEngine, the forums are there to cover all active development, bugs and feature-request.&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style=&quot;font-family: Arial, Verdana, sans-serif; font: normal normal normal 90%/normal Arial, Verdana, sans-serif; letter-spacing: 0px; line-height: 1.3;&quot;&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;So stay tuned, bookmark this blog and register at the&amp;nbsp;&lt;a href=&quot;http://www.andengine.org/forums/&quot; style=&quot;color: #56a756; text-decoration: underline;&quot; target=&quot;_blank&quot;&gt;&lt;strong&gt;forums&lt;/strong&gt;&lt;/a&gt;&amp;nbsp;for some exciting stuff soon =)&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style=&quot;font-family: Arial, Verdana, sans-serif; font: normal normal normal 90%/normal Arial, Verdana, sans-serif; letter-spacing: 0px; line-height: 1.3;&quot;&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;Meanwhile take a look at the&amp;nbsp;&lt;a href=&quot;http://www.andengine.org/blog/showcase/&quot; style=&quot;color: #56a756; text-decoration: underline;&quot; title=&quot;Visit showcase...&quot;&gt;&lt;strong&gt;Showcase&lt;/strong&gt;&lt;/a&gt;.&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style=&quot;font-family: Arial, Verdana, sans-serif; font: normal normal normal 90%/normal Arial, Verdana, sans-serif; letter-spacing: 0px; line-height: 1.3;&quot;&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;Best Regards,&lt;br /&gt;
Nicolas&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style=&quot;font-family: Arial, Verdana, sans-serif; font: normal normal normal 90%/normal Arial, Verdana, sans-serif; letter-spacing: 0px; line-height: 1.3;&quot;&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style=&quot;font-family: Arial, Verdana, sans-serif; font: normal normal normal 90%/normal Arial, Verdana, sans-serif; letter-spacing: 0px; line-height: 1.3;&quot;&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange; font-size: small;&quot;&gt;哈嚕 各位社群的朋友,&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style=&quot;font-family: Arial, Verdana, sans-serif; font: normal normal normal 90%/normal Arial, Verdana, sans-serif; letter-spacing: 0px; line-height: 1.3;&quot;&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange; font-size: small;&quot;&gt;我想這blog非常明顯將會涵蓋AndEngine - Android 2D OpenGL 遊戲引擎的發展&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style=&quot;font-family: Arial, Verdana, sans-serif; font: normal normal normal 90%/normal Arial, Verdana, sans-serif; letter-spacing: 0px; line-height: 1.3;&quot;&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange; font-size: small;&quot;&gt;從現在起我開始設置此blog還有論壇，然而這blog只有包含到一般官方的公告，像是主要發行以及利用AndEngine開發，值得注意的專案。在論壇裡包含所以主動開發、臭蟲、還有功能要求。&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style=&quot;font-family: Arial, Verdana, sans-serif; font: normal normal normal 90%/normal Arial, Verdana, sans-serif; letter-spacing: 0px; line-height: 1.3;&quot;&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange; font-size: small;&quot;&gt;敬請期待，將這個blog加入書籤，還有為了快速獲得一些有趣的東西，註冊論壇會員!&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style=&quot;font-family: Arial, Verdana, sans-serif; font: normal normal normal 90%/normal Arial, Verdana, sans-serif; letter-spacing: 0px; line-height: 1.3;&quot;&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange; font-size: small;&quot;&gt;祝福各位&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style=&quot;font-family: Arial, Verdana, sans-serif; font: normal normal normal 90%/normal Arial, Verdana, sans-serif; letter-spacing: 0px; line-height: 1.3;&quot;&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange; font-size: small;&quot;&gt;Nicolas&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://onplain-ian.blogspot.com/feeds/3264952565971409467/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://onplain-ian.blogspot.com/2011/06/andenginehello-world-hello-andengine.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1644975525711680021/posts/default/3264952565971409467'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1644975525711680021/posts/default/3264952565971409467'/><link rel='alternate' type='text/html' href='http://onplain-ian.blogspot.com/2011/06/andenginehello-world-hello-andengine.html' title='[AndEngine]Hello world! Hello AndEngine!'/><author><name>dolphins</name><uri>http://www.blogger.com/profile/08475298453513001125</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1644975525711680021.post-8665538440669608531</id><published>2011-06-02T10:05:00.000-07:00</published><updated>2011-06-02T10:17:38.096-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="AndEngine"/><category scheme="http://www.blogger.com/atom/ns#" term="Android"/><title type='text'>[AndEngine] 利用Tortiosehg把AndEngine專案都抓下來</title><content type='html'>&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: left;&quot;&gt;利用Tortiose&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Verdana, sans-serif; line-height: 16px;&quot;&gt;hg把AndEngine專案都抓下來&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&amp;nbsp;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh_0ljmg1eDYpBkK8E-pLFRKGMUWk1YwDRFcs96Xz8Tsv4TFy0E2xtQ7tQ0GkhqajRiW_nqRruKVHQNDyGdk9UPLLtmPlfydfLU8rPcrgqS0UC48IZnt5cII5vVPqTabnUY2nLsYPxz1yk/s1600/2011-04-03_000048.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;496&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh_0ljmg1eDYpBkK8E-pLFRKGMUWk1YwDRFcs96Xz8Tsv4TFy0E2xtQ7tQ0GkhqajRiW_nqRruKVHQNDyGdk9UPLLtmPlfydfLU8rPcrgqS0UC48IZnt5cII5vVPqTabnUY2nLsYPxz1yk/s640/2011-04-03_000048.jpg&quot; style=&quot;cursor: move;&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;安裝完成&lt;/div&gt;&lt;/div&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;/div&gt;&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgX8drnDxTiyV58zFR3G0BBPjIlxIXLE4V3NV-PbKOUtfCw2BAdawThG28O7CfdZdbzezXIBJymyZNur7EsyGqaLQW1yHtvI_qPw-W0GmiOcIl-5X2FRVhFYNQnRE_tGLpLDRi3KHTvVPs/s1600/2011-04-03_000153.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;384&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgX8drnDxTiyV58zFR3G0BBPjIlxIXLE4V3NV-PbKOUtfCw2BAdawThG28O7CfdZdbzezXIBJymyZNur7EsyGqaLQW1yHtvI_qPw-W0GmiOcIl-5X2FRVhFYNQnRE_tGLpLDRi3KHTvVPs/s640/2011-04-03_000153.jpg&quot; style=&quot;cursor: move;&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;選擇資料夾點右鍵選擇TortoiseHg--&amp;gt;Clone&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgurQx5ex-xJIBjNVedJTFV1Q8Sb7Waeu16SAhEQAucpC6pS2oBQUNDzin0Llvq56DvEHoYQBKJsNtV6dzrI7GteZBABoQX6RNagTcwwBOvoiIQxOr7GPe48_VW0TAjRxr1nD6iLBRzUQk/s1600/2011-04-03_000208.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;224&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgurQx5ex-xJIBjNVedJTFV1Q8Sb7Waeu16SAhEQAucpC6pS2oBQUNDzin0Llvq56DvEHoYQBKJsNtV6dzrI7GteZBABoQX6RNagTcwwBOvoiIQxOr7GPe48_VW0TAjRxr1nD6iLBRzUQk/s640/2011-04-03_000208.jpg&quot; style=&quot;cursor: move;&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;把AndEngine的路徑貼過來。&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjGsE2-FqUlMXRfupF7qdctN2Imk8Ty-i37clH9iex1IOgwDyKEFiQpp-omrpl65qcYCEIxp_6opy3-5LGV2b1tjOcaYarK1B83C70DXaH5r64hUQBMz-2WK440SA3Upv1Op9_QGiiG-Qo/s1600/2011-04-03_000233.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;640&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjGsE2-FqUlMXRfupF7qdctN2Imk8Ty-i37clH9iex1IOgwDyKEFiQpp-omrpl65qcYCEIxp_6opy3-5LGV2b1tjOcaYarK1B83C70DXaH5r64hUQBMz-2WK440SA3Upv1Op9_QGiiG-Qo/s640/2011-04-03_000233.jpg&quot; style=&quot;cursor: move;&quot; width=&quot;546&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;開始複製&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjcoOyKLwiK5nStroI_LAsTctnf9oHXg5bPsFGzflHukqP0ssHGKS7sYm_pU3vN_uzzyr2YMes7NlI_vbV7KmsUe-VfTMtCXCOydM-MEEJflQqOk57lbIRWtqE9f9FRtnm3575vSeOLUC0/s1600/2011-04-03_000252.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;640&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjcoOyKLwiK5nStroI_LAsTctnf9oHXg5bPsFGzflHukqP0ssHGKS7sYm_pU3vN_uzzyr2YMes7NlI_vbV7KmsUe-VfTMtCXCOydM-MEEJflQqOk57lbIRWtqE9f9FRtnm3575vSeOLUC0/s640/2011-04-03_000252.jpg&quot; style=&quot;cursor: move;&quot; width=&quot;546&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;複製中&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhSR4xbbXYWm3d5KQmsHtlPSeYvc_Ui_x8b1GPsfnPK3GO16cyfi19pjFBRkxPvHzJQ7_e9Y9rBoJCWrjJuZIn_KMMhHOhRlZP_6e-gGaToh4YJ1peALisuKMLKozqSC9nYFUpMnsaTi1w/s1600/2011-04-03_000401.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;384&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhSR4xbbXYWm3d5KQmsHtlPSeYvc_Ui_x8b1GPsfnPK3GO16cyfi19pjFBRkxPvHzJQ7_e9Y9rBoJCWrjJuZIn_KMMhHOhRlZP_6e-gGaToh4YJ1peALisuKMLKozqSC9nYFUpMnsaTi1w/s640/2011-04-03_000401.jpg&quot; style=&quot;cursor: move;&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;東西都跑進來嚕&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://onplain-ian.blogspot.com/feeds/8665538440669608531/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://onplain-ian.blogspot.com/2011/06/andengine-tortiosehgandengine.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1644975525711680021/posts/default/8665538440669608531'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1644975525711680021/posts/default/8665538440669608531'/><link rel='alternate' type='text/html' href='http://onplain-ian.blogspot.com/2011/06/andengine-tortiosehgandengine.html' title='[AndEngine] 利用Tortiosehg把AndEngine專案都抓下來'/><author><name>dolphins</name><uri>http://www.blogger.com/profile/08475298453513001125</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh_0ljmg1eDYpBkK8E-pLFRKGMUWk1YwDRFcs96Xz8Tsv4TFy0E2xtQ7tQ0GkhqajRiW_nqRruKVHQNDyGdk9UPLLtmPlfydfLU8rPcrgqS0UC48IZnt5cII5vVPqTabnUY2nLsYPxz1yk/s72-c/2011-04-03_000048.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1644975525711680021.post-1721464445870319222</id><published>2011-06-02T10:02:00.001-07:00</published><updated>2011-06-02T10:17:59.096-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Android"/><category scheme="http://www.blogger.com/atom/ns#" term="Sqlite"/><title type='text'>[Android、Sqlite]SQLite Database Browser 基本使用</title><content type='html'>&lt;table cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-bottom: 0.5em; margin-left: auto; margin-right: auto; padding-bottom: 6px; padding-left: 6px; padding-right: 6px; padding-top: 6px; text-align: center;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; SQLite Database Browser&amp;nbsp;其實非常簡單，功能沒有很複雜，可以把你的.sql檔匯入，編輯資料表欄位，增加資料表，或是改變裡面的data。最後再把它輸出。&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;/div&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;/div&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjWKpbAPmna2WBHYVYBWI-PD0EZJPxlXNMKLDMyvJrYnFfURIpMsFo1aEbGkj6YGfNrFr1bQ7TW_LUcnODxOEoEWbuvEHQh-a_USNgMT2wxXL-ditMtLFeIvWbpLFaIgASUtkBSaqb-ltc/s1600/2011-04-28_004203.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: auto; margin-right: auto;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;524&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjWKpbAPmna2WBHYVYBWI-PD0EZJPxlXNMKLDMyvJrYnFfURIpMsFo1aEbGkj6YGfNrFr1bQ7TW_LUcnODxOEoEWbuvEHQh-a_USNgMT2wxXL-ditMtLFeIvWbpLFaIgASUtkBSaqb-ltc/s640/2011-04-28_004203.jpg&quot; style=&quot;cursor: move;&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;font-size: 13px; padding-top: 4px; text-align: center;&quot;&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;最初的畫面。&lt;/div&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiuk3Qw_CupXpPYiaqbOx6G6IgZRdf9qZ9cwZNgPzqsmrnkkjE2MJzTcUTSDQtqb4pYBZ2S3wDr6v3dbCMfKzarZDr5yXffpi3jlJFDgabS1yoggXJmVr2yS5DDcU7kj9YGNh5NVWbfAh0/s1600/2011-04-28_004331.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;526&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiuk3Qw_CupXpPYiaqbOx6G6IgZRdf9qZ9cwZNgPzqsmrnkkjE2MJzTcUTSDQtqb4pYBZ2S3wDr6v3dbCMfKzarZDr5yXffpi3jlJFDgabS1yoggXJmVr2yS5DDcU7kj9YGNh5NVWbfAh0/s640/2011-04-28_004331.jpg&quot; style=&quot;cursor: move;&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;新增一個Database(資料庫)。&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh41o-a1Yyh36Q_UEKoauAh3rBgPHfI_h2fQNk0eSMz_S9La6RIUMAs9eak0Nswqbqqo4SCHi2WqMzGG6SF9jcKd8K7AsZ3LFTwQyYEJTbSV1fASsTBRZierh1ahAq2qODtKTNtKsCQXEI/s1600/2011-04-28_004419.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;640&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh41o-a1Yyh36Q_UEKoauAh3rBgPHfI_h2fQNk0eSMz_S9La6RIUMAs9eak0Nswqbqqo4SCHi2WqMzGG6SF9jcKd8K7AsZ3LFTwQyYEJTbSV1fASsTBRZierh1ahAq2qODtKTNtKsCQXEI/s640/2011-04-28_004419.jpg&quot; style=&quot;cursor: move;&quot; width=&quot;580&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;創建一個資料表，必且新增欄位。&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEieJJeSG1065tnSM3NL7fJF7-8T1N-3TGDuO0DRpbEph03Bjb9Hdn_dIm3o2yGfrJcRCdSKB1P3QxqttAzACZU9SZyO-k0TGrOl039fZw9RGpbvGP-ZCZBhNRBTfCjx14XoCqfujdm1vDU/s1600/2011-04-28_155642.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;526&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEieJJeSG1065tnSM3NL7fJF7-8T1N-3TGDuO0DRpbEph03Bjb9Hdn_dIm3o2yGfrJcRCdSKB1P3QxqttAzACZU9SZyO-k0TGrOl039fZw9RGpbvGP-ZCZBhNRBTfCjx14XoCqfujdm1vDU/s640/2011-04-28_155642.jpg&quot; style=&quot;cursor: move;&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;只有四種格式可以選，但有可以按旁邊的按鈕，自己設定type名稱。&lt;/div&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjQnOGL12Sale8XwbxmljtVv5_e-tysmW33a7vfuv5c3Wnq4-5MdvwcPs5FzDq8yqIaaFCVaEHV4u6fDYE5_42NQ8hkmqYHudSXVsW2W5CXgjblCmcRIzcxKpQRQNacANUo89ZDBEuU-Po/s1600/2011-04-28_004515.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;524&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjQnOGL12Sale8XwbxmljtVv5_e-tysmW33a7vfuv5c3Wnq4-5MdvwcPs5FzDq8yqIaaFCVaEHV4u6fDYE5_42NQ8hkmqYHudSXVsW2W5CXgjblCmcRIzcxKpQRQNacANUo89ZDBEuU-Po/s640/2011-04-28_004515.jpg&quot; style=&quot;cursor: move;&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;按Create即可創造。&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjCcZ21ldXnpTSTNm4_8XaG6BCV3ZSG6EKWYJpgP3NG1iqI9NQgk3t04IbaQkGvmdVMDyUjSayXdR2bUVYHp4YheHgJgPzIchj2P2TF1JagC6slctEWqxJe7foe1ltq9uO_DvpGAig60o0/s1600/2011-04-28_004729.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;640&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjCcZ21ldXnpTSTNm4_8XaG6BCV3ZSG6EKWYJpgP3NG1iqI9NQgk3t04IbaQkGvmdVMDyUjSayXdR2bUVYHp4YheHgJgPzIchj2P2TF1JagC6slctEWqxJe7foe1ltq9uO_DvpGAig60o0/s640/2011-04-28_004729.jpg&quot; style=&quot;cursor: move;&quot; width=&quot;580&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;再按Create就可以把資料表完成。&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjCzmZMxrArfjDFKCcuP4Xo9qX1DowmusqIU41OxhZTPBf2db58FlUu61zsjACeF8oUnPF2C5RXhqHrDhgia5Kj0SXKYIWlGrU9x7cIrrIqmB5zT293XeD8g5GXNRvJq2vOkNt_sBk4bDM/s1600/2011-04-28_004902.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;524&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjCzmZMxrArfjDFKCcuP4Xo9qX1DowmusqIU41OxhZTPBf2db58FlUu61zsjACeF8oUnPF2C5RXhqHrDhgia5Kj0SXKYIWlGrU9x7cIrrIqmB5zT293XeD8g5GXNRvJq2vOkNt_sBk4bDM/s640/2011-04-28_004902.jpg&quot; style=&quot;cursor: move;&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;這就是整個資料表的呈現。&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEifYBo40FC7Z31ll0UMmVibvAhyQVtcMNdlJ7vpJfUKJnrmtpUeVLjZQp8zS_haibRdH7B7XyczIjthhvpe9twQRkSBEPG0hQdgGU62nIBiAha1elN0Ey2awYWq6zdRQpHsf72I3AWGQNg/s1600/2011-04-28_005438.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;358&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEifYBo40FC7Z31ll0UMmVibvAhyQVtcMNdlJ7vpJfUKJnrmtpUeVLjZQp8zS_haibRdH7B7XyczIjthhvpe9twQRkSBEPG0hQdgGU62nIBiAha1elN0Ey2awYWq6zdRQpHsf72I3AWGQNg/s640/2011-04-28_005438.jpg&quot; style=&quot;cursor: move;&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;按Edit就可以做其他編輯的動作嚕。&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEimpcjr1RaWr0i7RcQd1keJPNa3E4ZN3ci8X9aFAHVwjyobvyGY08B8c44DFWTMvi77omHC1ToWb0EnJbSDc65XhYs-vMsfeNf53orrQic25Z0KahNFvBkk5-z10L_HXJku2WKPBWe9Kw4/s1600/2011-04-28_005506.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;524&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEimpcjr1RaWr0i7RcQd1keJPNa3E4ZN3ci8X9aFAHVwjyobvyGY08B8c44DFWTMvi77omHC1ToWb0EnJbSDc65XhYs-vMsfeNf53orrQic25Z0KahNFvBkk5-z10L_HXJku2WKPBWe9Kw4/s640/2011-04-28_005506.jpg&quot; style=&quot;cursor: move;&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;Browse Data就可以看資料表內的data，還可以做新增修改。&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjVrTKdnNLIpG8zkx4M_SyRYlnbAmzwhZR9XYwq8CoW8RtdHQv7UXaC6lvNQSXPCzpKdARSOYwnQNIBTNKQX93J5L38PI4C3DgnTC7lwb-tykKvPmN1-Wqyd1tcg1hite2_gNsf5Aa9dzc/s1600/2011-04-28_005600.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;524&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjVrTKdnNLIpG8zkx4M_SyRYlnbAmzwhZR9XYwq8CoW8RtdHQv7UXaC6lvNQSXPCzpKdARSOYwnQNIBTNKQX93J5L38PI4C3DgnTC7lwb-tykKvPmN1-Wqyd1tcg1hite2_gNsf5Aa9dzc/s640/2011-04-28_005600.jpg&quot; style=&quot;cursor: move;&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;試試看新增。&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjH1nc0bReWBjEZ5lVjhK6Xb3df_zXD5fIWIaEeG_bexDSA7J10z-zzYSKcurrzklEWVSsSqZ-IzdAoknZz1vs4o62lS9Yky2vced6ODCVA_9gRTULDBj5zQc1ZApNFTKrxiGODzwMXfRU/s1600/2011-04-28_005642.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;524&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjH1nc0bReWBjEZ5lVjhK6Xb3df_zXD5fIWIaEeG_bexDSA7J10z-zzYSKcurrzklEWVSsSqZ-IzdAoknZz1vs4o62lS9Yky2vced6ODCVA_9gRTULDBj5zQc1ZApNFTKrxiGODzwMXfRU/s640/2011-04-28_005642.jpg&quot; style=&quot;cursor: move;&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;也可以透過特定欄位來搜尋資料。&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjKUX8UPASCBO-fOvQdhYP9sQ9XIeF2XmwtExzQfT8mX1ZsLPggTo3uQafTj6fiwCg9HUqM6dxmvtuNP-JA-Q97FBeA4mK1f45IDNpCsA8rxHXXpKiNnfE2KRg6jSkmEu-yTxnQAKyq4SQ/s1600/2011-04-28_005732.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;524&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjKUX8UPASCBO-fOvQdhYP9sQ9XIeF2XmwtExzQfT8mX1ZsLPggTo3uQafTj6fiwCg9HUqM6dxmvtuNP-JA-Q97FBeA4mK1f45IDNpCsA8rxHXXpKiNnfE2KRg6jSkmEu-yTxnQAKyq4SQ/s640/2011-04-28_005732.jpg&quot; style=&quot;cursor: move;&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;可以設定搜尋條件為何。&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiI6txQ3dASzqvB4ycdZOkUsU5JBajX8QGJx1FcjRUWHPNWH_yAU51xxxXtEaEv7THjutUTtLNReqDFZ7S4ghK1rMkrOg0sH0SHMpqVqQqGgOrUEQsQ_7Ds1cSO0eJVhk_SIt6_BpWSDNY/s1600/2011-04-28_005804.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;524&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiI6txQ3dASzqvB4ycdZOkUsU5JBajX8QGJx1FcjRUWHPNWH_yAU51xxxXtEaEv7THjutUTtLNReqDFZ7S4ghK1rMkrOg0sH0SHMpqVqQqGgOrUEQsQ_7Ds1cSO0eJVhk_SIt6_BpWSDNY/s640/2011-04-28_005804.jpg&quot; style=&quot;cursor: move;&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;如果你想要展現實力，或是要練習SQLite語法，就在這裡輸入吧!!&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiX4HlszSr2o1brPCJMq37suhoaTA1dfK9rZOuOJRd8sQHmGxCIZD1Iw6Vr-RkApXRsHHqZ2wlcl8tQWpbjhfSx9tWdiDCAJqtOSe8AgbQdyPogtUceBYLroY0b_5DkEQ9QIgZOgtY57Ak/s1600/2011-04-28_005912.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;524&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiX4HlszSr2o1brPCJMq37suhoaTA1dfK9rZOuOJRd8sQHmGxCIZD1Iw6Vr-RkApXRsHHqZ2wlcl8tQWpbjhfSx9tWdiDCAJqtOSe8AgbQdyPogtUceBYLroY0b_5DkEQ9QIgZOgtY57Ak/s640/2011-04-28_005912.jpg&quot; style=&quot;cursor: move;&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;你可以import 為SQL檔的databse。&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;或是CSV檔的資料表資料。&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;-webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; line-height: 16px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: inherit;&quot;&gt;&lt;i&gt;所謂“CSV”，是Comma Separated Value（逗號分&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: inherit;&quot;&gt;隔值）的英文縮寫，&lt;/span&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;-webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; line-height: 16px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: inherit;&quot;&gt;每項資料用逗號來分隔（標準英文逗號）&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;-webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; line-height: 16px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: inherit;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; font-family: arial, sans-serif; line-height: normal;&quot;&gt;&lt;i&gt;&lt;span class=&quot;&quot; title=&quot;按一下以檢視其他翻譯&quot;&gt;CSV格式&lt;/span&gt;&lt;span class=&quot;&quot; title=&quot;按一下以檢視其他翻譯&quot;&gt;是最通用的一種文件格式&lt;/span&gt;&lt;span class=&quot;&quot; title=&quot;按一下以檢視其他翻譯&quot;&gt;，&lt;/span&gt;&lt;span class=&quot;&quot; title=&quot;按一下以檢視其他翻譯&quot;&gt;它可以非常容易地被導入各種&lt;/span&gt;&lt;span class=&quot;&quot; title=&quot;按一下以檢視其他翻譯&quot;&gt;電腦&lt;/span&gt;&lt;span class=&quot;&quot; title=&quot;按一下以檢視其他翻譯&quot;&gt;表格及數據庫當中。&lt;/span&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhaXujJkarGOTb4nkB5Floh8t5FBAU-5Om6X6slU9IvkCmLaRAructuItwPQMpElbbNhjtL19zzpXkHBm0IXbeqq_JmtdR9E4RiqKlB1rqpDCyJ7_XA0meZo-bDFhJd0XWNzi6GNgnUPDk/s1600/2011-04-28_005949.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;310&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhaXujJkarGOTb4nkB5Floh8t5FBAU-5Om6X6slU9IvkCmLaRAructuItwPQMpElbbNhjtL19zzpXkHBm0IXbeqq_JmtdR9E4RiqKlB1rqpDCyJ7_XA0meZo-bDFhJd0XWNzi6GNgnUPDk/s640/2011-04-28_005949.jpg&quot; style=&quot;cursor: move;&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;新增資料的預設內容，有三種可選。&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;參考資料:&lt;/div&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 13px;&quot;&gt;SQLite Database Browser&amp;nbsp;&lt;/span&gt;&lt;a href=&quot;http://sqlitebrowser.sourceforge.net/development.html&quot;&gt;http://sqlitebrowser.sourceforge.net/development.html&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;什麼是CSV格式&lt;a href=&quot;http://www.w3china.org/dispbbs.asp?boardID=13&amp;amp;ID=54838&quot;&gt;http://www.w3china.org/dispbbs.asp?boardID=13&amp;amp;ID=54838&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://onplain-ian.blogspot.com/feeds/1721464445870319222/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://onplain-ian.blogspot.com/2011/06/androidsqlitesqlite-database-browser_02.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1644975525711680021/posts/default/1721464445870319222'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1644975525711680021/posts/default/1721464445870319222'/><link rel='alternate' type='text/html' href='http://onplain-ian.blogspot.com/2011/06/androidsqlitesqlite-database-browser_02.html' title='[Android、Sqlite]SQLite Database Browser 基本使用'/><author><name>dolphins</name><uri>http://www.blogger.com/profile/08475298453513001125</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjWKpbAPmna2WBHYVYBWI-PD0EZJPxlXNMKLDMyvJrYnFfURIpMsFo1aEbGkj6YGfNrFr1bQ7TW_LUcnODxOEoEWbuvEHQh-a_USNgMT2wxXL-ditMtLFeIvWbpLFaIgASUtkBSaqb-ltc/s72-c/2011-04-28_004203.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1644975525711680021.post-5851790607606593612</id><published>2011-06-02T10:00:00.000-07:00</published><updated>2011-06-02T10:17:59.096-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Android"/><category scheme="http://www.blogger.com/atom/ns#" term="Sqlite"/><title type='text'>[Android、Sqlite]SQLite Database Browser介紹</title><content type='html'>&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; 這是從資策會Android應用程式設計課程講義上看到的軟體，SQLite Database Browser可以視覺化的調整Sqlite內部的資料。&lt;/div&gt;&lt;div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;SQLite Database Browser：&lt;a href=&quot;http://sqlitebrowser.sourceforge.net/&quot;&gt;http://sqlitebrowser.sourceforge.net/&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;table align=&quot;center&quot; border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif;&quot; valign=&quot;top&quot;&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;img height=&quot;20&quot; src=&quot;http://sqlitebrowser.sourceforge.net/images/spacer.gif&quot; style=&quot;cursor: move;&quot; width=&quot;1&quot; /&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif;&quot; valign=&quot;top&quot;&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;b class=&quot;title&quot;&gt;What it is&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;SQLite Database Browser is a freeware, public domain, open source visual tool used to create, design and edit database files compatible with SQLite. It is meant to be used for users and developers that want to create databases, edit and search data using a familiar spreadsheet-like interface, without the need to learn complicated SQL commands. Controls and wizards are available for users to:&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;/div&gt;&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;它是什麼？&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;SQLite Database Browser是一個免費、公開、開放原碼的視覺化工具（軟體），可以創建、設計、編輯SQLite的資料庫檔案。這代表說，可讓想要創建資料庫、編輯、搜尋資料庫的使用者、開發者，利用親近人的電子表格介面，而不用需要學習複雜的SQL commands.可為使用者帶到以下的目的：&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;/div&gt;&lt;ul style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif;&quot;&gt;&lt;li&gt;Create and compact database files&lt;/li&gt;
&lt;li&gt;Create, define, modify and delete tables&lt;/li&gt;
&lt;li&gt;Create, define and delete indexes&lt;/li&gt;
&lt;li&gt;Browse, edit, add and delete records&lt;/li&gt;
&lt;li&gt;Search records&lt;/li&gt;
&lt;li&gt;Import and export records as text&lt;/li&gt;
&lt;li&gt;Import and export tables from/to CSV files&lt;/li&gt;
&lt;li&gt;Import and export databases from/to SQL dump files&lt;/li&gt;
&lt;li&gt;Issue SQL queries and inspect the results&lt;/li&gt;
&lt;li&gt;Examine a log of all SQL commands issued by the application&lt;/li&gt;
&lt;/ul&gt;&lt;ul style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif;&quot;&gt;&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;創建和壓縮資料庫檔案&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;創建、定義、更改、刪除資料表&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;創建、定義、和刪除索引&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;搜尋、編輯、增加和刪除記錄&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;搜尋記錄&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;輸入和輸出記錄成為text檔案&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;輸入和輸出CSV檔案為資料表&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;輸入和輸出SQL dump檔案為資料庫&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;執行SQL查詢和檢查結果&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;檢查所有被應用程式執行的SQL commands&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif;&quot;&gt;&lt;b class=&quot;title&quot;&gt;What it is not&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif;&quot;&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;This program is not a visual shell for the sqlite command line tool. It does not require familiarity with SQL commands. It is a tool to be used both by developers and by end users, and it must remain as simple to use as possible in order to achieve its goals.&lt;/div&gt;&lt;/div&gt;&lt;div style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif;&quot;&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;/div&gt;&lt;div style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif;&quot;&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; 它不是什麼？&lt;/div&gt;&lt;/div&gt;&lt;div style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif;&quot;&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; 這軟體不是一個視覺化sqlite命令列工具，不需要熟悉SQL commands。它非常簡單可以達到不管是開發者或是&lt;/div&gt;&lt;/div&gt;&lt;div style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif;&quot;&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; 使用者的目標。&lt;/div&gt;&lt;/div&gt;&lt;div style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif;&quot;&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;/div&gt;&lt;div style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif;&quot;&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;/div&gt;&lt;div style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif;&quot;&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;/div&gt;&lt;div style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif;&quot;&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;參考資源：&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial; font-size: small;&quot;&gt;&lt;a href=&quot;http://sqlitebrowser.sourceforge.net/index.html&quot;&gt;http://sqlitebrowser.sourceforge.net/index.html&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://onplain-ian.blogspot.com/feeds/5851790607606593612/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://onplain-ian.blogspot.com/2011/06/androidsqlitesqlite-database-browser.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1644975525711680021/posts/default/5851790607606593612'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1644975525711680021/posts/default/5851790607606593612'/><link rel='alternate' type='text/html' href='http://onplain-ian.blogspot.com/2011/06/androidsqlitesqlite-database-browser.html' title='[Android、Sqlite]SQLite Database Browser介紹'/><author><name>dolphins</name><uri>http://www.blogger.com/profile/08475298453513001125</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1644975525711680021.post-1144004803577978600</id><published>2011-04-15T21:38:00.001-07:00</published><updated>2011-06-02T10:04:35.715-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Android"/><title type='text'>[Android]Bitmap圖形、拖拉後的反方向速度</title><content type='html'>&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;這是&amp;nbsp;[Android]利用Java Class繼承View來呈現Android畫面的再延伸，已經可以利用滑鼠移動球體，現在要加上加速度的慣性，還有bitmap的使用。&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;目標:(1)利用bitmap匯入圖片。&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; (2)加速度移動。&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiI4kskSyqUdblXJbtzNWsbxcSjcvncY8Gjdamo1jGjVhFmP5ZUlj-yx3KZpdlN7yvA2-m0LjVnw0F9u_FIOrzPN_GKILnJKvz4NeH1M-2Ht8M1MSHiiIbP-tCFfoeEAw_U0ZSt62ml6bo/s1600/2011-04-14_195950.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;640&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiI4kskSyqUdblXJbtzNWsbxcSjcvncY8Gjdamo1jGjVhFmP5ZUlj-yx3KZpdlN7yvA2-m0LjVnw0F9u_FIOrzPN_GKILnJKvz4NeH1M-2Ht8M1MSHiiIbP-tCFfoeEAw_U0ZSt62ml6bo/s640/2011-04-14_195950.jpg&quot; style=&quot;cursor: move;&quot; width=&quot;460&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;開新的一個專案，再把JavaDrawView貼過來。&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;&lt;/div&gt;&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEizfQDFfx_W43l6FpPSo1cvDp2utlNr9kK305G2SdSqa1xgXQFmhR99Hu8gOpl-18FgMEmpplJ1_frUIwWgXyygK4McL8YVWUbLQQd3CVPX07Fxpl2Cf4DFYZ-d9LBEr8swlJ9oyBwWatg/s1600/2011-04-14_203037.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;338&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEizfQDFfx_W43l6FpPSo1cvDp2utlNr9kK305G2SdSqa1xgXQFmhR99Hu8gOpl-18FgMEmpplJ1_frUIwWgXyygK4McL8YVWUbLQQd3CVPX07Fxpl2Cf4DFYZ-d9LBEr8swlJ9oyBwWatg/s640/2011-04-14_203037.jpg&quot; style=&quot;cursor: move;&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;現在來貼一下bitmap的圖，現在一步一步來，&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;首先要有bitmap的變數來裝圖，&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;還要宣告一個Matrix，圖形的放大縮小移動都是由這個&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: arial, sans-serif; white-space: nowrap;&quot;&gt;矩陣&lt;/span&gt;決定的。&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhPpBMH2X_T_BuzyFVqUC8sFNZdvr7A15pRjrluwUJMqfNlhH9x3ZIx-fkQU4MTcev-So8U5YR4Me9qZoYAPVh1WH2TWAq84E_Fwa4b4aTRY3yxT7E-si7yDRcTyla7jb20TygYEFDn0Ho/s1600/2011-04-14_203138.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;338&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhPpBMH2X_T_BuzyFVqUC8sFNZdvr7A15pRjrluwUJMqfNlhH9x3ZIx-fkQU4MTcev-So8U5YR4Me9qZoYAPVh1WH2TWAq84E_Fwa4b4aTRY3yxT7E-si7yDRcTyla7jb20TygYEFDn0Ho/s640/2011-04-14_203138.jpg&quot; style=&quot;cursor: move;&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;利用 Bitmap工廠來把圖形解碼成bitmap格式，在這裡選擇他原本就提供的icon，利用getResources()來獲得此id的資源。&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;座標的部分就是利用矩陣來改嚕，最後在畫在畫布上canvas.drawBitmap，畫筆Paint也要選擇。&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi7GO8tSmDRNhm27mP5g0n-PqmybaksIewXxQkvXuFBx7Vy5dfAudpZE8S8CcRbg36BbxY09nEi6qjIyO1kEW_tPNB4Tj2TcgeRrbAXzsJlSKLc88flIKPjwHKAvpDY9V06wpRHnczeEq0/s1600/2011-04-14_203252.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;338&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi7GO8tSmDRNhm27mP5g0n-PqmybaksIewXxQkvXuFBx7Vy5dfAudpZE8S8CcRbg36BbxY09nEi6qjIyO1kEW_tPNB4Tj2TcgeRrbAXzsJlSKLc88flIKPjwHKAvpDY9V06wpRHnczeEq0/s640/2011-04-14_203252.jpg&quot; style=&quot;cursor: move;&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;再來我們用一個比較簡潔的方式。&lt;/div&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEju7FYYusIRE-S8jIbNgv5mjhsIHIaW0kK5F-Ic5EYCe49IMj4nHkLUVNKNsYtfRuVGhlPRAiO_dZIF7U6Wp6jxLA7A4cdCVRlM1XZ8d6ZRBQofpu4U8VSICf0yQogDYSHFHTiBFa0mJ84/s1600/2011-04-14_203528.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;338&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEju7FYYusIRE-S8jIbNgv5mjhsIHIaW0kK5F-Ic5EYCe49IMj4nHkLUVNKNsYtfRuVGhlPRAiO_dZIF7U6Wp6jxLA7A4cdCVRlM1XZ8d6ZRBQofpu4U8VSICf0yQogDYSHFHTiBFa0mJ84/s640/2011-04-14_203528.jpg&quot; style=&quot;cursor: move;&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;只宣告Matrix&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEijfgW_RUXpBcu2qSX4gNDL_J-U4F6lq0n2a2B4rC4kQu9rEcQS2HH5VMdRsDl6IeESdHO1Vg5mZPw9kkTX6uZmapjfsgqgTLdDshaSnhEPDoCYPUy0B12T1PeatsstWNMPQJlUI1JRCgI/s1600/2011-04-14_203755.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;264&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEijfgW_RUXpBcu2qSX4gNDL_J-U4F6lq0n2a2B4rC4kQu9rEcQS2HH5VMdRsDl6IeESdHO1Vg5mZPw9kkTX6uZmapjfsgqgTLdDshaSnhEPDoCYPUy0B12T1PeatsstWNMPQJlUI1JRCgI/s640/2011-04-14_203755.jpg&quot; style=&quot;cursor: move;&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;在canvas.drawBitmap的地方直接給bitmap的值。&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;搞定!!&lt;/div&gt;&lt;/div&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;/div&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;再來看一下矩陣可以做哪些變化，&lt;/div&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjrqmQXPHQoyeuVcbZQdyWIJFZXlvRZLGPZIfMOUfWrJli0mde7uSXOB4hnffOMo9FfKasi9QyVnhliM4NcL4DluorZEkzm7PMYEZ6FpN5sVk80ZQwILKpb5i-_sPsGDL2UcvdYskr7vHM/s1600/2011-04-14_204713.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;264&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjrqmQXPHQoyeuVcbZQdyWIJFZXlvRZLGPZIfMOUfWrJli0mde7uSXOB4hnffOMo9FfKasi9QyVnhliM4NcL4DluorZEkzm7PMYEZ6FpN5sVk80ZQwILKpb5i-_sPsGDL2UcvdYskr7vHM/s640/2011-04-14_204713.jpg&quot; style=&quot;cursor: move;&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;Matrix的各種function，post開頭。&lt;/div&gt;&lt;/div&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi3NXsOctvtc3-nELx9TrSxXblumgeiafTPQ1YE6ytvVQSdH6plybYlXZyGFQTNqbLMJ5_wIj-rO7L1szvbMfxPPAYjCqgdEJmXLXO8Ki7b6V068DdXrePqoplkd6iaKr_wna5dGpbd58M/s1600/2011-04-14_204826.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;268&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi3NXsOctvtc3-nELx9TrSxXblumgeiafTPQ1YE6ytvVQSdH6plybYlXZyGFQTNqbLMJ5_wIj-rO7L1szvbMfxPPAYjCqgdEJmXLXO8Ki7b6V068DdXrePqoplkd6iaKr_wna5dGpbd58M/s640/2011-04-14_204826.jpg&quot; style=&quot;cursor: move;&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;Matrix的各種function，set開頭。&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjslOmZrXGxYjeL16SeRFIcWVwcqIjuLqttOD8KX2aUgPDaJ3VUQ9DFpzAmYyTDqp7XxyGIYHVJUbvxEVmxGjX6pV_WSnmhjNYlbhrgVhFvCiAp_R8X2MUM9mmt8ieg3Pn70YqRyrdRPm0/s1600/2011-04-14_213258.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;262&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjslOmZrXGxYjeL16SeRFIcWVwcqIjuLqttOD8KX2aUgPDaJ3VUQ9DFpzAmYyTDqp7XxyGIYHVJUbvxEVmxGjX6pV_WSnmhjNYlbhrgVhFvCiAp_R8X2MUM9mmt8ieg3Pn70YqRyrdRPm0/s640/2011-04-14_213258.jpg&quot; style=&quot;cursor: move;&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;測試過post開頭的functino，蠻多不會用的。&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjSh4Z7FVKusq8zaGwfW4X2F-56Wd5KLWZMIejC4ltxzZNQXj5b1esqnWjU40Ck25dd0M4zSBtMvePY22CTjxeXLw1gxl_PMEQYlhUAzQdqzrD9eLD0cgUSDTQdooURvWKwGHC4cAoSctM/s1600/2011-04-16_115745.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;296&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjSh4Z7FVKusq8zaGwfW4X2F-56Wd5KLWZMIejC4ltxzZNQXj5b1esqnWjU40Ck25dd0M4zSBtMvePY22CTjxeXLw1gxl_PMEQYlhUAzQdqzrD9eLD0cgUSDTQdooURvWKwGHC4cAoSctM/s640/2011-04-16_115745.jpg&quot; style=&quot;cursor: move;&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;X、Y速度，Y加速度宣告。&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjGU9Cujt_xkJ9xqDFZsGnmhlZikeT5HlPKxnm0HJF6WYYlg7VWvcAtUPJjoKLMTkRsq2Xb2nzhyip6QFyi88cg7Q6nm7jK2TzHAQfRbtGBTiKG2VMvU8iyNhgGft6tlzsc-3dX1pgnT4U/s1600/2011-04-16_121652.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;296&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjGU9Cujt_xkJ9xqDFZsGnmhlZikeT5HlPKxnm0HJF6WYYlg7VWvcAtUPJjoKLMTkRsq2Xb2nzhyip6QFyi88cg7Q6nm7jK2TzHAQfRbtGBTiKG2VMvU8iyNhgGft6tlzsc-3dX1pgnT4U/s640/2011-04-16_121652.jpg&quot; style=&quot;cursor: move;&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;判斷是否在運動，並且給予X、Y方向速度，與Y方向加速度，設定Y方向下限680。&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhatKK8Y_LJwcsr1PRhr6woS54BSWYbkC_VjLZOp6UZv9MyQgj4WDoWWDk8WphL8yG_DivyxE9sCGgr6I0ZJVxDH2CEnPqo_DdLgy3q0nNp-DAbyUHQlXrf_HNIVgu7Ecf6EsI8CkY34Cc/s1600/2011-04-16_121716.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;296&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhatKK8Y_LJwcsr1PRhr6woS54BSWYbkC_VjLZOp6UZv9MyQgj4WDoWWDk8WphL8yG_DivyxE9sCGgr6I0ZJVxDH2CEnPqo_DdLgy3q0nNp-DAbyUHQlXrf_HNIVgu7Ecf6EsI8CkY34Cc/s640/2011-04-16_121716.jpg&quot; style=&quot;cursor: move;&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;在下圓的時候，初始化X、Y的速度&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEivpxTW0UZy6j-pY5o2V-_B1Lk7t5HQiS0I2idu6RBbGgTvE0onjXGL8dWuJDB3LxGVPU_aFUctVEAPZOingA5UeruYkXRUEdjBtKMU0tVnu0oXQQ-RXBnbTGDAcNaK5gFP00K2aX6sjyY/s1600/2011-04-16_121734.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;296&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEivpxTW0UZy6j-pY5o2V-_B1Lk7t5HQiS0I2idu6RBbGgTvE0onjXGL8dWuJDB3LxGVPU_aFUctVEAPZOingA5UeruYkXRUEdjBtKMU0tVnu0oXQQ-RXBnbTGDAcNaK5gFP00K2aX6sjyY/s640/2011-04-16_121734.jpg&quot; style=&quot;cursor: move;&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;利用拖曳圓球時的距離差，來產生反方向的速度。&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;大功告成!!!&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://onplain-ian.blogspot.com/feeds/1144004803577978600/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://onplain-ian.blogspot.com/2011/04/androidbitmap.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1644975525711680021/posts/default/1144004803577978600'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1644975525711680021/posts/default/1144004803577978600'/><link rel='alternate' type='text/html' href='http://onplain-ian.blogspot.com/2011/04/androidbitmap.html' title='[Android]Bitmap圖形、拖拉後的反方向速度'/><author><name>dolphins</name><uri>http://www.blogger.com/profile/08475298453513001125</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiI4kskSyqUdblXJbtzNWsbxcSjcvncY8Gjdamo1jGjVhFmP5ZUlj-yx3KZpdlN7yvA2-m0LjVnw0F9u_FIOrzPN_GKILnJKvz4NeH1M-2Ht8M1MSHiiIbP-tCFfoeEAw_U0ZSt62ml6bo/s72-c/2011-04-14_195950.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1644975525711680021.post-8760088244375860036</id><published>2011-04-08T22:54:00.000-07:00</published><updated>2011-04-08T23:01:21.176-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Android"/><title type='text'>[Android]Project coding注意事項</title><content type='html'>&lt;b&gt;變數命名:名稱不怕長，怕的是你兩三個月後看不懂他。&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
範例&lt;br /&gt;
&amp;nbsp;float m_fCircleCenterX = 100.0f; //m_代表是類別等級的變數，別忘了一個.java就是一個類別。&lt;br /&gt;
&amp;nbsp;boolean m_bRunning =true; //f:代筆他的型別為float&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;//名稱:就盡最大可能表現出它的意義，向這個就是圓心的座標X&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; //，當發現盡力還是表達很模糊，就請一定要加上註解。&lt;br /&gt;
float l_fdt = 0.1f; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;//l_區域變數&lt;br /&gt;
long l_nStartTime=0 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; //n:Number&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;邏輯判斷式:開頭上註解，解釋其內容。在邏輯太多層下，不容易辨識括弧，在末括號加上註解。&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&amp;nbsp;&amp;nbsp;//判定手指點擊是否在圓內。&lt;/b&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;if((m_fCircleCenterX - m_fCircleRadius) &amp;lt;= e_fPosX &amp;amp;&amp;amp;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;e_fPosX &amp;lt;= (m_fCircleCenterX + m_fCircleRadius))&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;{&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;if((m_fCircleCenterY - m_fCircleRadius) &amp;lt;= e_fPosY &amp;amp;&amp;amp;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;     &lt;/span&gt;e_fPosY &amp;lt;= (m_fCircleCenterY + m_fCircleRadius))&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;{&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;m_bIsTouchDownCircle = true;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;text=e_fPosX+&quot;,&quot;+e_fPosY;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;}&lt;b&gt;ifend&lt;/b&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;}&lt;b&gt;ifend&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;&lt;b&gt;XML部分:&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;
&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;div style=&quot;text-align: left;&quot;&gt;id也請讓他意義化，text要讓他能符合多國語系的格式，也就是要text命名要呼叫value裡面的資源檔，而不是直接設值&lt;/div&gt;&lt;/div&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;div style=&quot;text-align: left;&quot;&gt;，google應該可以找到不少資源。&lt;/div&gt;&lt;/div&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;div style=&quot;text-align: left;&quot;&gt;Layout要可符合各種Size的手機，&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #d52932; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 16px; font-weight: bold; line-height: 22px;&quot;&gt;&lt;a href=&quot;http://onplain-ian.blogspot.com/2011/04/android-xmlandroid.html&quot;&gt;[Android] 利用XML來呈現Android的畫面&lt;/a&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;後半&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;有大概提到一點。&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 16px; line-height: 22px;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;範例:回到首頁按鈕&lt;br /&gt;
&amp;lt;ImageButton&lt;br /&gt;
&lt;b&gt;android:id=&quot;@+id/ButtonBacktoHome&quot;&lt;/b&gt;&lt;br /&gt;
android:layout_width=&quot;wrap_content&quot;&lt;br /&gt;
android:layout_height=&quot;wrap_content&quot;&lt;br /&gt;
&lt;b&gt;android:text=&quot;@string/Back&quot;&lt;/b&gt;&lt;br /&gt;
android:layout_x=&quot;120px&quot;&lt;br /&gt;
android:layout_y=&quot;90px&quot;&lt;br /&gt;
&lt;b&gt;android:src=&quot;@drawable/memo&quot;&lt;/b&gt;&lt;br /&gt;
/&amp;gt;&lt;br /&gt;
&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://onplain-ian.blogspot.com/feeds/8760088244375860036/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://onplain-ian.blogspot.com/2011/04/androidproject-coding.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1644975525711680021/posts/default/8760088244375860036'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1644975525711680021/posts/default/8760088244375860036'/><link rel='alternate' type='text/html' href='http://onplain-ian.blogspot.com/2011/04/androidproject-coding.html' title='[Android]Project coding注意事項'/><author><name>dolphins</name><uri>http://www.blogger.com/profile/08475298453513001125</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1644975525711680021.post-8763088611808675919</id><published>2011-04-08T00:44:00.001-07:00</published><updated>2011-04-08T01:04:41.264-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Android"/><title type='text'>[Android]利用Java Class繼承View來呈現Android畫面</title><content type='html'>&lt;div style=&quot;text-align: center;&quot;&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;要設計Android的畫面有兩種方式:&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;一種是仿間書本都會教的第一招，利用xml來寫畫面。&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;二種則是用java來寫，透過class繼承view這個類別來達成。&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;目標:&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;1.利用java來呈現android手機畫面、&lt;/div&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;2.滑鼠點擊螢幕拖動圖形。&lt;/div&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgQd__MXj2OhN1WXYu6oVEZejga8wLDFd7t1mwQZbRAR5wwy_pb63s4nXushP50OYRugyXkD8SbIyo_EYHlARjUcuBDsq_KTgi6zFqaSl9Z4gj__nESlU2cSHWMRAycYEMLamT9A4bjCkg/s1600/2011-03-27_144810.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;576&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgQd__MXj2OhN1WXYu6oVEZejga8wLDFd7t1mwQZbRAR5wwy_pb63s4nXushP50OYRugyXkD8SbIyo_EYHlARjUcuBDsq_KTgi6zFqaSl9Z4gj__nESlU2cSHWMRAycYEMLamT9A4bjCkg/s640/2011-03-27_144810.jpg&quot; style=&quot;cursor: move;&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;先開一個新專案，Application name是會顯示在手機軟體列上的名稱，對一個軟體的辨識度有很大的影響，Package name是這個Project的資料夾結構，最內部就是放著.java檔，通常都習慣把網址倒過來寫，Create Activity是替你先創造一個Activity，一個Android軟體一定要有一個Activity(活動)， 手機才能執行，這裡就先幫他取名，Mini SDK Version就看你上面勾選哪個版本就照用吧。&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj_TI92pRlrOxZAxyv0VgS2Nw206_OxcJa20WpZ5nl6AcBKjVIpJuqkntG17Z5syDELJTMmO3zEcJF4Ol_RgNWunDmTwf2jb3ZzNyu-_p-ZFE1CXa9Ze4xxOdsmrO3bglI9nFELkPP2r0Q/s1600/2011-03-27_145332.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;344&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj_TI92pRlrOxZAxyv0VgS2Nw206_OxcJa20WpZ5nl6AcBKjVIpJuqkntG17Z5syDELJTMmO3zEcJF4Ol_RgNWunDmTwf2jb3ZzNyu-_p-ZFE1CXa9Ze4xxOdsmrO3bglI9nFELkPP2r0Q/s640/2011-03-27_145332.jpg&quot; style=&quot;cursor: move;&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;除了我自己上的註解外，這是剛開始最乾淨的Activity。我們就是要把&amp;nbsp;&amp;nbsp;setContentView(R.layout.main);原本是抓取資源檔 layout內的main.xml改成我們自己寫的java class。&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhaV9z4xuAzu_Yh9Xuyt5iVRwss-DXIzsTtDEhclyVXiiTe7PIFhlPMl86HdJPfZWqjAY0ztd3q7cEu6nMMI5UWyUQvHCBy5nSw05yuENgTU222oYnFp3rbJfgk5pAHVawvGvFJQwX4eTU/s1600/2011-03-27_145435.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;344&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhaV9z4xuAzu_Yh9Xuyt5iVRwss-DXIzsTtDEhclyVXiiTe7PIFhlPMl86HdJPfZWqjAY0ztd3q7cEu6nMMI5UWyUQvHCBy5nSw05yuENgTU222oYnFp3rbJfgk5pAHVawvGvFJQwX4eTU/s640/2011-03-27_145435.jpg&quot; style=&quot;cursor: move;&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;在專案上點右鍵，新增一個Class。&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg3rwcd0ye05lhhLqyWNxGMR49syXGRwiCl4Kpgk6-8ai5wlfE_-mljSvxVT08lLkTpIf2XpKCRZT9bb8QtkMHxhKkuxTfTo41wWrSuI7VyUWOWmZfv1HHxKIHCrNhHssnOzMNhOgG3IKY/s1600/2011-03-27_145714.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;380&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg3rwcd0ye05lhhLqyWNxGMR49syXGRwiCl4Kpgk6-8ai5wlfE_-mljSvxVT08lLkTpIf2XpKCRZT9bb8QtkMHxhKkuxTfTo41wWrSuI7VyUWOWmZfv1HHxKIHCrNhHssnOzMNhOgG3IKY/s640/2011-03-27_145714.jpg&quot; style=&quot;cursor: move;&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;剛開始最乾淨的class&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhPpK8NG4UGaAEe76UYL0nHqHUXaKRD9A7cTTU8nbXYe8fhkQAUrqoYIMf-gHpC7rWaYnkbnkD8WDi07BMJVG-p5TkbljkjBD2d8DOxPJ72Rv09NWIUPMfhB5aN-laWvGvd66cPrsr2OPc/s1600/2011-03-27_150219.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;378&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhPpK8NG4UGaAEe76UYL0nHqHUXaKRD9A7cTTU8nbXYe8fhkQAUrqoYIMf-gHpC7rWaYnkbnkD8WDi07BMJVG-p5TkbljkjBD2d8DOxPJ72Rv09NWIUPMfhB5aN-laWvGvd66cPrsr2OPc/s640/2011-03-27_150219.jpg&quot; style=&quot;cursor: move;&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;先讓他extends View，會有錯誤。&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhJrxrAgELTbpGMyts5Smg9CRbzpsrlz0tCOx3aZJz9Uzri8HcuJrrigR4mvrM9MXVjrW4rzwiU9cWiM_Fx9McgrnLWegIMniKH4LkFxpCuZ11I8VbxsGfhXogUsEzptc2cQPYhCnmFu9w/s1600/2011-03-27_150240.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;370&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhJrxrAgELTbpGMyts5Smg9CRbzpsrlz0tCOx3aZJz9Uzri8HcuJrrigR4mvrM9MXVjrW4rzwiU9cWiM_Fx9McgrnLWegIMniKH4LkFxpCuZ11I8VbxsGfhXogUsEzptc2cQPYhCnmFu9w/s640/2011-03-27_150240.jpg&quot; style=&quot;cursor: move;&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;再利用ctrl+shift+O，讓系統自動幫你import。import之後還是會有錯誤，是因為View有規定你必須要擁有建構函式。&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh8SZO1zM7BZUsVbEMD-UGldqEApw9tnHIIx_-B4-tEOCQCtTqjasDgg32ws08FMZAhQBA8pI_1oXZKC2WyZr7zZgsE4b8uAYbVZnHK0KHhCvsYzXCDEOARLzg76nwKmnFrGWGrYwj6dpM/s1600/2011-03-27_150327.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;374&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh8SZO1zM7BZUsVbEMD-UGldqEApw9tnHIIx_-B4-tEOCQCtTqjasDgg32ws08FMZAhQBA8pI_1oXZKC2WyZr7zZgsE4b8uAYbVZnHK0KHhCvsYzXCDEOARLzg76nwKmnFrGWGrYwj6dpM/s640/2011-03-27_150327.jpg&quot; style=&quot;cursor: move;&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;&amp;nbsp;在錯誤紅線上停留，他就會提示你該要怎麼做。建構函式有了，錯誤就解決了。&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiKxwUnADxMdjv6Wa02w9BlMdI0rXIMmfIc1clOr4SiNMDVl2j-V3N05QFbZ9LKwVP4IoAdlzyU8Ljjtg4SJJomMSP2HeYy0SQGL1fvFvIcPXy0n7EmyhgfIA7kBAOx7uFB_aaELL66LSs/s1600/2011-03-28_150336.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;288&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiKxwUnADxMdjv6Wa02w9BlMdI0rXIMmfIc1clOr4SiNMDVl2j-V3N05QFbZ9LKwVP4IoAdlzyU8Ljjtg4SJJomMSP2HeYy0SQGL1fvFvIcPXy0n7EmyhgfIA7kBAOx7uFB_aaELL66LSs/s640/2011-03-28_150336.jpg&quot; style=&quot;cursor: move;&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;&amp;nbsp;&amp;nbsp;繼承View的class架構好了，Activity就拿來用吧，利用setContentView(m_MyView_01)。&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEge4lnbgqt1pNI_mq-wKQWMIWid78QSifI8-aJDzr9uILMjeUpsFL3QTv3dzqeTSgfG_W-ttPDYM9lyXrwazo05U2QTBcp1pCViThE0KmlaxXP8i61Rq2frrprWjXMj_9klkzSQuKRvG3o/s1600/2011-03-28_143549.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;280&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEge4lnbgqt1pNI_mq-wKQWMIWid78QSifI8-aJDzr9uILMjeUpsFL3QTv3dzqeTSgfG_W-ttPDYM9lyXrwazo05U2QTBcp1pCViThE0KmlaxXP8i61Rq2frrprWjXMj_9klkzSQuKRvG3o/s640/2011-03-28_143549.jpg&quot; style=&quot;cursor: move;&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;複寫onDraw，Canvas就如同畫布一般。&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEifzDNHsPKhumNoqiq0iiB9yV5e7XE4c5wzgnZIAfKpSRWyZL_D9ZPP8jL8MhyphenhyphenUnhhio2szOxeGp_KvlR9_PUwD5EZyOuQQfHIQRcGQEzt8ieZYVkXFotYobFtQxwyc9eDj2x773HNOcqU/s1600/2011-03-28_144046.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;308&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEifzDNHsPKhumNoqiq0iiB9yV5e7XE4c5wzgnZIAfKpSRWyZL_D9ZPP8jL8MhyphenhyphenUnhhio2szOxeGp_KvlR9_PUwD5EZyOuQQfHIQRcGQEzt8ieZYVkXFotYobFtQxwyc9eDj2x773HNOcqU/s640/2011-03-28_144046.jpg&quot; style=&quot;cursor: move;&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;canvas.drawColor(顏色)，顏色可以是色碼，或是android API設的常態變數。&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhZHknkoUZl4zSxyNegzV1eRUYgbmgA2oMeSCZhMrIP0XBsoYCSy8QQG9S4paQmi2uvDUvBVi4gdhDq9w_wJha9__OuwhP9dpmORy1NfKRgl0uN9eQRJ_iayHCfR1h3IOraK7WS2rOtWXI/s1600/2011-03-28_144153.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;300&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhZHknkoUZl4zSxyNegzV1eRUYgbmgA2oMeSCZhMrIP0XBsoYCSy8QQG9S4paQmi2uvDUvBVi4gdhDq9w_wJha9__OuwhP9dpmORy1NfKRgl0uN9eQRJ_iayHCfR1h3IOraK7WS2rOtWXI/s640/2011-03-28_144153.jpg&quot; style=&quot;cursor: move;&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;Color.呼叫常態變數&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEge-non8mnTLTQWi_JxNTI4nbt2cZly6AL3DQ2v36ONbPK0HkkL-ffVBmIH3rZBoj-gprQk1zf1b__Sl2EGCccQkA9Bs1RRj15HsD1uUavl-IMpNVb-sdmM0ryxGx-RUiNGMGS-pHCy9hc/s1600/2011-03-28_155808.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;288&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEge-non8mnTLTQWi_JxNTI4nbt2cZly6AL3DQ2v36ONbPK0HkkL-ffVBmIH3rZBoj-gprQk1zf1b__Sl2EGCccQkA9Bs1RRj15HsD1uUavl-IMpNVb-sdmM0ryxGx-RUiNGMGS-pHCy9hc/s640/2011-03-28_155808.jpg&quot; style=&quot;cursor: move;&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;以40為間隔劃出水平線。&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj777TFI0aPxfSz3NkW7eTKsrOYCezTn2jI6f5jIiqCu-Q_Xs2WcztiFVsPyCp9Y6wurIbpOmLo3G6hIxMzoiqEsqJjusKj_o94sKPfZHaRhso8nSA_HjEcjYtBtumGgYgot2jTO7g8D7U/s1600/2011-03-28_155442.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;596&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj777TFI0aPxfSz3NkW7eTKsrOYCezTn2jI6f5jIiqCu-Q_Xs2WcztiFVsPyCp9Y6wurIbpOmLo3G6hIxMzoiqEsqJjusKj_o94sKPfZHaRhso8nSA_HjEcjYtBtumGgYgot2jTO7g8D7U/s640/2011-03-28_155442.jpg&quot; style=&quot;cursor: move;&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;呈現結果。&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhZ92JyTAndx5cFnFgCso0g7CsGghXzTFtn6wBp8WCrg_h4gbPyLM9Mmb5DRazF0EQyCx7oFcFYiSGulNruuEyAH1JghYvGKrbTRomQ1G1wZDO61vseHQuFynG_oklkM9iifv8_qor_jIs/s1600/2011-03-29_003524.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;344&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhZ92JyTAndx5cFnFgCso0g7CsGghXzTFtn6wBp8WCrg_h4gbPyLM9Mmb5DRazF0EQyCx7oFcFYiSGulNruuEyAH1JghYvGKrbTRomQ1G1wZDO61vseHQuFynG_oklkM9iifv8_qor_jIs/s640/2011-03-29_003524.jpg&quot; style=&quot;cursor: move;&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;再畫垂直線。&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjItUtT6QJrwW1NXGnN9SJZTPptJrG43YBXJsYKmn-JvTABiCdE1jQzi9VyTr4936idMwmqtKNju9wow-nWw1eVyZm6XLsMQ-VHx9Vfx9Db4isl_wVLXp1PTOT_NIis4I7wC_HXhCcL1pY/s1600/2011-03-29_003603.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;344&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjItUtT6QJrwW1NXGnN9SJZTPptJrG43YBXJsYKmn-JvTABiCdE1jQzi9VyTr4936idMwmqtKNju9wow-nWw1eVyZm6XLsMQ-VHx9Vfx9Db4isl_wVLXp1PTOT_NIis4I7wC_HXhCcL1pY/s640/2011-03-29_003603.jpg&quot; style=&quot;cursor: move;&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;畫圓。&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjf0P5dzWkOMXqFvHFa2FsMA2qcB-PqSFZ0hpwM3LEy5V3fbH4F1BET7EEBuF_UGppa1pSBx8qJJv73Cvbur3pHhQx9y_65HmLuuVw-W65fAEDkb6zXuT0ByaNB3X83wQj9iVzne7CBqYc/s1600/2011-03-29_005804.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;306&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjf0P5dzWkOMXqFvHFa2FsMA2qcB-PqSFZ0hpwM3LEy5V3fbH4F1BET7EEBuF_UGppa1pSBx8qJJv73Cvbur3pHhQx9y_65HmLuuVw-W65fAEDkb6zXuT0ByaNB3X83wQj9iVzne7CBqYc/s640/2011-03-29_005804.jpg&quot; style=&quot;cursor: move;&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;將圓的座標直徑設為全域變數。&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj3vzAfp87ar6tm7ObRBkLStomkid5e_St-g_2gk67vky2UTcgTejQz1KgQBh218n97ZytrWju8Mlum_LBHaYDBIGLxxTHB1QIOu1kFj4meCWUwvmz9hjimNyXmGPFgWb71-uOTvAswAS8/s1600/2011-03-29_022440.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;310&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj3vzAfp87ar6tm7ObRBkLStomkid5e_St-g_2gk67vky2UTcgTejQz1KgQBh218n97ZytrWju8Mlum_LBHaYDBIGLxxTHB1QIOu1kFj4meCWUwvmz9hjimNyXmGPFgWb71-uOTvAswAS8/s640/2011-03-29_022440.jpg&quot; style=&quot;cursor: move;&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;判斷手指是否有點到圓。&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjUIVeqQKFkS63UrNTYRSO8yF5RbEJWHsLI0qTuItH1oWrPY1AnZw9C9RqgkLyJ8PbBIXQLq9EqON7wKgM7V9LsrZRD4VAncKqRny_K0m2D1ToaX0H6glepkJDetlglhkgurtQsTXaqG4U/s1600/2011-03-29_102216.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;310&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjUIVeqQKFkS63UrNTYRSO8yF5RbEJWHsLI0qTuItH1oWrPY1AnZw9C9RqgkLyJ8PbBIXQLq9EqON7wKgM7V9LsrZRD4VAncKqRny_K0m2D1ToaX0H6glepkJDetlglhkgurtQsTXaqG4U/s640/2011-03-29_102216.jpg&quot; style=&quot;cursor: move;&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;&amp;nbsp;移動圓以及離開圓的動作function&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgLTcHLzkdawjgZSb_zLq6IzyZaHYI5laHKcQaLk0aFalxAWz3AHn4MZlo493hZqTBa5rpZWuCTZ0kdrZWNaWefIDbsGl4EShzfieTURzvFIB96jMggF-HP6_SkjquZzsqUmkt7QR-BHs4/s1600/2011-03-29_102826.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;344&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgLTcHLzkdawjgZSb_zLq6IzyZaHYI5laHKcQaLk0aFalxAWz3AHn4MZlo493hZqTBa5rpZWuCTZ0kdrZWNaWefIDbsGl4EShzfieTURzvFIB96jMggF-HP6_SkjquZzsqUmkt7QR-BHs4/s640/2011-03-29_102826.jpg&quot; style=&quot;cursor: move;&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;Thread設置，這樣才可以一直刷新圓的位置。&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEguR3J-YkZuCp1aIimAnK0EdqhLyT-WltoEUNvFXOrs_mmG1v9C2Aw8z8sm2Q8omJ8yn4wRCQIuOwx_4ON3GqDKGaAKKQr0ZtQxZxmc1d9akqN4gn0TBQ3G0SdAskqXkzuNGGTUJi6J1-c/s1600/2011-03-29_103004.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;344&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEguR3J-YkZuCp1aIimAnK0EdqhLyT-WltoEUNvFXOrs_mmG1v9C2Aw8z8sm2Q8omJ8yn4wRCQIuOwx_4ON3GqDKGaAKKQr0ZtQxZxmc1d9akqN4gn0TBQ3G0SdAskqXkzuNGGTUJi6J1-c/s640/2011-03-29_103004.jpg&quot; style=&quot;cursor: move;&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;設定優先權。&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgmEd8i4WyWU80m3bBetiBKfW8fAaztdxIEGF5iuuexhHzTgsNMLEcouqgBj95GBUL2zkDxK_Auv4iSZ-KOngMQKhEeo1qGy2dnDUZBF52irUDLBHkQLopWmOvI0dX_taKsHjRCDaWZcSg/s1600/2011-03-29_105123.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;344&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgmEd8i4WyWU80m3bBetiBKfW8fAaztdxIEGF5iuuexhHzTgsNMLEcouqgBj95GBUL2zkDxK_Auv4iSZ-KOngMQKhEeo1qGy2dnDUZBF52irUDLBHkQLopWmOvI0dX_taKsHjRCDaWZcSg/s640/2011-03-29_105123.jpg&quot; style=&quot;cursor: move;&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;在Activity中複寫onTouchEvent，偵測MotionEvent。&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhAD9lToViD12fx-2q-6WVPseilRlPuVBY3m-kARCEaULCL3NuehlS-e4J0075L9Xz4jXG0MHviflf5HKxWx9ht4vIGUSiHDs8vwQuZmWapqXm3t8JLuuAoriIZm6wPoDbmBchv4Lldtqc/s1600/2011-03-29_105152.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;344&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhAD9lToViD12fx-2q-6WVPseilRlPuVBY3m-kARCEaULCL3NuehlS-e4J0075L9Xz4jXG0MHviflf5HKxWx9ht4vIGUSiHDs8vwQuZmWapqXm3t8JLuuAoriIZm6wPoDbmBchv4Lldtqc/s640/2011-03-29_105152.jpg&quot; style=&quot;cursor: move;&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;android api的常態變數。&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi86-rcOw_QiJ6pwWRJr9B2fGCZMJs9ARl72BSVygt9pVGG0DwiLFlomU526XFj6YiL1p51nzuWejBN80Ne3FH4Heb8FmpL-bCXoNvK2qbYl8I8PP343jO0vqmv1PYm-M_PN3SNIM9L844/s1600/2011-03-29_111914.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;330&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi86-rcOw_QiJ6pwWRJr9B2fGCZMJs9ARl72BSVygt9pVGG0DwiLFlomU526XFj6YiL1p51nzuWejBN80Ne3FH4Heb8FmpL-bCXoNvK2qbYl8I8PP343jO0vqmv1PYm-M_PN3SNIM9L844/s640/2011-03-29_111914.jpg&quot; style=&quot;cursor: move;&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;手指按下、移動、拿起的位置偵測，再丟給View的function處理。&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj6mbMENBN0tyMFN7_SUMBcgjj12Rs550eFw1xa1L3h9NvtHOhAgmvlD7OztrBXvaNSMH-Td2FbJFvOZBkpQh_cZuav9mtA0A7sO4wpkdiCo5Wz9Z0Q2F5Ra13JWLeZI1s72XEp10_xlyE/s1600/2011-03-29_120025.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;334&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj6mbMENBN0tyMFN7_SUMBcgjj12Rs550eFw1xa1L3h9NvtHOhAgmvlD7OztrBXvaNSMH-Td2FbJFvOZBkpQh_cZuav9mtA0A7sO4wpkdiCo5Wz9Z0Q2F5Ra13JWLeZI1s72XEp10_xlyE/s640/2011-03-29_120025.jpg&quot; style=&quot;cursor: move;&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;之前發現圓不會動!!!原來是忘了設true!!!&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;結果測試的結果，不在圓上也可以移動圓!!!怪了!!!&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiLF0YgE5X9ayVBkocjDH7djbx_vlXy2O9OtBf0sjbpIyMq1mvet6n6T2jbH9EvgPpgM1EzbtBSmjoE_xUjy3l7OlfMqgzOn7wIhHsc0ygIm5aL_30JVHAvgrtMwRlG7ez_y9X1KODN_-k/s1600/2011-04-01_162018.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;238&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiLF0YgE5X9ayVBkocjDH7djbx_vlXy2O9OtBf0sjbpIyMq1mvet6n6T2jbH9EvgPpgM1EzbtBSmjoE_xUjy3l7OlfMqgzOn7wIhHsc0ygIm5aL_30JVHAvgrtMwRlG7ez_y9X1KODN_-k/s640/2011-04-01_162018.jpg&quot; style=&quot;cursor: move;&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;原來是我在移動圓的判斷是這邊寫錯啦...找好久。m_bIsTouchDownCircle是boolean變數啦!&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiL1S5tBFNP9NUYDyOtXufWIe4hmQclB2iBmsjYZcbncxrAt1vJ-Gmq6IoT0C11uCobqRBw7Krt5-bap31W5VfWBctPbJxnry4TD2_4Jpj1wvCqk4ODklErPZ8_TcYa7vHGVdwGxup4L8U/s1600/2011-04-01_162052.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;238&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiL1S5tBFNP9NUYDyOtXufWIe4hmQclB2iBmsjYZcbncxrAt1vJ-Gmq6IoT0C11uCobqRBw7Krt5-bap31W5VfWBctPbJxnry4TD2_4Jpj1wvCqk4ODklErPZ8_TcYa7vHGVdwGxup4L8U/s640/2011-04-01_162052.jpg&quot; style=&quot;cursor: move;&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;直接放if內就好了。&lt;/div&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjv1TOJX_ELrOGiWbhV36uwhWSa1c8-q-ArZZtnRCvn9nw0UyRIt-kRamkmkWzjQAVH89gDgLFZyYXV6T95gzmSc-DqcwrixXUdxVvwAMbrTRblnAHuhEt6HKsPZwA2px5lSzqH5Axk4Hk/s1600/2011-04-01_172248.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;320&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjv1TOJX_ELrOGiWbhV36uwhWSa1c8-q-ArZZtnRCvn9nw0UyRIt-kRamkmkWzjQAVH89gDgLFZyYXV6T95gzmSc-DqcwrixXUdxVvwAMbrTRblnAHuhEt6HKsPZwA2px5lSzqH5Axk4Hk/s320/2011-04-01_172248.jpg&quot; style=&quot;cursor: move;&quot; width=&quot;192&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;最後結果。&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://onplain-ian.blogspot.com/feeds/8763088611808675919/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://onplain-ian.blogspot.com/2011/04/androidjava-classviewandroid.html#comment-form' title='1 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1644975525711680021/posts/default/8763088611808675919'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1644975525711680021/posts/default/8763088611808675919'/><link rel='alternate' type='text/html' href='http://onplain-ian.blogspot.com/2011/04/androidjava-classviewandroid.html' title='[Android]利用Java Class繼承View來呈現Android畫面'/><author><name>dolphins</name><uri>http://www.blogger.com/profile/08475298453513001125</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgQd__MXj2OhN1WXYu6oVEZejga8wLDFd7t1mwQZbRAR5wwy_pb63s4nXushP50OYRugyXkD8SbIyo_EYHlARjUcuBDsq_KTgi6zFqaSl9Z4gj__nESlU2cSHWMRAycYEMLamT9A4bjCkg/s72-c/2011-03-27_144810.jpg" height="72" width="72"/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1644975525711680021.post-8921979214756394614</id><published>2011-04-08T00:43:00.001-07:00</published><updated>2011-04-08T01:05:35.536-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Android"/><category scheme="http://www.blogger.com/atom/ns#" term="Eclipse"/><title type='text'>[Android] 模擬器太大如何調整Size</title><content type='html'>&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;你要改變模擬器的比例，例如320x480轉成480x800(HTC Desire的size)，卻因為筆電螢幕太小，模擬器超出螢幕過多時，就可以選擇Scale等比例縮小。&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiAWOiYZfF7Lgt2UovLQkq8DNchoR79jA0iiGqeZloB5lMTfq_DHJRaItbd5rA5sucokCYinUKLxoUhK5coXeWCRhCfYn9EUMqxIg_CIqt-eAaRi1j1DN9BaKPNht2SqQ2qcyqp7bhRfvc/s1600/2011-03-28_154927.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;370&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiAWOiYZfF7Lgt2UovLQkq8DNchoR79jA0iiGqeZloB5lMTfq_DHJRaItbd5rA5sucokCYinUKLxoUhK5coXeWCRhCfYn9EUMqxIg_CIqt-eAaRi1j1DN9BaKPNht2SqQ2qcyqp7bhRfvc/s640/2011-03-28_154927.jpg&quot; style=&quot;cursor: move;&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;先開啟Android SDK and AVD Manager，選擇模擬氣候按Start...&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhnkDsa_rMcbSjGpYhD3IIHpsxJdIJC-HrhkgEojZ_mzC9rMWDUWCLFSLlr68CuFMPiGTImyTUP2q423iWmJFMerP5qRYlkAIIUfteGlIydM6myxnsMfuUzECYiYC1izEZQIdggxZaU5lw/s1600/2011-03-28_154951.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhnkDsa_rMcbSjGpYhD3IIHpsxJdIJC-HrhkgEojZ_mzC9rMWDUWCLFSLlr68CuFMPiGTImyTUP2q423iWmJFMerP5qRYlkAIIUfteGlIydM6myxnsMfuUzECYiYC1izEZQIdggxZaU5lw/s400/2011-03-28_154951.jpg&quot; style=&quot;cursor: move;&quot; width=&quot;271&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;&amp;nbsp;&amp;nbsp;勾選 &amp;nbsp;Scale display to real size，調整參數就可以放大縮小了。&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi2GyT9VF1aHVWaGoglIi3wiLIHCAmJfKXkCzd0rvB687a31caO0bC1-MxzpxYkOBxDJq_yhZ7Y3mM91RHWSKb7ZIuRqhw-QZ6roVC3ybwjoSmPxfM8ZzwEvfJNqIhAJKOc69FVK82BEuo/s1600/2011-03-28_155114.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;344&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi2GyT9VF1aHVWaGoglIi3wiLIHCAmJfKXkCzd0rvB687a31caO0bC1-MxzpxYkOBxDJq_yhZ7Y3mM91RHWSKb7ZIuRqhw-QZ6roVC3ybwjoSmPxfM8ZzwEvfJNqIhAJKOc69FVK82BEuo/s640/2011-03-28_155114.jpg&quot; style=&quot;cursor: move;&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;呈現出480x800的縮小版介面&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: left;&quot;&gt;比較麻煩的是每次都要透過Android SDK and AVD Manager開起來選擇，不能在debug 、run as的時候選擇。&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://onplain-ian.blogspot.com/feeds/8921979214756394614/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://onplain-ian.blogspot.com/2011/04/android-size.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1644975525711680021/posts/default/8921979214756394614'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1644975525711680021/posts/default/8921979214756394614'/><link rel='alternate' type='text/html' href='http://onplain-ian.blogspot.com/2011/04/android-size.html' title='[Android] 模擬器太大如何調整Size'/><author><name>dolphins</name><uri>http://www.blogger.com/profile/08475298453513001125</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiAWOiYZfF7Lgt2UovLQkq8DNchoR79jA0iiGqeZloB5lMTfq_DHJRaItbd5rA5sucokCYinUKLxoUhK5coXeWCRhCfYn9EUMqxIg_CIqt-eAaRi1j1DN9BaKPNht2SqQ2qcyqp7bhRfvc/s72-c/2011-03-28_154927.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1644975525711680021.post-6422796702688071097</id><published>2011-04-08T00:42:00.000-07:00</published><updated>2011-04-08T01:04:41.264-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Android"/><title type='text'>[Android]將自行開發的Android程式安裝進Device內</title><content type='html'>&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;編寫玩自己的Android程式要放進手機裡有兩種方法:&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;一種是把.apk檔放入SD卡內安裝。(還有問題)&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;二種是把Android手機接上USB直接編譯上去。&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;先來介紹第一種:&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;你要將 軟體名稱.apk檔，從workspace\專案名稱\bin 內抓出來直接放到SD卡內，再透過類似檔案總管的手機軟體將她打開，選擇安裝就可以了。但是如果你有使用googlemap api，這樣直接到手機裡面會有指紋簽署(fingerprint)的問題，在使用google map api的畫面上，會無法開啟地圖，目前我還不知道如何解決。&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjBeY4DvlV_R3w15zd_aESUCkfANsjK-8fAvi8zjjeR7p9-FLOEojUt4DrDaPpmdvayPEKT1sEFDInCfu8PefeC7pc8HpNIEM6fBCnc7_9MCd1g9kHY6qN0Sw_f9yNh-kqbkpfcbvliAfo/s1600/2011-03-28_131045.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;386&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjBeY4DvlV_R3w15zd_aESUCkfANsjK-8fAvi8zjjeR7p9-FLOEojUt4DrDaPpmdvayPEKT1sEFDInCfu8PefeC7pc8HpNIEM6fBCnc7_9MCd1g9kHY6qN0Sw_f9yNh-kqbkpfcbvliAfo/s640/2011-03-28_131045.jpg&quot; style=&quot;cursor: move;&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;每個專案的.apk，都會在相似的位置。&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: left;&quot;&gt;第二種方法，也是比較方便的方法，就是透過eclipse Run as 或是 Debug as 的狀態下選擇你要執行的Device，一般沒有手機就是直接用虛擬機器執行。這方法不會有google map api認證上的問題。&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhmgtQF3O6wgJMY2h8KMEn8nWvdN6tmtfgr-X2qJXd1Npzzu3xHVNALXIBs9gV7xqYlP_BMy2GcQWzIblKGfa0V6LVR5jH683peyM6lKwR1S__ah0xglrAxlSJEUtSjsFx6NfnZ2AZ_xiE/s1600/2011-03-28_131818.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;344&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhmgtQF3O6wgJMY2h8KMEn8nWvdN6tmtfgr-X2qJXd1Npzzu3xHVNALXIBs9gV7xqYlP_BMy2GcQWzIblKGfa0V6LVR5jH683peyM6lKwR1S__ah0xglrAxlSJEUtSjsFx6NfnZ2AZ_xiE/s640/2011-03-28_131818.jpg&quot; style=&quot;cursor: move;&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;別忘了先更改Run Configurations。&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: left;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhmc0Wiwj6c3o2Qp6hTxsZsQ8v2gzFsasO_9Ex4Uw82y-UeriApA1IUcqD5nRjScGjnh0EZgQUtOaIHM7rDaMeG3ljQxVNBib20sw3RuIsNORBtRinU_vf-1nZf-MXpWomTB_wT3j1t5QM/s1600/2011-03-28_131741.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;512&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhmc0Wiwj6c3o2Qp6hTxsZsQ8v2gzFsasO_9Ex4Uw82y-UeriApA1IUcqD5nRjScGjnh0EZgQUtOaIHM7rDaMeG3ljQxVNBib20sw3RuIsNORBtRinU_vf-1nZf-MXpWomTB_wT3j1t5QM/s640/2011-03-28_131741.jpg&quot; style=&quot;cursor: move;&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;在Run Configurations更改Deployment Target為Manual，才可以手動選擇要開啟的device。&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjyhdbX9G5Gqo836SYvJQ7ASyJswT8Q74UjpREKRNvH4WECgL5d1yuCnW-NcUBs5cyVSXIBqQZPb6iZp3kM-u2mmdTPGwMKoT_sz4SSq5IJEeR6BkDLJwAydavtiUWP31qNAqqQfPn_y5M/s1600/2011-03-28_131904.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;430&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjyhdbX9G5Gqo836SYvJQ7ASyJswT8Q74UjpREKRNvH4WECgL5d1yuCnW-NcUBs5cyVSXIBqQZPb6iZp3kM-u2mmdTPGwMKoT_sz4SSq5IJEeR6BkDLJwAydavtiUWP31qNAqqQfPn_y5M/s640/2011-03-28_131904.jpg&quot; style=&quot;cursor: move;&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;看到手機裝置，點下去就對了。同時也可以利用實體手機同時偵錯。&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: left;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: left;&quot;&gt;例外狀況:你可能接上手機後還是沒有看到Device在上面，那很有可能是沒有裝手機的driver，像我是HTC desire的手機，剛開始也沒抓到，只要安裝HTC sync，裡面包含驅動程式，就可以抓的到了!各家驅動程式在官網上應該就都有了。&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;參考網址:&lt;a href=&quot;http://www.htc.com/www/supportdownloadlist.aspx?p_id=312&amp;amp;act=sd&amp;amp;cat=all&quot;&gt;http://www.htc.com/www/supportdownloadlist.aspx?p_id=312&amp;amp;act=sd&amp;amp;cat=all&lt;/a&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://onplain-ian.blogspot.com/feeds/6422796702688071097/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://onplain-ian.blogspot.com/2011/04/androidandroiddevice.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1644975525711680021/posts/default/6422796702688071097'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1644975525711680021/posts/default/6422796702688071097'/><link rel='alternate' type='text/html' href='http://onplain-ian.blogspot.com/2011/04/androidandroiddevice.html' title='[Android]將自行開發的Android程式安裝進Device內'/><author><name>dolphins</name><uri>http://www.blogger.com/profile/08475298453513001125</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjBeY4DvlV_R3w15zd_aESUCkfANsjK-8fAvi8zjjeR7p9-FLOEojUt4DrDaPpmdvayPEKT1sEFDInCfu8PefeC7pc8HpNIEM6fBCnc7_9MCd1g9kHY6qN0Sw_f9yNh-kqbkpfcbvliAfo/s72-c/2011-03-28_131045.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1644975525711680021.post-4997308478150529382</id><published>2011-04-08T00:39:00.001-07:00</published><updated>2011-04-08T01:04:41.265-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Android"/><title type='text'>[Android] 利用XML來呈現Android的畫面</title><content type='html'>&lt;div style=&quot;text-align: center;&quot;&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;要設計Android的畫面有兩種方式:&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;一種是仿間書本都會教的第一招，利用xml來寫畫面。&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;二種則是用java來寫，透過class繼承view這個類別來達成。&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;目標:&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;1.介紹利用xml來呈現Android手機的畫面的編輯平台、&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;2.ADT for Eclipse的方便性、&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;3.以及如何讓軟體能夠符合多種size的螢幕。&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhatgXD076S-zCfs8oWrkt3DYIn27D0vPPMeZATtpcPDhJXNf9JECk7i9p7hUqDK_IQCmR5FjXE3EKROZlIU1ehzRiu9jKoYkQahC8PttrE8Uasa66CMo90hOLhna3nTNVOz6AStGW816Q/s1600/2011-03-27_125818.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;344&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhatgXD076S-zCfs8oWrkt3DYIn27D0vPPMeZATtpcPDhJXNf9JECk7i9p7hUqDK_IQCmR5FjXE3EKROZlIU1ehzRiu9jKoYkQahC8PttrE8Uasa66CMo90hOLhna3nTNVOz6AStGW816Q/s640/2011-03-27_125818.jpg&quot; style=&quot;cursor: move;&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;Project-&amp;gt;res資料夾-&amp;gt;layout資料夾，就是我們放xml檔的地方。&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;中下處選擇Graphical Layout，就會以圖形的方式呈現畫面，元件的使用在ADT for Eclipse也做的非常方便，palette內就可以選擇你想要的元件。例如layouts是包含各種的排版方式，拖曳到畫面上就可以使用了。&lt;/div&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjOH5zwQGzPYGIDbriOy63Gx1rLJGKTL_7uHD3ISKXxrC4Ora_9Q4dgsomLqVMGFMbl3tMXmi8b0i1SxY9R-zLBmarp82dtozCMJiUpnLI6vfRGjaT5jPWtzFx_S5e9QVsQbdAyxApPEM4/s1600/2011-03-27_133826.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;344&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjOH5zwQGzPYGIDbriOy63Gx1rLJGKTL_7uHD3ISKXxrC4Ora_9Q4dgsomLqVMGFMbl3tMXmi8b0i1SxY9R-zLBmarp82dtozCMJiUpnLI6vfRGjaT5jPWtzFx_S5e9QVsQbdAyxApPEM4/s640/2011-03-27_133826.jpg&quot; style=&quot;cursor: move;&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;上方的下拉選單，可以呈現出你現在layout在不同size的螢幕下會是怎樣的情況，當然要做到一次符合每個size的layout是有點困難(當然還是有辦法，後半會說到)，Portrait是表示為直的顯示方式，Theme我還不是很清楚，但似乎可以選擇畫面是沒有大部分手機上常出現的狀態列，再來是選擇你layout的版本，目前是Android2.1-update1。&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjMlYXLTsWJamPuycuXAblc8zgwMAqW6Q6IMDI310KHm6Lm4l88cm3H8wJMAd7wp4Xdos41-__PwekGFMkgk4vFM8VD7z2nfauYY9ZANStb3ZrgLzKZQiClqfacw4I3XrFJFSfNgP4sC6U/s1600/2011-03-27_125829.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;344&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjMlYXLTsWJamPuycuXAblc8zgwMAqW6Q6IMDI310KHm6Lm4l88cm3H8wJMAd7wp4Xdos41-__PwekGFMkgk4vFM8VD7z2nfauYY9ZANStb3ZrgLzKZQiClqfacw4I3XrFJFSfNgP4sC6U/s640/2011-03-27_125829.jpg&quot; style=&quot;cursor: move;&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;ADT強大的地方就在你不用一直透過程式碼來改變元件位置，例如此圖就是在RelativeLayout的layout下還是可以透過滑鼠來排版。&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: left;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh3yopcBt4bsBYJ0X3AY2JoBHxvxvjQZn4QpUT828e6F6kJPXb2_VJKniE84xYMdHm7UiGiKS_2WzGZ4zvYINoCPMbSS4jnOlkUHv8MkZZTx43pEDW8DNRpeYP_kkDPQm-Anyu5_jB3Tys/s1600/2011-03-27_125958.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;344&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh3yopcBt4bsBYJ0X3AY2JoBHxvxvjQZn4QpUT828e6F6kJPXb2_VJKniE84xYMdHm7UiGiKS_2WzGZ4zvYINoCPMbSS4jnOlkUHv8MkZZTx43pEDW8DNRpeYP_kkDPQm-Anyu5_jB3Tys/s640/2011-03-27_125958.jpg&quot; style=&quot;cursor: move;&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;元件layout的高度、寬度，也可以透過右鍵選項中方便的勾選，或是點擊other來輸入數值。&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi3rLFaGA192TS1AOTG9mZeVsGGTurYGSNfJspyUxoKCExof01rH9hvFmSPKrD3ZRZ2rFewNO3irXGS9C2yp4XmrpdoARTsOVujA7NAGTepuYpP-1aOMOk1l_uInsUkK6QPef7aQ5paUCE/s1600/2011-03-27_130027.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;344&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi3rLFaGA192TS1AOTG9mZeVsGGTurYGSNfJspyUxoKCExof01rH9hvFmSPKrD3ZRZ2rFewNO3irXGS9C2yp4XmrpdoARTsOVujA7NAGTepuYpP-1aOMOk1l_uInsUkK6QPef7aQ5paUCE/s640/2011-03-27_130027.jpg&quot; style=&quot;cursor: move;&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;元件的Properties也可以透過直接勾選的方式設置，跟之前的ADT比較起來，你可以更快速簡單的選擇你要更改的參數。&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiyqwWzVQtkStJGqvrjYXARH06svOx6epGcP2B7ErxhPh0fJ3p5K3kxkJ-74fOhtHUFdf9UAr_UG661-gys5v829ZPWAf-SpT6X-lx0SEi9Gh8eOIF3ykoS8eyl9KAHQY4silj0hm33SMM/s1600/2011-03-27_125856.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;344&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiyqwWzVQtkStJGqvrjYXARH06svOx6epGcP2B7ErxhPh0fJ3p5K3kxkJ-74fOhtHUFdf9UAr_UG661-gys5v829ZPWAf-SpT6X-lx0SEi9Gh8eOIF3ykoS8eyl9KAHQY4silj0hm33SMM/s640/2011-03-27_125856.jpg&quot; style=&quot;cursor: move;&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;若不想透過視覺化的環境來調整介面，只要下方選擇main.xml就可以看到程式碼的部分，雖然ADT提供的環境很方便，但是更改xml code才應該是程式人員的基本功。&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;b&gt;如何讓軟體符合多種的螢幕大小?&lt;/b&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;b&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjbCfLGiXoVknTfrCpxtkBvBglg6oOYDx97_MpzDI1FtxAx9_uC4IxAraPs7FnNwojhOIYvBDWHTsUtcg7kn7_0XQeWGSHHixCLghVwQS_JkBE_iTD1JcOYKMbAJlxtM0UVbIyMvyf52fQ/s1600/2011-03-27_131445.jpg&quot; imageanchor=&quot;1&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;344&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjbCfLGiXoVknTfrCpxtkBvBglg6oOYDx97_MpzDI1FtxAx9_uC4IxAraPs7FnNwojhOIYvBDWHTsUtcg7kn7_0XQeWGSHHixCLghVwQS_JkBE_iTD1JcOYKMbAJlxtM0UVbIyMvyf52fQ/s640/2011-03-27_131445.jpg&quot; style=&quot;cursor: move;&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;若是你今天要做符合多種螢幕size的軟體，可以在res資料夾下新增一個&quot;layout-數字x數字&quot;的資料夾，當程式在手機上運行時，會自動選擇符合他size的layout。&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjV1qBBdL3vlAMTgZKkKT1kON8BItsvZenZHwb2k9xXFkAT_U7Nqp1ubHJx86SMc73jbQjXq_jGmYDVI0J9uSQqKnBLo7cwSvkFwIywn6KQY-LR_BqNaeXYrO-3ZVNoDDzp4XvU6b9Zr3A/s1600/2011-03-27_134117.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;344&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjV1qBBdL3vlAMTgZKkKT1kON8BItsvZenZHwb2k9xXFkAT_U7Nqp1ubHJx86SMc73jbQjXq_jGmYDVI0J9uSQqKnBLo7cwSvkFwIywn6KQY-LR_BqNaeXYrO-3ZVNoDDzp4XvU6b9Zr3A/s640/2011-03-27_134117.jpg&quot; style=&quot;cursor: move;&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;例如現在新增一個跟我desire一樣size的&quot;layout-480x800&quot;。當然你其他layout有的檔案這裡也要&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://onplain-ian.blogspot.com/feeds/4997308478150529382/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://onplain-ian.blogspot.com/2011/04/android-xmlandroid.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1644975525711680021/posts/default/4997308478150529382'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1644975525711680021/posts/default/4997308478150529382'/><link rel='alternate' type='text/html' href='http://onplain-ian.blogspot.com/2011/04/android-xmlandroid.html' title='[Android] 利用XML來呈現Android的畫面'/><author><name>dolphins</name><uri>http://www.blogger.com/profile/08475298453513001125</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhatgXD076S-zCfs8oWrkt3DYIn27D0vPPMeZATtpcPDhJXNf9JECk7i9p7hUqDK_IQCmR5FjXE3EKROZlIU1ehzRiu9jKoYkQahC8PttrE8Uasa66CMo90hOLhna3nTNVOz6AStGW816Q/s72-c/2011-03-27_125818.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1644975525711680021.post-5392912818679216394</id><published>2011-04-08T00:38:00.001-07:00</published><updated>2011-04-08T01:05:35.537-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Android"/><category scheme="http://www.blogger.com/atom/ns#" term="Eclipse"/><title type='text'>[Android] Debug、設中斷點 、Log、DDMS</title><content type='html'>&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;盡量使用&amp;nbsp;&lt;b&gt;Debug as&amp;nbsp;&lt;/b&gt;來跑程式，因為還可以設&lt;b&gt;中斷點&lt;/b&gt;來看Variable目前的數值是多少。&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiHggMed1ov4-qDsH29ft4vkIaHKfx9ipaaERl_eix5DtWmu8NZMzGRZSJCJluf5OCrsbDmWGD6yF0Y4LXaP0Go9M4yjsugoObH3GbnY6v2DoQBTHDKRKZjSfdQdh3M8F3u4m8aRr1xKpc/s1600/debug%25E8%25A8%25AD%25E4%25B8%25AD%25E6%2596%25B7%25E9%25BB%259E.jpg&quot; imageanchor=&quot;1&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;359&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiHggMed1ov4-qDsH29ft4vkIaHKfx9ipaaERl_eix5DtWmu8NZMzGRZSJCJluf5OCrsbDmWGD6yF0Y4LXaP0Go9M4yjsugoObH3GbnY6v2DoQBTHDKRKZjSfdQdh3M8F3u4m8aRr1xKpc/s640/debug%25E8%25A8%25AD%25E4%25B8%25AD%25E6%2596%25B7%25E9%25BB%259E.jpg&quot; style=&quot;cursor: move;&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;滑鼠右鍵新增中斷點&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;table align=&quot;center&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-bottom: 0.5em; margin-left: auto; margin-right: auto; padding-bottom: 6px; padding-left: 6px; padding-right: 6px; padding-top: 6px; text-align: center;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiUnfL5M86WWhqavSSN_2f2ZgWGLXYfJOsC-ephY_K3YD5j8fus541b9ZxJD4TWL69VzVpHFM6dKiEdzaLJy8d89gZcwm2u6WiTKAGRMqdNNcNQhhsdL-QD7q8_t9ndZXNIdvnEW0x0qEk/s1600/%25E5%2588%25B0%25E4%25B8%25AD%25E6%2596%25B7%25E9%25BB%259E_%25E8%25A9%25A2%25E5%2595%258F%25E4%25BD%25A0%25E6%2598%25AF%25E5%2590%25A6%25E8%25A6%2581%25E9%2596%258B%25E5%2595%259Fdebug%25E4%25BB%258B%25E9%259D%25A2.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: auto; margin-right: auto;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;356&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiUnfL5M86WWhqavSSN_2f2ZgWGLXYfJOsC-ephY_K3YD5j8fus541b9ZxJD4TWL69VzVpHFM6dKiEdzaLJy8d89gZcwm2u6WiTKAGRMqdNNcNQhhsdL-QD7q8_t9ndZXNIdvnEW0x0qEk/s640/%25E5%2588%25B0%25E4%25B8%25AD%25E6%2596%25B7%25E9%25BB%259E_%25E8%25A9%25A2%25E5%2595%258F%25E4%25BD%25A0%25E6%2598%25AF%25E5%2590%25A6%25E8%25A6%2581%25E9%2596%258B%25E5%2595%259Fdebug%25E4%25BB%258B%25E9%259D%25A2.jpg&quot; style=&quot;cursor: move;&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;font-size: 13px; padding-top: 4px; text-align: center;&quot;&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;會詢問是否開啟Debug的介面&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgGbgcVsOq3H8P-9qS7XLcEt_tmHuyIUdiOHW3objrRbXlQnoAzhHqNjSTyshUuO2WwWbB_fC5yRu2-vcQ5EMrZ-DLN1v3eQp4jtPpBvVI5PNTJlP5OfkYCWXIuK8-dn8oG7LkYNcXNMRs/s1600/%25E9%2580%25B2%25E5%2585%25A5%25E5%2588%25B0%25E5%25AE%258C%25E5%2585%25A8%25E7%259A%2584Debug%25E7%2595%25AB%25E9%259D%25A2.jpg&quot; imageanchor=&quot;1&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;356&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgGbgcVsOq3H8P-9qS7XLcEt_tmHuyIUdiOHW3objrRbXlQnoAzhHqNjSTyshUuO2WwWbB_fC5yRu2-vcQ5EMrZ-DLN1v3eQp4jtPpBvVI5PNTJlP5OfkYCWXIuK8-dn8oG7LkYNcXNMRs/s640/%25E9%2580%25B2%25E5%2585%25A5%25E5%2588%25B0%25E5%25AE%258C%25E5%2585%25A8%25E7%259A%2584Debug%25E7%2595%25AB%25E9%259D%25A2.jpg&quot; style=&quot;cursor: move;&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;進入到完整debug畫面，右上角可看Variable目前的值，中左是原本的java code，中右是outline，左下是console，右下是LogCat 有即時錯誤發生可以在這裡看到，按右上角隱藏的java可以回到一般編輯畫面。&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiW5Gz-KQP-96BCKgEWPC1BlGeYJcEJbZtlSli930XdJpe1RE6nLZOowc4h0UW6BOYrJfAS6h8OmFXBpXXNlui-RPtgHRs2voTBeA5MjmhsGhFk0RwJ29jlFvF3ac0mwtGVyCUcuHsXkyw/s1600/%25E5%25B0%25B1%25E7%25AE%2597%25E6%25B2%2592%25E5%2588%2587%25E6%258F%259B%25E5%2588%25B0debug%25E4%25BB%258B%25E9%259D%25A2_%25E9%2582%2584%25E6%2598%25AF%25E5%258F%25AF%25E4%25BB%25A5%25E7%259C%258B%25E5%2588%25B0%25E7%258F%25BE%25E5%259C%25A8variable%25E7%259A%2584%25E6%2595%25B8%25E5%2580%25BC%25E6%2598%25AF%25E5%25A4%259A%25E5%25B0%2591.jpg&quot; imageanchor=&quot;1&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;356&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiW5Gz-KQP-96BCKgEWPC1BlGeYJcEJbZtlSli930XdJpe1RE6nLZOowc4h0UW6BOYrJfAS6h8OmFXBpXXNlui-RPtgHRs2voTBeA5MjmhsGhFk0RwJ29jlFvF3ac0mwtGVyCUcuHsXkyw/s640/%25E5%25B0%25B1%25E7%25AE%2597%25E6%25B2%2592%25E5%2588%2587%25E6%258F%259B%25E5%2588%25B0debug%25E4%25BB%258B%25E9%259D%25A2_%25E9%2582%2584%25E6%2598%25AF%25E5%258F%25AF%25E4%25BB%25A5%25E7%259C%258B%25E5%2588%25B0%25E7%258F%25BE%25E5%259C%25A8variable%25E7%259A%2584%25E6%2595%25B8%25E5%2580%25BC%25E6%2598%25AF%25E5%25A4%259A%25E5%25B0%2591.jpg&quot; style=&quot;cursor: move;&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;就算沒有進入完整debug畫面，滑鼠放在變數上，還是可以看到目前的值為多少。&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: left;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: left;&quot;&gt;&lt;b&gt;DDMS&lt;/b&gt;的畫面，可以選擇要&lt;b&gt;偵測的Device&lt;/b&gt;，同時傳送經緯度或是SMS給emulator，搭配&lt;b&gt;LogCat&lt;/b&gt;看是否有錯誤發生。&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: left;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgTLOspuck0EJZ9hEXab-Jf3Au1fucPW2-4V0VJgF0yvEHXebpH3X0tjADBjmWO03tJSuW7OWSRgLwu_yoJkMYGL2-9ikucLkKCATFUoH9cRECAhyphenhyphenJ0AfP7FyJqkzEkWCC43Sur5N6Ig00/s1600/DDMS%25E7%2595%25AB%25E9%259D%25A2.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;358&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgTLOspuck0EJZ9hEXab-Jf3Au1fucPW2-4V0VJgF0yvEHXebpH3X0tjADBjmWO03tJSuW7OWSRgLwu_yoJkMYGL2-9ikucLkKCATFUoH9cRECAhyphenhyphenJ0AfP7FyJqkzEkWCC43Sur5N6Ig00/s640/DDMS%25E7%2595%25AB%25E9%259D%25A2.jpg&quot; style=&quot;cursor: move;&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;左上是Devices選擇，中左是Emulator Control，下面是LogCat，右半Thread、Heap、Allocation Tracker、File Explorer 目前還不知道可以幹嘛。&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://onplain-ian.blogspot.com/feeds/5392912818679216394/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://onplain-ian.blogspot.com/2011/04/android-debug-logddms.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1644975525711680021/posts/default/5392912818679216394'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1644975525711680021/posts/default/5392912818679216394'/><link rel='alternate' type='text/html' href='http://onplain-ian.blogspot.com/2011/04/android-debug-logddms.html' title='[Android] Debug、設中斷點 、Log、DDMS'/><author><name>dolphins</name><uri>http://www.blogger.com/profile/08475298453513001125</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiHggMed1ov4-qDsH29ft4vkIaHKfx9ipaaERl_eix5DtWmu8NZMzGRZSJCJluf5OCrsbDmWGD6yF0Y4LXaP0Go9M4yjsugoObH3GbnY6v2DoQBTHDKRKZjSfdQdh3M8F3u4m8aRr1xKpc/s72-c/debug%25E8%25A8%25AD%25E4%25B8%25AD%25E6%2596%25B7%25E9%25BB%259E.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1644975525711680021.post-6598682255120505514</id><published>2011-04-08T00:34:00.001-07:00</published><updated>2011-04-08T01:04:41.265-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Android"/><title type='text'>[Android]Android Google map api key註冊</title><content type='html'>&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;要先利用&lt;b&gt;MD5指紋認證書(&lt;/b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Helvetica, Arial, sans-serif; line-height: 16px;&quot;&gt;&lt;b&gt;fingerprint&lt;/b&gt;)&lt;/span&gt;產生&lt;b&gt;指紋碼&lt;/b&gt;，指紋碼的來源有兩種，&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;b&gt;&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;一種是利用C:\Program Files\Java\jdk1.6.0_24\bin下的keytool 自行註冊。(可是我失敗了)&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;二種是直接拿安裝Android sdk時所自動產生的debug.keytool，在路徑C:\Users\Lin\.android內。&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjOjfgbOQCTVbFsCeDR-yPhKJPaay1q_hPPFi-StIOUeSzZaECLqFs3Ddt04_70ODkXQkPkkAhabnEfUwgIL4bjxlVCvlSH4Tp3CFA6tMkx1bgLSbKlBdsPlRpR70S7WZWW8UfwvDjRqu4/s1600/debugkeytool_+location.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;358&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjOjfgbOQCTVbFsCeDR-yPhKJPaay1q_hPPFi-StIOUeSzZaECLqFs3Ddt04_70ODkXQkPkkAhabnEfUwgIL4bjxlVCvlSH4Tp3CFA6tMkx1bgLSbKlBdsPlRpR70S7WZWW8UfwvDjRqu4/s640/debugkeytool_+location.jpg&quot; style=&quot;cursor: move;&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;debug.keytool的位置。&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgUAFtOHHWiaH8JeoL6dRPzGahgTnYWR_bSb806-wIXRd4pe5VtzCNUXZiYHkLu4BP3o-XJgQwuU_v6TXlUwlueL-gNN8HFti4DO6dQrNxQ4on-QHdS4E5yMwh5ec7wYU5W84Zrr2v2WMI/s1600/%25E6%2588%2591%25E7%259A%2584MD5%25E8%25AA%258D%25E8%25AD%2589%25E6%258C%2587%25E7%25B4%258B.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;358&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgUAFtOHHWiaH8JeoL6dRPzGahgTnYWR_bSb806-wIXRd4pe5VtzCNUXZiYHkLu4BP3o-XJgQwuU_v6TXlUwlueL-gNN8HFti4DO6dQrNxQ4on-QHdS4E5yMwh5ec7wYU5W84Zrr2v2WMI/s640/%25E6%2588%2591%25E7%259A%2584MD5%25E8%25AA%258D%25E8%25AD%2589%25E6%258C%2587%25E7%25B4%258B.jpg&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;進入到C:\Program Files\Java\jdk1.6.0_24\bin下輸入:&lt;/div&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Tahoma, Verdana;&quot;&gt;&lt;b&gt;keytool -list -alias androiddebugkey -keystore &quot;接檔案位置&quot; -storepass android -keypass android&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;獲取MD5認證指紋，注意keytool的語法都是前面 &quot;-&quot; + 語法，中間不能有空個。&amp;nbsp;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;之後再把這個MD5認證丟到google網站就可以獲得api key了!&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: left;&quot;&gt;參考網站:&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: left;&quot;&gt;&lt;a href=&quot;http://code.google.com/intl/zh-TW/android/add-ons/google-apis/maps-api-signup.html&quot;&gt;http://code.google.com/intl/zh-TW/android/add-ons/google-apis/maps-api-signup.html&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: left;&quot;&gt;&lt;a href=&quot;http://code.google.com/intl/zh-TW/android/add-ons/google-apis/mapkey.html&quot;&gt;http://code.google.com/intl/zh-TW/android/add-ons/google-apis/mapkey.html&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: left;&quot;&gt;&lt;a href=&quot;http://blog.yslifes.com/archives/671&quot;&gt;http://blog.yslifes.com/archives/671&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: left;&quot;&gt;&lt;a href=&quot;http://www.android1.net/Topic.aspx?BoardID=12&amp;amp;TopicID=659&quot;&gt;http://www.android1.net/Topic.aspx?BoardID=12&amp;amp;TopicID=659&lt;/a&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://onplain-ian.blogspot.com/feeds/6598682255120505514/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://onplain-ian.blogspot.com/2011/04/androidandroid-google-map-api-key.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1644975525711680021/posts/default/6598682255120505514'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1644975525711680021/posts/default/6598682255120505514'/><link rel='alternate' type='text/html' href='http://onplain-ian.blogspot.com/2011/04/androidandroid-google-map-api-key.html' title='[Android]Android Google map api key註冊'/><author><name>dolphins</name><uri>http://www.blogger.com/profile/08475298453513001125</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjOjfgbOQCTVbFsCeDR-yPhKJPaay1q_hPPFi-StIOUeSzZaECLqFs3Ddt04_70ODkXQkPkkAhabnEfUwgIL4bjxlVCvlSH4Tp3CFA6tMkx1bgLSbKlBdsPlRpR70S7WZWW8UfwvDjRqu4/s72-c/debugkeytool_+location.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1644975525711680021.post-8104714247081039470</id><published>2011-04-08T00:28:00.001-07:00</published><updated>2011-04-08T01:04:52.247-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Mac"/><title type='text'>[MAC]利用VNC軟體遠端管理mac mini server</title><content type='html'>&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;我希望利用win7遠端控制mac mini server以方便架站，但因為作業系統的不同，所以只能使用VNC軟體或是換一台macpro遠端登入。&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;目標:win7遠端控制mac mini server&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;軟體:&amp;nbsp;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: arial, sans-serif; line-height: 19px;&quot;&gt;&lt;em style=&quot;font-style: normal; font-weight: normal;&quot;&gt;TightVNC&amp;nbsp;&lt;/em&gt;&lt;/span&gt;&lt;a href=&quot;http://www.tightvnc.com/&quot;&gt;http://www.tightvnc.com/&lt;/a&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;安裝在win7，過程很簡單，只安裝Viewer就好，因為不用利用mac登入win7。&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;再來是要設定mac得部分，mac不用灌任何軟體，只要開啟設定就好 !&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiKxMQs9Y-gfMjOhnEAyNtFg2iTwvMI5-fHs92nCWiDMFa48FUuvNmFUFTItOKjsMNs0kKYM5n8Y3h3yoLcXGxNCE11eBAdr56iMwsBUy3Fs_2l7B678Pb6OaAJDm5aalWYnxBvvlWS76A/s1600/2011-04-03_235014.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;310&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiKxMQs9Y-gfMjOhnEAyNtFg2iTwvMI5-fHs92nCWiDMFa48FUuvNmFUFTItOKjsMNs0kKYM5n8Y3h3yoLcXGxNCE11eBAdr56iMwsBUy3Fs_2l7B678Pb6OaAJDm5aalWYnxBvvlWS76A/s640/2011-04-03_235014.jpg&quot; style=&quot;cursor: move;&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;首先先到系統偏好設定裡，選擇分享。&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi1qB8Szbc7DrYsdmKKnDI0LX59Ky3yjgfrX4PU2FEa7MrRIHhfR418ZsVxypgb9ZQYLoIwKbyhn0_6YDKI9BBOhutf1e2BNaaI3Q_ZnVzOEoPFNU04g1RyLCD857wykbxMzU-oh0r9pno/s1600/2011-04-04_004756.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;340&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi1qB8Szbc7DrYsdmKKnDI0LX59Ky3yjgfrX4PU2FEa7MrRIHhfR418ZsVxypgb9ZQYLoIwKbyhn0_6YDKI9BBOhutf1e2BNaaI3Q_ZnVzOEoPFNU04g1RyLCD857wykbxMzU-oh0r9pno/s640/2011-04-04_004756.jpg&quot; style=&quot;cursor: move;&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;點進來之後可以看到有很多選項。先來介紹兩個&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;1.遠端登入:這裡是透過ssh登入mac，呈現的畫面會是存文字畫面，速度較快。因為我沒有要使用到所以先不開啟。&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh7flnPEm92bsmovovFY4v7TSpRzVD1Rgbdiublzb4LBJo-UTM8TCcHCUVczPtzqEjigT8MVdEyitGkqmUxEstdjXwJ3tSQSt9siwLy85A_ayj2zPMiWUWUvOGSAXMCDAJi_tjob4TB0Fk/s1600/2011-04-03_235950.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;310&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh7flnPEm92bsmovovFY4v7TSpRzVD1Rgbdiublzb4LBJo-UTM8TCcHCUVczPtzqEjigT8MVdEyitGkqmUxEstdjXwJ3tSQSt9siwLy85A_ayj2zPMiWUWUvOGSAXMCDAJi_tjob4TB0Fk/s640/2011-04-03_235950.jpg&quot; style=&quot;cursor: move;&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;2.遠端管理:這裡提供兩種方式，一種是你透過同樣是apple作業系統的電腦登入，這種情況下就要把，允許下列使用者存取，加入你想讓它控制的使用者。&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhvYFYjIkGIish4nlPNFDzaaFTnTowK6Z6cazK0YG0u5tr1SWwgUG6GqrKe9w5neKck6LVJF0ZBXPQBhRF7JcuBprdkOIlFintqLyWlISaJ4LAV1aJpw20ASsDkYjunQ41FX3HrTmI3b6o/s1600/2011-04-04_000954.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;340&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhvYFYjIkGIish4nlPNFDzaaFTnTowK6Z6cazK0YG0u5tr1SWwgUG6GqrKe9w5neKck6LVJF0ZBXPQBhRF7JcuBprdkOIlFintqLyWlISaJ4LAV1aJpw20ASsDkYjunQ41FX3HrTmI3b6o/s640/2011-04-04_000954.jpg&quot; style=&quot;cursor: move;&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;並且透過選項，設定你要讓遠端控制使用者登入後的權限。&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;但因為今天我們是透過win7登入，所以這些允許使用者，其實也不用設定!&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;重點是在&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: red;&quot;&gt;電腦設定&lt;/span&gt;的部分!&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh6FYlcuDpV9q94_V25IYv9z2E7Gqpsj_hGsELCZcbjWlhPH6DNlUpUpAR-mzPQrIDMis1ytjgjS30GPZ0B1BFqyKDp0WpzFTirHt5gGwfTijBtPH0WVzeAMnATE1qfGqwNBqU0KQGVZ6Q/s1600/2011-04-03_235924.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;310&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh6FYlcuDpV9q94_V25IYv9z2E7Gqpsj_hGsELCZcbjWlhPH6DNlUpUpAR-mzPQrIDMis1ytjgjS30GPZ0B1BFqyKDp0WpzFTirHt5gGwfTijBtPH0WVzeAMnATE1qfGqwNBqU0KQGVZ6Q/s640/2011-04-03_235924.jpg&quot; style=&quot;cursor: move;&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;你要把 &quot;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: red;&quot;&gt;VNC檢視程式可以使用密碼來控制螢幕&lt;/span&gt;&quot;給勾選起來，並且設定密碼。&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;&lt;i&gt;注意!&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: arial, sans-serif; line-height: 19px;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;TightVNC所連線的密碼，可不是使用者的密碼喔!而是這裡設定的密碼!&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj07_TrXtJknPO45YHtdH2W75MyDnJxLauKOGbvnOrQ4L-E9gN4QcBMcjYj73BI0WtPvxpOk-K1EMbfeqp4cPLKrLoKSBIWee1Lg7UMNdeko1ir2Zlat8P-FcncPgvP6_JaMg_PYYi_tNU/s1600/2011-04-04_003415.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;258&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj07_TrXtJknPO45YHtdH2W75MyDnJxLauKOGbvnOrQ4L-E9gN4QcBMcjYj73BI0WtPvxpOk-K1EMbfeqp4cPLKrLoKSBIWee1Lg7UMNdeko1ir2Zlat8P-FcncPgvP6_JaMg_PYYi_tNU/s640/2011-04-04_003415.jpg&quot; style=&quot;cursor: move;&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;開啟已在win7灌好的&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: arial, sans-serif; line-height: 19px;&quot;&gt;&lt;em style=&quot;font-style: normal; font-weight: normal;&quot;&gt;TightVNC ，打上IP位置，並且建議選擇High-speed network。&lt;/em&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: arial, sans-serif; line-height: 19px;&quot;&gt;&lt;em style=&quot;font-style: normal; font-weight: normal;&quot;&gt;&lt;br /&gt;
&lt;/em&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiFqKnYqkJ1MIy4MNDqm7Yr1Z_W1G69JgQTSQV99x2F-6Gt9mwZ2EBVBQI_kAiK6F6jpEKUnuoHLj6DEYXRccJAjmAxqM1vxwODVcd1rPE71vfJmIy7NfQnvYigX2uJL4IB37eCI_Or2wY/s1600/2011-04-04_005848.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiFqKnYqkJ1MIy4MNDqm7Yr1Z_W1G69JgQTSQV99x2F-6Gt9mwZ2EBVBQI_kAiK6F6jpEKUnuoHLj6DEYXRccJAjmAxqM1vxwODVcd1rPE71vfJmIy7NfQnvYigX2uJL4IB37eCI_Or2wY/s1600/2011-04-04_005848.jpg&quot; style=&quot;cursor: move;&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;輸入密碼，就可以登入嚕!!&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: arial, sans-serif; line-height: 19px;&quot;&gt;&lt;em style=&quot;font-style: normal; font-weight: normal;&quot;&gt;&lt;br /&gt;
&lt;/em&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;參考資料:&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;a href=&quot;http://www.tightvnc.com/&quot;&gt;http://www.tightvnc.com/&lt;/a&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;a href=&quot;http://www.mobile01.com/topicdetail.php?f=482&amp;amp;t=680760&quot;&gt;http://www.mobile01.com/topicdetail.php?f=482&amp;amp;t=680760&lt;/a&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://onplain-ian.blogspot.com/feeds/8104714247081039470/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://onplain-ian.blogspot.com/2011/04/macvncmac-mini-server.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1644975525711680021/posts/default/8104714247081039470'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1644975525711680021/posts/default/8104714247081039470'/><link rel='alternate' type='text/html' href='http://onplain-ian.blogspot.com/2011/04/macvncmac-mini-server.html' title='[MAC]利用VNC軟體遠端管理mac mini server'/><author><name>dolphins</name><uri>http://www.blogger.com/profile/08475298453513001125</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiKxMQs9Y-gfMjOhnEAyNtFg2iTwvMI5-fHs92nCWiDMFa48FUuvNmFUFTItOKjsMNs0kKYM5n8Y3h3yoLcXGxNCE11eBAdr56iMwsBUy3Fs_2l7B678Pb6OaAJDm5aalWYnxBvvlWS76A/s72-c/2011-04-03_235014.jpg" height="72" width="72"/><thr:total>0</thr:total></entry></feed>