一月 30, 2011
» Tunein Radio, Moon+ Reader, IM+

photo
Taipei.Taiwan

最近開始比較有在把Android的手機當成日用機,
所以找了一些平常比較需要使用到的軟體。
第一個經常會用到的是廣播軟體。
從很久以前就很喜歡聽網路廣播,除了可以學習語言外,
還可以挑點話少音樂多的電台,又不怕因為收訊不好而充滿雜音。
由於自己比較需要聽各地的電台,電台數的多寡成了我選擇軟體的重要考量。
以前使用的是TuneWiki,它可以連結Shoutcast,所以電台數還算多,
但是主要是線上的電台。
後來我找到了Tunein Radio這軟體,它的出現,讓我完全把TuneWiki丟到了一旁。
電台數量不僅多,而且可以依城市、語言分類。
每個電台還可以選擇想要的串流頻寬(如果原站台有支援的話)。
介面也不花俏,完全是以列表的方式呈現,很容易上手。
在Android上,是免費的。
強烈建議愛聽廣播的人安裝。

看Tunein Radio做得這麼好,想說在iPad或iPhone上不會也有版本吧。
果然沒猜錯!
而且在iPad上,針對介面有特別設計過,不再像Android上以便利簡潔為主,
電台的圖案都以更大圖示來表示,如果該電台有節目表的話,也可以在該軟體上呈現。
不過,在iPad上就花錢買才行了。才$0.99,二話不說我就買下去了。

****

Moon+ Reader,之前一直有在注意電子書軟體,
不過隔了好一陣子都沒有再接觸,只專心地使用iPad在看書。
因為Android手機不離手,所以在線上查了一下,
看是否有比較順手的軟體可以在短暫休息時能翻翻書解悶。
除了早期的Aldiko外,另外找到了Moon+ Reader。
一用之下,嚇了一跳,功能這麼好的軟體,竟然還是免費的!(當然也有付費版)
很多設計都是我想要的,所以用起來格外開心。
有點相見恨晚的感覺。
現在iPhone和android上的軟體,都是以幾十萬在計算的,
要從中找到適合自己的軟體,也要有點本事吧。

ps. 可以連結ColorDict查單字,這個功能終於有人做了~~
在Cool Reader上也行,不過,Cool Reader的操作方式一直讓我很困惑。

****

最近會躺在床上用iPad上網,偶爾也會msn一下。
把iPhone上買的Beejive IM裝到iPad上來,對話窗會怪怪的,
又不想再花另一筆錢買iPad專用版。
所以又去裝了個免費的IM+
IM+有針對iPad做設計,所以用起來順手多了,
而且還是免費的。


REF:
Tunein Radio
Moon+ Reader 介紹
IM+

二月 23, 2010
» Development on android

PB124730
Annecy.France

看了點文件,想說就來寫寫東西吧,從最簡單的開始。

之前在國外時,為了學法文,幫onlinedic寫了個Vocabulary Review的小程式在Windows Mobile上。讓自己可以用當時帶出去的dopod818加減看一下查過的單字。現在,當時的code已經都不見了,所以想說在android上也寫一個好了。反正onlinedic的export機制都還是okay的。

在寫程式時,也可以順便練習到android上的一些基本觀念,比方說:如何透過intent來叫起另一個activity;如果在叫起別的activity時,帶想要的參數給它;透過xml的UI建置方式,畫面橫轉正轉的處理;UI元件的動作指派;目錄結構的讀取,文字檔的讀取;簡單的webview應用;activity暫存狀態的記錄;功能權限的開啟;androidManifest.xml的基本設定;eclipse開發環境的熟悉等。

真的寫下去了,明明是個很簡單的程式,但也弄了一天多才寫好,花了許多時間在小細節上。如果不把除錯、追臭蟲方式弄熟,接下來的日子應該會很痛苦吧。

= = =
如果有空的話,乾脆一不做二不休,把onlinedict也搬到android,這樣子就不用每次都要裝一堆字典了。在網路上找到open source,可以讀取stardict字典檔的程式,有空再研究吧。先記下link:
http://code.google.com/p/toolkits/wiki/YAStarDict

