<?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-6605875987251803181</id><updated>2024-09-04T12:57:38.501-07:00</updated><category term="FLEX"/><category term="Android"/><category term="Flash"/><category term="java"/><category term="Physical Engine"/><category term="php"/><category term="html5"/><category term="Box2d"/><category term="APE"/><category term="Egret"/><category term="GOOGLE"/><category term="QT"/><category term="mongoDB"/><category term="囧"/><category term="多語系"/><category term="教學"/><category term="AIR"/><category term="Ajax"/><category term="Android Studio"/><category term="EmbededSystem"/><category term="Facebook"/><category term="JSP"/><category term="NoSQL"/><category term="eclipse"/><category term="firefox"/><category term="j2ee"/><category term="javascript"/><category term="spring"/><category term="專案管理"/><category term="系統分析"/><category term="CS5"/><category term="Cloud"/><category term="DWR"/><category term="Framework"/><category term="GWT"/><category term="Google Maps"/><category term="NDK"/><category term="OAuth"/><category term="OpenCart"/><category term="Parse.com"/><category term="Play"/><category term="Plurk"/><category term="Progression4"/><category term="Ruby on Rails"/><category term="TOMCAT"/><category term="Unity3D"/><category term="WordPress"/><category term="blazeds"/><category term="chrome"/><category term="code generator"/><category term="firebug"/><category term="firefox plugin"/><category term="flashplayer"/><category term="gradle"/><category term="gradlefx"/><category term="jbuilder"/><category term="spring boot"/><category term="作品"/><category term="和碩"/><title type='text'>leon456 亂寫一通</title><subtitle type='html'>Kept simplified,make it ASAP</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://leon456.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6605875987251803181/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://leon456.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/6605875987251803181/posts/default?start-index=26&amp;max-results=25&amp;redirect=false'/><author><name>Unknown</name><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>80</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-6605875987251803181.post-1350201915880493806</id><published>2017-03-25T08:41:00.000-07:00</published><updated>2017-03-25T08:41:33.858-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="java"/><category scheme="http://www.blogger.com/atom/ns#" term="spring"/><category scheme="http://www.blogger.com/atom/ns#" term="spring boot"/><title type='text'>【Spring Boot】Why using spring boot</title><summary type="text">When I need to produce restful api using spring framework,I use Spring MVC4 
,that I need to config spring structure as below



We saw in project have some config file(xml),in spring xml config file was 
common usage for spring developer,everything look like well.
But in spring boot ,we don’t need config file anymore,and we don’t need to 
deploy web app to container.



Lets take a look what the</summary><link rel='replies' type='application/atom+xml' href='http://leon456.blogspot.com/feeds/1350201915880493806/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://leon456.blogspot.com/2017/03/spring-bootwhy-using-spring-boot.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6605875987251803181/posts/default/1350201915880493806'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6605875987251803181/posts/default/1350201915880493806'/><link rel='alternate' type='text/html' href='http://leon456.blogspot.com/2017/03/spring-bootwhy-using-spring-boot.html' title='【Spring Boot】Why using spring boot'/><author><name>Unknown</name><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/AVvXsEjq9uvN-OZsAw3ky-glz6bF5L8DhlqPiRM8-fBA5RR9Nj5N0pm7jiB-RXrN2d-ttKUdPKa0vI5fLa0K7sQeWtV-toS8CdKsv9uOyH99u-h-A9dH9R5Nfw2IEKOSNdtZ7YAepaVoCear6jK5/s72-c/2017-03-25_230808.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6605875987251803181.post-4641642684346284387</id><published>2016-04-20T03:32:00.001-07:00</published><updated>2016-04-25T21:00:25.858-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="FLEX"/><category scheme="http://www.blogger.com/atom/ns#" term="gradle"/><category scheme="http://www.blogger.com/atom/ns#" term="gradlefx"/><title type='text'>Building Flex app using gradlefx(some issue record)</title><summary type="text">In Android development,now I used Android Studio for my IDE,so using gradle for building android must using gradle script.

In my another programing skill Flex,Most of programmers use ant for building script.Now I have a modern choice: gradlefx.

Below record is for what I encounter some issue:

1.Ambiguous method overloading for method java.io.File#. error

