2010年1月4日 星期一

Android fontpack can be used on Windows Mobile 6.5

For some reason, I only can have Windows Mobile 6.5 english ROM for HTC Touchpro2 device.
I know there is a project called - Little bear studio(小熊工作室) which support chinese input method and chinese font for pure english Windows mobile device. But many people complain there are some issues on Windows Mobile 6.5, so I don't want to take a risk on my device. I look for a while from Internet, and some people suggest to use Android fontpacks which include Traditional/Simplied  chinese, Korea, Japenese font. Since I don't really need chinese input method on mobile, so I decide to install this package. (EVO Droid.zip). It works very well on my english Windows Mobile. It really can show chinese char when using browser, Outlook mobile, etc..
Hope you can enjoy this when you have same environment as me.

HowTo: Create a list of installed packages - Ubuntu Forums

HowTo: Create a list of installed packages - Ubuntu Forums
Recently, I have three Ubuntu host to develop something, but I always have to reinstall the necessary packages one by one when build system complain it needs some files.

Now I found a good solution to get the whole installed list and feed it to a fresh host, then I have some developing environment on three machine.

This is a great tip for me.

#dpkg --get-selections > installed-software (run on ready developing machine)

#dpkg --set-selections < installed-software (run on fresh machine, then followed by dselect)

2009年12月5日 星期六

Chromium OS run on Thinkpad R51 with working wifi

Google has announced Chromium OS for a long time(2009/11/19), and I tried to build the image from source code. The building script can generate vmware image and write image into bootable USB disk. But the default image can't let my Thinkpad R51 wifi work. Looking into the kernel boot log, it fails at the loading stage when it wants to load ipw2200 firmware binary file.
The simple way to solve this issue is to copy the needed file from Ubuntu 9.10.
Copy the /lib/firmware/ipw2200-bss.fw to USBDisk:/C-ROOT/lib/firmware/2.6.31.4-chromeos-intel-menlow/ipw2200-bss.fw



Detail issue can be checked from following url:
http://code.google.com/p/chromium-os/issues/detail?id=706

2009年11月20日 星期五

2009年11月8日 星期日

Howto run native Linux application on Android

Recently I am working an Embedded Linux Internal project, and use many open source tools to build cross compiler, Linux kernel, small Linux root filesystem on JK2410(Jollen Kit based on Samsung S3C2410 - ARM 920T).
From this project I learned how to build cross compiler, busybox by myself. and use such kind of tools, the static linked code also can run on Android emulator. I would like to share this knowledge from this blog.
First I used OSELAS toolchain, it must be build by ptxdist tool.
Following is the step how to build ptxdist and setup the right gcc, kernel version you want to build the toolchain. Download ptxdist-1.99.12.tgz and ptxdist-1.99.12-patches.tgz from http://www.ptxdist.org/software/ptxdist/download/v1.99/
Run command in the terminal shell:
# tar -zxf ptxdist-1.99.12.tgz
# tar -zxf ptxdist-1.99.12-patches.tgz
# ./configure --prefix=/usr/local
# make
# make install
then, download OSELAS.Toolchain-1.99.3.5.tar.bz2 from http://www.oselas.com/oselas/toolchain/download/
Run following command in the terminal shell:
# tar xf OSELAS.Toolchain-1.99.3.5.tar.bz2
# cd OSELAS.Toolchain-1.99.3.5
# ptxdist select ptxconfigs/arm-v4t-linux-gnueabi_gcc-4.3.2_glibc-2.8_binutils-2.18_kernel-2.6.31-sanitized.ptxconfig
# ptxdist go

After run "ptxdist go", the tool will get the source code, patch from Internet, and compile the right CPU architecture, gcc, glibc, binutils and kernel version as the select setting you give. You can change the ptxconfig to more match your platform requirement.
The build procedure will take 1 to 2 hours depended on your Building host computing power.
After it finished, you can find the toolchain in /opt/OSELAS.Toolchain-1.99.3/ directory, so make sure your running user have permission to write file into /opt directory.

2nd Step is build up a static linked busybox, now it have some problem to run dynamic shared code on Android, because the linker system program in Android use different technology with toolchain. I haven't let dynamic code run successfully on Android.

Get busybox-1.15.2.tar.bz2 from http://www.busybox.net/downloads/
#tar jxvf busybox-1.15.2.tar.bz2
#cd busybox-1.15.2
#make menuconfig
This step you must change the Busybox setting -> Build options
Choose Build BusyBox as a static binary (no shared libs)
and Set Cross Compiler prefix as "arm-v4t-linux-gnueabi-"
#make
Now you can see the striped busybox present in this folder

3rd Step is to prepare the Android SDK environment, you can get it from here
Please notice the link will not get the whole package, you must following this instruction to get more add-on package.
Assume you place android sdk in /opt/Google/android-sdk-linux, add "/opt/Google/android-sdk-linux/tools" in your PATH variable.
then, run following command:
#android create avd -n my_droid -t 1
#emulator -avd my_droid -shell
From now now, you can see a magic emulator Google phone is launched, and the previous terminal become a single # as prompt.
In this prompt, you are in the Android root shell, you can type "ls -l" "cd" "pwd" as normal command.
Now you also need use following command(in Host Terminal) to put busybox binary into Android emulator.
#adb push busybox /data/busybox
#adb shell chmod 755 /data/busybox

Final, switch to Android shell, and type
#/data/busybox ls -al /system

You can see the file list from the busybox binary output.

This purpose of article is just to share the toolchian buildup experience, and the native C code compatibility on Android platform. You must not to use this way to run your original application. You shall learn how to use Android NDK to build your native C/C++ library.
I am now studying this as my next step to learn more about Android platform. If you are interested on this, we can discuss this by email or other way.

2009年9月29日 星期二

17 FreeCall - 網頁電話服務宣稱可以免費撥打台灣市話及手機

Source from: http://www.ithome.com.tw/itadm/article.php?c=56925

博祥網通繼Web Talk雲端運算在市場造成轟動後,再次推出震撼網路廣告市場的17freecall免費打電話網路平台,博祥網通充分展現web2.0免費威力。
所謂17Freecall,即一起打免費電話。是博祥網通Webphone web2.0網路語音技術結合廣告輪播機制的創新平台。網友加入17Freecall網站成為會員後,不需下載軟體就可以免付費從該網站平台撥打電話到市話、手機甚至是國際電話,有別於一般的網頁電話。而廣告主刊登廣告有別於其他網路廣告平台最大的優勢是17Freecall可鎖定族群撥放廣告,有效幫廣告主找到對的人看廣告,而客戶一次僅看一則廣告,沒有其他廣告干擾廣告主委刊的廣告可以有效直達目標客戶,客戶專心看廣告,廣告當然最有效。
博祥網通廣告託播服務還不止於此,17freecall還會以簡訊方式將廣告主的廣告或促銷活動發簡訊至客戶的手機之中,以達到滴水不漏的廣告效果,網路廣告近年呈逆勢成長之勢,結合免費網頁電話的新服務平台是創舉,17Freecall的出現必然成為網路新寵兒。

參考來源: 一起免費打電話 (在「Google 網頁註解」中檢視)