另外,沒想到有人替eblib包了個python wrapper!!
當初在onlinedict裡亂寫的鄨腳command line程式,應該可以用這個wrapper把它換掉吧,省下暫存文字檔輸入輸出的廢工。
也是…改天有空再試吧。
Link: http://code.google.com/p/pyeb/

九月 30, 2009
» Android Development Notes

R8075885.JPG
Taipei.Taiwan

台北的稻田…

****

安裝eclipse ADT時遇上找不到plugin的問題。
最後改用手動下載ADT,自己安裝的方式。
http://developer.android.com/intl/ja/sdk/1.6_r1/installing.html#Troubleshooting

Vimplugin for Eclipse
http://vimplugin.org/

六月 10, 2009
» The long way to port my onlinedic on Android platform

P5045763 (by plateaukao)
Cannes.France

坎城除了大家比較熟悉的海邊的星光大道外,
其實在車站的另一個方向有個舊城區。

跟海邊的人潮比起來,
這兒顯得寧靜許多(不過沒有上空美女就是了。
看著清一色的橘紅色屋頂和遠方的山水,晒著不會太炙熱的陽光,
這兒真的很適合度假。
難怪在Bienvenue chez les Chi'tis裡的那個老婆,那麼想要搬到法國南部;
而在南法,特地搬來這兒住的英國人也是屬一屬二多的。

****

After glancing through the basic documents of Android SDK, I still have a lot of work to do before porting my onlinedic to this platform:

1. Find the UI components that I need:
1.1 EditControl
1.2 Button (for start searching)
1.3 HTML viewer
2. How to create and use its menu
3. Find the component to open http requests
4. Find the component to post-process the received html file


As for item 1, it's not so difficult because the UI components I need are few.
Except for the 1.3 HTML viewer, I spent some time to make it work.

First of all, the component to display html content on android is
android.webkit.WebView
You can create this component in the resource and find it by id in the java source code.

Secondly, you need to add a permission line in the Manifest xml file in order to have the access to load URLs.
<uses-permission android:name="android.permission.INTERNET" />

Since I will only use this component to display the processed results of the html, I don't have to study too much about what actions it supports.

As for 2, 3, and 4, I will update later once I know how to accomplish them.

voila, here's the result of today's work:

IMAG0427 (by plateaukao)

****

好久沒到韓風饌吃東西了。
久久吃一次也是不錯的。
新拿到的傢伙太大隻了。
拍起照來手會不穩。
不過,看電子書應該很過癮吧。

IMAG0319 (by plateaukao)

六月 7, 2009
» Android Study

R8074880.JPG (by plateaukao)
Hong Kong

I wanna try out how to write Android softwares on my borrowed Magic device. In order to take notes of my studies, I will write down something here for my later refernce.

1. System requirement and Installation

» Android Study: System requirement and Installation

R8074901.JPG (by plateaukao)
Hong Kong

1. eclipse
2. JDK6
3. ant
4. android SDK: need to set up PATH in windows
5. ADT in eclipse: need to add site in eclipse to do the update.

» Connect HTC Magic to PC

R8075187.JPG
ChangChou.Hong Kong

1. Go to following URL and download "HTCDriver_Update", "HTC Sync".
2. Install them on the desktop. Done!

If you've already installed Android SDK, you can use ADB in the tool folder to interact with Magic now.

» First Android program on real device

R8072380
Pipes.Paris

It's hard to put all the lines in order. So does the life.

****

Finally, I wrote my first android program and put it on the device. Although it's just a small hello world program, it took me some time install the necessary development tools and read some conceptual documents.

From now on, I can start to do some real programming. I plan to port my onlindic to android platform. It's a system to live with internet access; so is my onlinedic (although now it supports local dictionary files already). Hope this can be done in this summer.

The following reference is a tool that can help you to quickly create the UI layout for android applications.

REF:
http://code.google.com/p/droiddraw/

A Feedjack powered Planet
A Django site.