So I get starling sample code from </summary><link rel='replies' type='application/atom+xml' href='http://leon456.blogspot.com/feeds/4641642684346284387/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://leon456.blogspot.com/2016/04/building-flex-app-using-gradlefxsomme.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6605875987251803181/posts/default/4641642684346284387'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6605875987251803181/posts/default/4641642684346284387'/><link rel='alternate' type='text/html' href='http://leon456.blogspot.com/2016/04/building-flex-app-using-gradlefxsomme.html' title='Building Flex app using gradlefx(some issue record)'/><author><name>Unknown</name><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-6605875987251803181.post-5283949704168949051</id><published>2015-10-04T22:45:00.001-07:00</published><updated>2015-10-05T08:35:20.641-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Android"/><category scheme="http://www.blogger.com/atom/ns#" term="Android Studio"/><category scheme="http://www.blogger.com/atom/ns#" term="NDK"/><title type='text'>【Android】Android Studio Support JNI(NDK)</title><summary type="text">I google ndk + android studio,and&amp;nbsp; get lots of infomation about how progragming ndk with android studio  Lots of tutorial said that need to put Android.mk and Appliction.mk in jni folder Now I used Android Stuiod 1.4,and get an excited usage,we don’t need to put above files(Android.mk and Appliction.mk ),just follow below steps ,Android Studio can start programing ndk   1.Download NDK  &amp;nbsp</summary><link rel='replies' type='application/atom+xml' href='http://leon456.blogspot.com/feeds/5283949704168949051/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://leon456.blogspot.com/2015/10/androidandroid-studio-support-jni.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6605875987251803181/posts/default/5283949704168949051'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6605875987251803181/posts/default/5283949704168949051'/><link rel='alternate' type='text/html' href='http://leon456.blogspot.com/2015/10/androidandroid-studio-support-jni.html' title='【Android】Android Studio Support JNI(NDK)'/><author><name>Unknown</name><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/AVvXsEgha8roH5jtoiIwhwLwODgShLJuclBKRpqp76gUjaExslonRkQrlzRdaL4gMeGv8kc3ARlDXOmIN8M4JsTKX7BNaS9odjM1wZCsxmqUZf7PB4tXEOzCRxwveozCoE6D62tFk-dR8C8jsk0W/s72-c?imgmax=800" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6605875987251803181.post-4734273677495716385</id><published>2015-05-21T02:31:00.001-07:00</published><updated>2015-05-21T02:31:53.528-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Egret"/><category scheme="http://www.blogger.com/atom/ns#" term="html5"/><title type='text'>【Egret Engine】自適銀幕大小做法</title><summary type="text">修改launcher/egret_loader.js     1: egret.StageDelegate.getInstance().setDesignSize(document.body.clientWidth, Math.max(document.body.clientHeight,window.innerHeight));&lt;!--CRLF--&gt;   2: context.stage = new egret.Stage();&lt;!--CRLF--&gt;   3: var scaleMode =  egret.MainContext.deviceType == egret.MainContext.DEVICE_MOBILE ? egret.StageScaleMode.SHOW_ALL : egret.StageScaleMode.NO_SCALE;&lt;!--CRLF--&gt;   4: </summary><link rel='replies' type='application/atom+xml' href='http://leon456.blogspot.com/feeds/4734273677495716385/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://leon456.blogspot.com/2015/05/egret-engine.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6605875987251803181/posts/default/4734273677495716385'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6605875987251803181/posts/default/4734273677495716385'/><link rel='alternate' type='text/html' href='http://leon456.blogspot.com/2015/05/egret-engine.html' title='【Egret Engine】自適銀幕大小做法'/><author><name>Unknown</name><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-6605875987251803181.post-2106348218861192019</id><published>2015-05-21T02:28:00.001-07:00</published><updated>2015-05-21T03:20:46.665-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Egret"/><category scheme="http://www.blogger.com/atom/ns#" term="html5"/><title type='text'>【Egret Engine】整合PureMVC</title><summary type="text">Egret 可以在專案中結合各式各樣的第三方javascript lib,目前先介紹對該lib有提供TSD的部份 PureMVC 算是Flash Developer都還蠻熟悉的一個MVC Framework 官方文件也有做了一個教學,如何使用第三方javascript lib,基於按照官方的教學,讓我摸索了一段時間,我這邊做個步驟整理以便以後若遇到問題時,可再次按圖操作 這個記錄我使用EgretVS新建出來的GUI專案來說明   新增專案完成後,在專案目前增加如下檔案    puremvc的TSD及JS檔案請至 github 下載 puremvc.json這個檔案,請自行增加,內容如下,source節點請依個人喜好填入     1: {&lt;!--CRLF--&gt;   2:     &quot;name&quot;: &quot;puremvc&quot;,&lt;!--CRLF--&gt;   3:     &quot;source&quot;:&quot;src/</summary><link rel='replies' type='application/atom+xml' href='http://leon456.blogspot.com/feeds/2106348218861192019/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://leon456.blogspot.com/2015/05/egret-enginepuremvc.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6605875987251803181/posts/default/2106348218861192019'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6605875987251803181/posts/default/2106348218861192019'/><link rel='alternate' type='text/html' href='http://leon456.blogspot.com/2015/05/egret-enginepuremvc.html' title='【Egret Engine】整合PureMVC'/><author><name>Unknown</name><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/AVvXsEgKHNXAZtY44ZTvGE3L60Q5uq6WlH63IYKJHhuyobwCoYETPaxbMqGTKh8C3E0_XXFt9fvmQVL4hMao4kOmJpLLpK4ZYJ-4VTtm2M1Frp4t9aIuGtNkXvxtCQQ0eooWqwRCT19ehfCcmqNW/s72-c?imgmax=800" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6605875987251803181.post-62789855918785875</id><published>2015-05-13T03:34:00.001-07:00</published><updated>2015-05-13T03:34:29.373-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="jbuilder"/><category scheme="http://www.blogger.com/atom/ns#" term="Ruby on Rails"/><title type='text'>【Ruby on Rails】has_many model using jbuilder</title><summary type="text">Two model as below   group.rb     1: class Group &amp;lt; ActiveRecord::Base&lt;!--CRLF--&gt;   2:   has_many :posts&lt;!--CRLF--&gt;   3:   validates :title,:presence =&amp;gt; true&lt;!--CRLF--&gt;   4: end&lt;!--CRLF--&gt;post.rb   1: class Post &amp;lt; ActiveRecord::Base&lt;!--CRLF--&gt;   2:   belongs_to :group&lt;!--CRLF--&gt;   3: end&lt;!--CRLF--&gt;In view/group/index.json.jbuilder   1: json.groups (@groups) do |group|&lt;!--CRLF--&gt;   2:   </summary><link rel='replies' type='application/atom+xml' href='http://leon456.blogspot.com/feeds/62789855918785875/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://leon456.blogspot.com/2015/05/ruby-on-railshasmany-model-using.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6605875987251803181/posts/default/62789855918785875'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6605875987251803181/posts/default/62789855918785875'/><link rel='alternate' type='text/html' href='http://leon456.blogspot.com/2015/05/ruby-on-railshasmany-model-using.html' title='【Ruby on Rails】has_many model using jbuilder'/><author><name>Unknown</name><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/AVvXsEj7bt5S9AacWYDhHSklyZkz5FYw3zwT-oxWJ-QbI_wr7TaTKepWonWYsCEtcYXOG2d3y8wHfvsBFfYlX5y92a4z3wBSPImO5uDSCwXlefdjpsUtzXRl9jeQyighHQDDUoG5TJBMXSIx_Ll3/s72-c?imgmax=800" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6605875987251803181.post-7019031795200894825</id><published>2015-05-13T01:14:00.003-07:00</published><updated>2015-05-29T17:56:55.854-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Egret"/><category scheme="http://www.blogger.com/atom/ns#" term="html5"/><title type='text'>【Egret引擎】Adobe Flash/Flex 技術無痛移轉至 Html5 遊戲開發(App開發)</title><summary type="text">上週聽到了可以把Flash直接轉至html5的名詞時,眼睛一亮

