android

華為 Android Phone X5 測試

華為上年出了第一部 Android 手機 IDEOS U8150 後,今年又有新搞作。謝謝代理借機比小第一試。今次我型號叫 IDEOS X5,規格走高階路線,已經有 WVGA 畫面, Cortex A8 級 CPU 和 512M RAM,雖然不是最高級的 Dual-Core CPU,但已經是 Nexus One 或 Galaxy S 這些前旗艦機規格,起碼也可以玩兩三年。價錢也只是走平霸路線,官方售價是 HK$2880。

DSCF3003.JPG DSCF3004.JPG

以下是 X5 的規格:

尺寸 (長x闊x厚)120 x 62 x 11.6毫米
重量 約130克(連電池)
顯示屏尺寸 3.8吋WVGA(480 x 800像素)
作業系統 Android™ 2.2 (Froyo)
處理器 Qualcomm MSM7230 800MHz
記憶體 512MB RAM/2GB 儲存

Streaming video on android

Playing streaming MP4 video from a URL is a piece of cake in iPhone, but not the case in android. Firstly you have to create your own activity to play video using MediaPlayer class. It is not difficult because there is sample code in the APIDemo projects in the SDK. However, after success to play it on my Nexus One with OS 2.2, I found that it won't play on my G1 with OS 1.6, with error "sorry,this video is not valid for streaming to this Device.."

Manually set the locale of the application in Android

Android provides a flexible support of localization that system will load different resources according the locale of the current system configuration. However, sometimes we want to manually change the locale of our application especially for our Hong Kong market that people may want to have Chinese locale application in a English system configuration.

To do this, we can set the configuration of the application using the following code:

Header:

import android.content.res.Resources;
import java.util.Locale;

找回 Market 的 top paid apps

昨天 Android Market 終於可以讓香港用戶買 paid apps 了。但是很奇怪,當走進每個category內,只可以看到 top free apps 和 just in,卻沒有了 top paid apps。

網面 sammy 告知原來要把 Market 的 Data 清空才可以看到新的版面:

http://sammy.hk/2010/10/08/android-market-paid-apps-arrive-hongkong

Settings > Applications > Manage Applications > All 中找出 Market,然後按下 Clear data。

然後一切終於回復正常了。

IDEOS's ADB USB Driver for Windows

UPDATE: Just found that when the IDEOS is connected, a 7M drive with title "Mobile Partner" will be mounted to the computer that contains the device driver of the phone. So just install the driver in the folder will be fine.
If you want to use IDEOS as a development device, you will find that there is no device driver for this phone even you update the android SDK to the latest version. The IDEOS actually works on MacOSX or Linux as a development device.

Huawei 華為 U8150 IDEOS Android 2.2 Phone 短評

Huawei 華為 剛在香港發佈最新的 Android 2.2 手機 IDEOS U8150,以最平 smart phone 之名發售,開售價是 HK$1880。

IMG_9841.JPG IMG_9864.JPG

Android Google Maps Street View 使用方法

(Chinese Only)
以下是如何在 Android Google Maps 觀看 Street View 的方法:

1. 開啟 Google Maps

CAP201003111112.png

Android Developer Lab - Hong Kong

Hong Kong is the last location of Android Developer Lab World Tour, and I attended this event yesterday (March 5, 2010)

IMG_0023.JPG

Expiry of the Debug Certificate error in Eclipse Android development

Just got this error from Mac version of Eclipse with Android SDK while compiling an android application.

To solve the problem, simply go to ./android and delete debug.keystore. The key will be expired automatically after one year of usage and you have to delete the old key so that new key will be created automatically.

http://developer.android.com/guide/publishing/app-signing.html

My first Android Phone - T-Mobile G1

It may be a little bit late, but I just got my first Android Phone. It is not the HTC Magic that just released in Hong Kong. It is the previous model T-Mobile G1 that released several months ago. One of the reason that I choose G1 rather than magic is because I am a big fan on sliding keyboard phone since the first HTC Wizard. The phone's firmware will be updated to cupcake (Android 1.5) that is the same as in HTC Magic. Let's explore the world of Android!

The box of G1
The box of G1
Black G1
Black G1
Accessories: adaptor, cable, soft case
Accessories: adaptor, cable, soft case
Manuals, never opens..
Manuals, never opens..
G1 in action
G1 in action
Syndicate content