Tips for using AdMod module in Android Studio

(Geneva.Swiss) It’s pain in the ass to use Android Studio now, since it’s just published, which implies bugs appear every now and then, and you’re not sure it’s due to your misunderstanding of this IDE, or it’s really an issue. In addition, it’s relatively hard to find How-to answers comparing to ADT plugin with Eclipse. While trying to set up AdMob module in my project on Android Studio, it took me some time to fix some external library import errors that should be clearly mentioned in online AdMob doc, or even better, just integrate it into “Android Studio”. Isn’t Android Studio meant to make Android developers’ life easier? ...

May 24, 2013

Enhance Reading Experience for Android Dev website

Recently I spend most of my time reviewing documents on google’s android official site. It annoys me that the left side of the screen is always occupied by the content index; however, I just need to change articles once in a while by using it. It makes me feel bad that one third of the screen is wasted. In addition, it also distracts me while I was reading. As a consequence, I searched internet to see if there’s any extension, plugin, or script to help me hide the navigation panel when I want to do so. Out of luck, no. Maybe it’s too tiny to have someone work on it. ...

May 20, 2013

JavaScript & jQuery: The Missing Manual

很容易讀的一本書,花了兩天把它翻完。 前半部的javascript,因為已經看過一些基本的語法介紹,就沒細看。 後面的jQuery介紹,把selector的使用和網頁的一些操作都帶到了。 比較讓人不解的是,最後一章的debugger介紹,為什麼不是放在整本書的最前面呢? 中間在測一些小範例時,老是卡住;還是靠自己摸索才知道firefox和chrome都有console之類的component可以協助debugging。 ...

May 17, 2013

Eclipse/Java code completion not working with Android development

(GreatWall.Beijin.China) While watching some video tutorials about android development, I found that the lecturer can call out the class completion helper dialog during typing class names. However, I only have the function/variable autocompletion feature after typing a . after a class name in my eclipse. Without entering the class name correctly, I can not get any help from eclipse, which is quite strange comparing to what I’ve seen for others. ...

May 14, 2013

vrapper

最近常遇到 limeHD 選字不對的問題。不知道能不能加個小方法,讓它可以按著使用者的意思,針對某種打法,強制某個字是自己要的第一候選字呢?所以去抓了limeHD的程式碼,想要來研究研究一下。 ...

April 18, 2013

QNAP TS-112 再復活

(Annecy.France) Mountain climbing with my good friends. **** 很久前試著把我買的QNAP TS-112升級, 結果升級完就GG了。 在裡頭寫的wordpress post一開始以前,在重灌時搞爛了, 後來好像那個partition還在。 ...

April 12, 2013

How to de-compile android apk for studying purpose

(Redmond.Seattle.US) Oh, How I miss it. **** Due to interview purpose, I wanna know some inside implementation details about a certain apk. In order to do further investigation, I searched how to de-compile apk files on the internet. The reference article below is so wonderful that it lists necessary tools and also the commands how to trigger them. In brief, you need dex2jar and JD-GUI. If you want resource, or read smali files, apktool will do the trick too. ...

April 10, 2013

好久沒騎腳踏車了

(Red Leaves.Seattle.US) 好久沒騎腳踏車了。這幾天台北都在下雨,每天待在家裡都快發霉了。 趁著最後一天沒下雨,把很久沒騎的小白折疊車從五樓抬到一樓, 將早已經消氣的前後輪充飽氣後,拿著快沒電的手機, 出發到老路線,萬隆→大稻埕。 ...

April 7, 2013

如何批次下載教育廣播電台的教學節目有聲資料

(Jellyfish.Osaka.Japan) 去水族館看水母,已經成了到各地水族館既定的行程。在微光下,要拍攝出動人的水母照片,難度頗高。若是能拍攝到,當天的心情一定會特別好。 **** 新版的教育廣播電台網站,把原先可以直接下載的連結全變成了網頁。有些課程只能線上收聽(而且得要特定的browser才行,我用firefox和chrome都不可以,在mac只能使用safari才聽得到)。對於這種限制,個人不知道是出於什麼樣的考量。如果是在沒有網路的環境下,那就沒辦法自學了。另一點是線上播放的player是固定的,無法提供快讀或是慢讀,或是A-B播放的功能,對於語言學習來說,很不好用。為此,決定把這些audio都下載下來,在自己的電腦上使用。 ...

April 6, 2013

ATW-WP169-3 無線遙控開關.家庭自動化.遙控開關.無線開關◎安得王科技◎

(Taipei.Taiwan) 花博時拍的。雖然市政府花了大錢蓋了一堆博覽會之後就沒啥用處的建築,但是我想參加花博的遊客應該都還是玩得很盡興吧。盡管是個自high的博覽會,讓台灣人多個去處未嘗不是件好事。像這麼漂亮的鬱金香,如果不是花博的話,還真不知台北上哪兒可以看得到拍得到。 ...

April 5, 2013