聽到了一個新的名詞 Egret ,搜尋了一下


當下以為可以把原本用Flash/Flex開發的應用,直接轉到html5,不需經過再次開發

也就是今天要介紹的開發工具 Egret Engine

官方網址如下:

http://www.egret.com/&amp;nbsp;&amp;nbsp; =&amp;gt;&amp;nbsp; 英文版的官網,學習資源比較少

http://www.egret-labs.org/ =&amp;gt; 中文版本的官網,學習及說明資源較齊全

http://bbs.egret-labs.org/portal.php&amp;nbsp; =&amp;gt; 討論區,上面有一群中國在Flash的專家們寫了很多的教學跟範例


不過當研究了一段時間後,發現要做到完全不用寫程移轉似乎是不太容易的
在官方的說明即己經提到

http://</summary><link rel='replies' type='application/atom+xml' href='http://leon456.blogspot.com/feeds/7019031795200894825/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://leon456.blogspot.com/2015/05/egretadobe-flashflex-html5-app.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6605875987251803181/posts/default/7019031795200894825'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6605875987251803181/posts/default/7019031795200894825'/><link rel='alternate' type='text/html' href='http://leon456.blogspot.com/2015/05/egretadobe-flashflex-html5-app.html' title='【Egret引擎】Adobe Flash/Flex 技術無痛移轉至 Html5 遊戲開發(App開發)'/><author><name>Unknown</name><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/AVvXsEiUUTwkKThI1IKt18MouPfolSz1y6ARsspjSQCE2EHIKnAk6wZwUqedfT4jEodIk4HmfCsR3n0LJlTeiGe8YWdGON106FFi2NahfEf-zrf37H7nqa_Y-jje28Xu2Fd6ugRTQvTstuk5SsyP/s72-c/2015-05-13_151749.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6605875987251803181.post-3340864779125478191</id><published>2015-05-05T00:57:00.001-07:00</published><updated>2015-05-05T00:57:09.867-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Facebook"/><title type='text'>【Facebook API】Getting id of comments,retrieve all comments </title><summary type="text">
Getting id of comments

http://stackoverflow.com/questions/21014855/getting-id-of-facebook-comments-plugin






Cut the prefix id,and paste to below url

http://graph.facebook.com/{prefix-id}/comments

Then we can get all comments as below





</summary><link rel='replies' type='application/atom+xml' href='http://leon456.blogspot.com/feeds/3340864779125478191/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://leon456.blogspot.com/2015/05/facebook-apigetting-id-of.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6605875987251803181/posts/default/3340864779125478191'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6605875987251803181/posts/default/3340864779125478191'/><link rel='alternate' type='text/html' href='http://leon456.blogspot.com/2015/05/facebook-apigetting-id-of.html' title='【Facebook API】Getting id of comments,retrieve all comments '/><author><name>Unknown</name><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/AVvXsEiTAn00tQUdByrU8qsSSQN-UzECDmnOBepI29pR4MX0wK4CQHiKRwCiNstqPr0R7wlOG7j480wN7yjo-3L5ba14G4IbPXIFZofL8o-mjPOSG8nTj8UskA5JA3dcRCUSw5yvRr7M2SuNc_0G/s72-c/2015-05-05_155235.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6605875987251803181.post-295644196026523729</id><published>2014-09-24T01:23:00.001-07:00</published><updated>2014-09-24T01:24:10.748-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Android"/><category scheme="http://www.blogger.com/atom/ns#" term="Android Studio"/><category scheme="http://www.blogger.com/atom/ns#" term="java"/><title type='text'>【Android】Add Jars into Android Studio Project</title><summary type="text">      &amp;nbsp;   &amp;nbsp; Android Studio will add you library to build.gradle script      </summary><link rel='replies' type='application/atom+xml' href='http://leon456.blogspot.com/feeds/295644196026523729/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://leon456.blogspot.com/2014/09/androidadd-jars-into-android-studio.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6605875987251803181/posts/default/295644196026523729'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6605875987251803181/posts/default/295644196026523729'/><link rel='alternate' type='text/html' href='http://leon456.blogspot.com/2014/09/androidadd-jars-into-android-studio.html' title='【Android】Add Jars into Android Studio Project'/><author><name>Unknown</name><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/AVvXsEhQBRU9BNfKOe3QkccDZkJD-YHyI3jZE-NpBfpM0JPzXRXXvAugy0AfUvyyBxbVEZd0Dx2Uq_J6Qszx6ZEswhEzdqN7IXAk8GWgiqiiT7Fd-HqCxhMm3SzXtpdrQlXbZmskXlsGfqjIIXiz/s72-c?imgmax=800" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6605875987251803181.post-4728912317243644695</id><published>2014-07-01T20:51:00.001-07:00</published><updated>2014-07-01T20:51:05.118-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Android"/><title type='text'>【Android】Add icon to FragmentPagerAdapter</title><summary type="text">FragmentPagerAdapter&amp;nbsp;      1: @Override&lt;!--CRLF--&gt;   2: public CharSequence getPageTitle(int position) {&lt;!--CRLF--&gt;   3:     SpannableStringBuilder sb = new SpannableStringBuilder(&quot; Page #&quot;+ position); // space added before text for convenience&lt;!--CRLF--&gt;   4:     &lt;!--CRLF--&gt;   5:     Drawable main_create = getActivity().getResources().getDrawable(R.drawable.main_create);&lt;!--CRLF--&gt;   6:</summary><link rel='replies' type='application/atom+xml' href='http://leon456.blogspot.com/feeds/4728912317243644695/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://leon456.blogspot.com/2014/07/androidadd-icon-to-fragmentpageradapter.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6605875987251803181/posts/default/4728912317243644695'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6605875987251803181/posts/default/4728912317243644695'/><link rel='alternate' type='text/html' href='http://leon456.blogspot.com/2014/07/androidadd-icon-to-fragmentpageradapter.html' title='【Android】Add icon to FragmentPagerAdapter'/><author><name>Unknown</name><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-6605875987251803181.post-9102500034564242501</id><published>2014-06-22T19:42:00.001-07:00</published><updated>2014-06-25T07:57:05.708-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Android"/><title type='text'>【Android】Android app error - Duplicate id 0x7f04000f, tag null, or parent id 0x0 with another fragment for com.google.android.gms.maps.SupportMapFragment</title><summary type="text">    1: @Override&lt;!--CRLF--&gt;   2: public void onDestroyView() {&lt;!--CRLF--&gt;   3:     super.onDestroyView();&lt;!--CRLF--&gt;   4:     FragmentManager fm = getActivity().getSupportFragmentManager();&lt;!--CRLF--&gt;   5:     Fragment fragment = (fm.findFragmentById(R.id.map));&lt;!--CRLF--&gt;   6:     FragmentTransaction ft = fm.beginTransaction();&lt;!--CRLF--&gt;   7:     ft.remove(fragment);&lt;!--CRLF--&gt;   8:     </summary><link rel='replies' type='application/atom+xml' href='http://leon456.blogspot.com/feeds/9102500034564242501/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://leon456.blogspot.com/2014/06/androidgoogle-map-in-fragment.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6605875987251803181/posts/default/9102500034564242501'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6605875987251803181/posts/default/9102500034564242501'/><link rel='alternate' type='text/html' href='http://leon456.blogspot.com/2014/06/androidgoogle-map-in-fragment.html' title='【Android】Android app error - Duplicate id 0x7f04000f, tag null, or parent id 0x0 with another fragment for com.google.android.gms.maps.SupportMapFragment'/><author><name>Unknown</name><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-6605875987251803181.post-5019571613545888281</id><published>2014-05-13T23:39:00.001-07:00</published><updated>2014-05-14T00:46:10.241-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Android"/><title type='text'>【Android】Google Map Directions(Call Google Map App)</title><summary type="text">&amp;nbsp; LAT_POSITION&amp;nbsp; and LONG_POSITION&amp;nbsp; is source position lat and lon is target position     1: Intent intent = new Intent(Intent.ACTION_VIEW, Uri.parse(&quot;http://maps.google.com/maps?saddr=&quot; + LAT_POSITION + &quot;,&quot; + LONG_POSITION +&quot;&amp;amp;daddr=&quot; + lat + &quot;,&quot; + lon));&lt;!--CRLF--&gt;   2: intent.setComponent(new ComponentName(&quot;com.google.android.apps.maps&quot;,&quot;com.google.android.maps.MapsActivity&quot;))</summary><link rel='replies' type='application/atom+xml' href='http://leon456.blogspot.com/feeds/5019571613545888281/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://leon456.blogspot.com/2014/05/androidgoogle-map-directioncall-google.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6605875987251803181/posts/default/5019571613545888281'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6605875987251803181/posts/default/5019571613545888281'/><link rel='alternate' type='text/html' href='http://leon456.blogspot.com/2014/05/androidgoogle-map-directioncall-google.html' title='【Android】Google Map Directions(Call Google Map App)'/><author><name>Unknown</name><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-6605875987251803181.post-5646688947309410515</id><published>2014-05-12T23:54:00.001-07:00</published><updated>2014-05-12T23:54:04.512-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Android"/><title type='text'>【Android】Open Gallary By App</title><summary type="text">startActivity:     1: Button btn = (Button)rootView.findViewById(R.id.button1);&lt;!--CRLF--&gt;   2: btn.setOnClickListener(new OnClickListener(){&lt;!--CRLF--&gt;   3:&amp;nbsp; &lt;!--CRLF--&gt;   4:     @Override&lt;!--CRLF--&gt;   5:     public void onClick(View v) {&lt;!--CRLF--&gt;   6:         Intent i = new Intent(Intent.ACTION_PICK,android.provider.MediaStore.Images.Media.INTERNAL_CONTENT_URI);&lt;!--CRLF--&gt;   7:         </summary><link rel='replies' type='application/atom+xml' href='http://leon456.blogspot.com/feeds/5646688947309410515/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://leon456.blogspot.com/2014/05/androidopen-gallary-by-app.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6605875987251803181/posts/default/5646688947309410515'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6605875987251803181/posts/default/5646688947309410515'/><link rel='alternate' type='text/html' href='http://leon456.blogspot.com/2014/05/androidopen-gallary-by-app.html' title='【Android】Open Gallary By App'/><author><name>Unknown</name><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-6605875987251803181.post-8938162421771961041</id><published>2013-07-09T21:48:00.001-07:00</published><updated>2013-07-09T21:48:10.574-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="java"/><category scheme="http://www.blogger.com/atom/ns#" term="mongoDB"/><category scheme="http://www.blogger.com/atom/ns#" term="spring"/><title type='text'>【Spring】Test in Spring MVC3</title><summary type="text">    1: package com.lywebii.goldprice;&lt;!--CRLF--&gt;   2:&amp;nbsp; &lt;!--CRLF--&gt;   3: import static org.junit.Assert.*;&lt;!--CRLF--&gt;   4:&amp;nbsp; &lt;!--CRLF--&gt;   5: import java.util.List;&lt;!--CRLF--&gt;   6:&amp;nbsp; &lt;!--CRLF--&gt;   7: import org.junit.After;&lt;!--CRLF--&gt;   8: import org.junit.Before;&lt;!--CRLF--&gt;   9: import org.junit.Test;&lt;!--CRLF--&gt;  10: import org.junit.runner.RunWith;&lt;!--CRLF--&gt;  11: import </summary><link rel='replies' type='application/atom+xml' href='http://leon456.blogspot.com/feeds/8938162421771961041/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://leon456.blogspot.com/2013/07/springtest-in-spring-mvc3.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6605875987251803181/posts/default/8938162421771961041'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6605875987251803181/posts/default/8938162421771961041'/><link rel='alternate' type='text/html' href='http://leon456.blogspot.com/2013/07/springtest-in-spring-mvc3.html' title='【Spring】Test in Spring MVC3'/><author><name>Unknown</name><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-6605875987251803181.post-8036500619551766430</id><published>2013-05-12T07:41:00.001-07:00</published><updated>2013-05-12T11:00:09.474-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Android"/><category scheme="http://www.blogger.com/atom/ns#" term="Cloud"/><category scheme="http://www.blogger.com/atom/ns#" term="Facebook"/><category scheme="http://www.blogger.com/atom/ns#" term="Parse.com"/><title type='text'>【Parse.com】Why I like using Parse.com</title><summary type="text">When I wrote android app,I usually need to write server side code.(I used AppFog for the backend)In my experience,before start coding sever side,I should design Model(or said Er model),then I will create data object correspond with design model.And then I start coding the controller for business logic.(My sever side framework using Spring MVC3)If I need to check the data producing from client.I </summary><link rel='replies' type='application/atom+xml' href='http://leon456.blogspot.com/feeds/8036500619551766430/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://leon456.blogspot.com/2013/05/parsecomwhy-using-parsecom.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6605875987251803181/posts/default/8036500619551766430'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6605875987251803181/posts/default/8036500619551766430'/><link rel='alternate' type='text/html' href='http://leon456.blogspot.com/2013/05/parsecomwhy-using-parsecom.html' title='【Parse.com】Why I like using Parse.com'/><author><name>Leon456</name><uri>http://www.blogger.com/profile/09898226283326947149</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_CRMSXTOEvz4/TGjqtMrKT6I/AAAAAAAAAFM/Isqol5pKkIU/S220/me.png'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhHHoRWSGg3vMm2wBC55AW8_sZWTOVmsBeRu2vJXTq-1FgPaP1zzMKvGsvWfzdFbfTIV5YbKm-cELDP_LAE3batNkJCUROh0bb2bwhuxrh4oV1IyasTyHBhN222pcAbSr0GpAvhOpHXZ8Ai/s72-c?imgmax=800" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6605875987251803181.post-19871354681721546</id><published>2013-04-23T03:37:00.000-07:00</published><updated>2013-04-23T03:46:30.425-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Android"/><category scheme="http://www.blogger.com/atom/ns#" term="java"/><title type='text'>【Android】Check or go to spacified app</title><summary type="text">     1: String appPackage = &quot;jp.naver.line.android&quot;;&lt;!--CRLF--&gt;   2: Intent intent = getPackageManager().getLaunchIntentForPackage(appPackage);&lt;!--CRLF--&gt;   3: if(intent!=null){&lt;!--CRLF--&gt;   4:     startActivity(intent);&lt;!--CRLF--&gt;   5: }else{&lt;!--CRLF--&gt;   6:     intent = new Intent(Intent.ACTION_VIEW);&lt;!--CRLF--&gt;   7:     intent.setData(Uri.parse(&quot;market://details?id=&quot;+appPackage));&lt;!--CRLF--&gt;</summary><link rel='replies' type='application/atom+xml' href='http://leon456.blogspot.com/feeds/19871354681721546/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://leon456.blogspot.com/2013/04/androidcheck-or-go-to-spacified-app.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6605875987251803181/posts/default/19871354681721546'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6605875987251803181/posts/default/19871354681721546'/><link rel='alternate' type='text/html' href='http://leon456.blogspot.com/2013/04/androidcheck-or-go-to-spacified-app.html' title='【Android】Check or go to spacified app'/><author><name>Unknown</name><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-6605875987251803181.post-8786579210586680783</id><published>2012-09-14T21:54:00.001-07:00</published><updated>2012-09-14T22:50:55.707-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="OAuth"/><category scheme="http://www.blogger.com/atom/ns#" term="Plurk"/><title type='text'>【OAuth for plurk】Using plurk api(oauth)</title><summary type="text">Link below website to register an app  http://www.plurk.com/PlurkApp/http://www.plurk.com/PlurkApp/      (*Red block is required)        Then we can click the test tool(test console)    Next we should get Token Key first,click【Get Requet Token】directly.  The action will link to http://www.plurk.com/OAuth/request_token and using get method to get Token Key   and Token Secret    Next step we click </summary><link rel='replies' type='application/atom+xml' href='http://leon456.blogspot.com/feeds/8786579210586680783/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://leon456.blogspot.com/2012/09/oauth-for-plurkusing-plurk-apioauth.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6605875987251803181/posts/default/8786579210586680783'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6605875987251803181/posts/default/8786579210586680783'/><link rel='alternate' type='text/html' href='http://leon456.blogspot.com/2012/09/oauth-for-plurkusing-plurk-apioauth.html' title='【OAuth for plurk】Using plurk api(oauth)'/><author><name>Unknown</name><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/AVvXsEias9sadK9_GrdOq00QTu7_wQfFafmo762tMSaG7if9mVHRyAF9UU0nO7aMVjWHHEFqCeJM59yMj6Wlz6hvXAoePDE42-z7FR0LiC2I1VxSPLRSNMqV1i7tWCxNV75HOB6-XiGGze81YwGz/s72-c?imgmax=800" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6605875987251803181.post-8230005267228841944</id><published>2012-08-14T23:31:00.001-07:00</published><updated>2012-08-15T01:14:37.355-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Flash"/><category scheme="http://www.blogger.com/atom/ns#" term="FLEX"/><category scheme="http://www.blogger.com/atom/ns#" term="多語系"/><title type='text'>【Flex】Using resource bundles</title><summary type="text">We know in flex,we will define different property file in different locale folder,usually we can get string by key as below:             1: hello=Hello&lt;!--CRLF--&gt;       2: you=You&lt;!--CRLF--&gt;         1: hello=你好&lt;!--CRLF--&gt;       2: you=你&lt;!--CRLF--&gt;In actionscript3 we will use resourceManager.getString(&#39;locale&#39;,’hello&#39;)&amp;#160; set&amp;#160;to the value.and in mxml we will use text=&amp;quot;@Resource(key=&#39;</summary><link rel='replies' type='application/atom+xml' href='http://leon456.blogspot.com/feeds/8230005267228841944/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://leon456.blogspot.com/2012/08/flexusing-resource-bundles.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6605875987251803181/posts/default/8230005267228841944'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6605875987251803181/posts/default/8230005267228841944'/><link rel='alternate' type='text/html' href='http://leon456.blogspot.com/2012/08/flexusing-resource-bundles.html' title='【Flex】Using resource bundles'/><author><name>Unknown</name><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-6605875987251803181.post-4200529715983001795</id><published>2012-06-04T21:00:00.001-07:00</published><updated>2012-06-05T02:47:33.435-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="blazeds"/><category scheme="http://www.blogger.com/atom/ns#" term="Flash"/><category scheme="http://www.blogger.com/atom/ns#" term="FLEX"/><title type='text'>【BlazeDS】Message of customer adapter</title><summary type="text">1.Create an adapter class in java source code,in my example,we will pass xml format data to client,if the data from producer is valid,the xml data will send to consumer client correctly,otherwise nothing happened(Console still print print stack trace).    1: package com.leon456.fake;  2:   3: import java.io.IOException;  4: import java.io.StringReader;  5:   6: import </summary><link rel='replies' type='application/atom+xml' href='http://leon456.blogspot.com/feeds/4200529715983001795/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://leon456.blogspot.com/2012/06/blazedsmessage-of-customer-adapter.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6605875987251803181/posts/default/4200529715983001795'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6605875987251803181/posts/default/4200529715983001795'/><link rel='alternate' type='text/html' href='http://leon456.blogspot.com/2012/06/blazedsmessage-of-customer-adapter.html' title='【BlazeDS】Message of customer adapter'/><author><name>Unknown</name><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/AVvXsEhEFB6CdaLazQ_2zx_BPV3Skyj6MAaj4GmkFT61HqSJXyBqDf1myYtJV6nlQ1mTsy9oA7Gl6-pbq779cW7yN-4q2qgm6HkZWnbNmFdh2A0YJdkdNpglx0nw21AWY2SS-GJfxC8wwMPmkdrG/s72-c?imgmax=800" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6605875987251803181.post-2734928556074360933</id><published>2012-05-26T08:28:00.001-07:00</published><updated>2012-05-26T08:33:52.096-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="javascript"/><title type='text'>【JavaScript】replace all</title><summary type="text">&amp;lt;script type=&amp;quot;text/javascript&amp;quot;&amp;gt;var visitorName = &amp;quot;Chuck&amp;quot;;var myOldString = &amp;quot;Hello username! I hope you enjoy your stay username.&amp;quot;;var myNewString = myOldString.replace(/username/g, visitorName);document.write(&amp;quot;Old string =  &amp;quot; + myOldString); document.write(&amp;quot;&amp;lt;br /&amp;gt;New string = &amp;quot; + myNewString);&amp;lt;/script&amp;gt;Will output as belowOld </summary><link rel='replies' type='application/atom+xml' href='http://leon456.blogspot.com/feeds/2734928556074360933/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://leon456.blogspot.com/2012/05/javascriptreplace-all.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6605875987251803181/posts/default/2734928556074360933'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6605875987251803181/posts/default/2734928556074360933'/><link rel='alternate' type='text/html' href='http://leon456.blogspot.com/2012/05/javascriptreplace-all.html' title='【JavaScript】replace all'/><author><name>Unknown</name><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-6605875987251803181.post-4986144570796344748</id><published>2012-05-10T22:47:00.001-07:00</published><updated>2012-05-10T22:52:16.932-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Android"/><category scheme="http://www.blogger.com/atom/ns#" term="Google Maps"/><category scheme="http://www.blogger.com/atom/ns#" term="java"/><title type='text'>【Android】Using Google Maps note</title><summary type="text">   Create project need to select 【Google APIs】   &amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;      AndroidManifest.xml need to add below tag   &amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;   </summary><link rel='replies' type='application/atom+xml' href='http://leon456.blogspot.com/feeds/4986144570796344748/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://leon456.blogspot.com/2012/05/androidusing-google-maps-note.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6605875987251803181/posts/default/4986144570796344748'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6605875987251803181/posts/default/4986144570796344748'/><link rel='alternate' type='text/html' href='http://leon456.blogspot.com/2012/05/androidusing-google-maps-note.html' title='【Android】Using Google Maps note'/><author><name>Unknown</name><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/AVvXsEjRteteeWJnVDkcgEzPEltrBh5vQdYAJtr-gU5oOykFP_ZLjxbrOgQfXxLwmZQdPrLh65oYTSw8rdq_rt6kLHOGeKVIDmoezBVaeLDASwUuBHFgYZW_PW_IoXHJK0hCz64LBBvYeAZYbIgU/s72-c?imgmax=800" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6605875987251803181.post-2678437928850873641</id><published>2012-04-27T07:57:00.001-07:00</published><updated>2012-04-27T08:17:32.828-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="OpenCart"/><category scheme="http://www.blogger.com/atom/ns#" term="php"/><title type='text'>【OpenCart】Add new language</title><summary type="text">Go to open cart&amp;#160; homepage,select 【Extension】    1.Select catalog lanaguage 2.Input what your language 3.Select your OpenCart version and License   finally choose favorite pack    Download it(mine is 1.5.2.1)    Unzip the file,you will see two folders as below  &amp;#160;    Copy the these folder to your OpenCart folder,you can overwrite them directly    Please check&amp;#160; language folder in </summary><link rel='replies' type='application/atom+xml' href='http://leon456.blogspot.com/feeds/2678437928850873641/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://leon456.blogspot.com/2012/04/opencartadd-new-language.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6605875987251803181/posts/default/2678437928850873641'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6605875987251803181/posts/default/2678437928850873641'/><link rel='alternate' type='text/html' href='http://leon456.blogspot.com/2012/04/opencartadd-new-language.html' title='【OpenCart】Add new language'/><author><name>Unknown</name><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/AVvXsEhLEuGdRW26gvm4oFK1v73KD4j5zEKpzY7qpayXccNaKVgfKlAdkSJ5xALhXSQri_52Fjs9L9myY2albmD_nwHBPT1lXGBZWG0QMaqHQFvNcO3Kb6EKuKKt0wd-ZWHGtu7y0efoHnlzvU_X/s72-c?imgmax=800" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6605875987251803181.post-2175083994914278349</id><published>2012-04-20T08:42:00.001-07:00</published><updated>2012-04-20T08:42:28.999-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="java"/><title type='text'>【Java】 Convert a Hex String to an Integer and Back Again</title><summary type="text">Hex String to an Integer&amp;#160;             1: String hex = &amp;quot;2A&amp;quot;; //The answer is 42  &lt;!--CRLF--&gt;       2: int intValue = Integer.parseInt(hex, 16);  &lt;!--CRLF--&gt;  Integer to Hex String         1: String hex = Integer.toHexString(42);  &lt;!--CRLF--&gt;  </summary><link rel='replies' type='application/atom+xml' href='http://leon456.blogspot.com/feeds/2175083994914278349/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://leon456.blogspot.com/2012/04/java-convert-hex-string-to-integer-and.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6605875987251803181/posts/default/2175083994914278349'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6605875987251803181/posts/default/2175083994914278349'/><link rel='alternate' type='text/html' href='http://leon456.blogspot.com/2012/04/java-convert-hex-string-to-integer-and.html' title='【Java】 Convert a Hex String to an Integer and Back Again'/><author><name>Unknown</name><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-6605875987251803181.post-5083391922658653423</id><published>2012-04-16T21:11:00.001-07:00</published><updated>2012-04-16T21:11:03.318-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Android"/><category scheme="http://www.blogger.com/atom/ns#" term="Unity3D"/><title type='text'>【Unity 3D】enable log for android platform</title><summary type="text">For now, this is what I am doing to get at least some information:             Enable &amp;quot;logcat&amp;quot; profiler in the player settings, under Other Settings (Android tab) of Player Settings.                Make sure USB debugging is enabled on the Android device (check under Settings | Development).                Run adb through the command prompt (with command line argument logcat) that comes</summary><link rel='replies' type='application/atom+xml' href='http://leon456.blogspot.com/feeds/5083391922658653423/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://leon456.blogspot.com/2012/04/unity-3denable-log-for-android-platform.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6605875987251803181/posts/default/5083391922658653423'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6605875987251803181/posts/default/5083391922658653423'/><link rel='alternate' type='text/html' href='http://leon456.blogspot.com/2012/04/unity-3denable-log-for-android-platform.html' title='【Unity 3D】enable log for android platform'/><author><name>Unknown</name><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-6605875987251803181.post-738742299417707543</id><published>2012-04-01T03:56:00.001-07:00</published><updated>2012-04-01T04:11:18.407-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Android"/><category scheme="http://www.blogger.com/atom/ns#" term="java"/><title type='text'>【Android】add a layout file into current activity</title><summary type="text">If layout flie(e.g. layout.xml) need to add to acticity using hardcard,below code is ths example    1: controlInflater = LayoutInflater.from(getBaseContext());  2:         View viewControl = controlInflater.inflate(R.layout.control, null);  3:         LayoutParams layoutParamsControl   4:             = new LayoutParams(LayoutParams.FILL_PARENT,   5:             LayoutParams.FILL_PARENT);  6:</summary><link rel='replies' type='application/atom+xml' href='http://leon456.blogspot.com/feeds/738742299417707543/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://leon456.blogspot.com/2012/04/androidadd-layout-file-into-current.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6605875987251803181/posts/default/738742299417707543'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6605875987251803181/posts/default/738742299417707543'/><link rel='alternate' type='text/html' href='http://leon456.blogspot.com/2012/04/androidadd-layout-file-into-current.html' title='【Android】add a layout file into current activity'/><author><name>Unknown</name><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></feed>