01/08/2008

Lunar Lander - sample applet

Android SDK comes with a couple of sample applets. One of those is a classic game - Lunar Lander. I played with it, well literally.

To build the applet, open up Eclipse and creat a new project based on samples/LunarLander. After confirm the applet with debugger, I copied LunarLander.apk to android-root/data/app.

ll-menu.png

It works fine as expected. I'm not good at this kind of games. I played it a couple of times but never landed successfully.
ll-opt.png    ll.png    ll-fail.png
posted by 安藤恐竜 at 18:25 | Comment(0) | TrackBack(0) | 日記

01/05/2008

RotateView - Android Applet

I wrote a small Android applet to rotate the view.

RotateView.tar.bz2

Download and unzip it. Then copy RotateView/bin/RotateView.apk to android-root/data/app. When you restart Android, you will find RotateView icon in Applications folder.
rv_menu_portrait.png

There are four view styles. Just select and click.
rv_do_landscape.png

Nice to have Android Zaurus in landscape view.
rv_in_landscape.png

The view style will be effective until rebooting Android.
rv_menu_landscape.png

This small applet may come in handy when you are playing with Android Zaurus. It also works in the Android SDK emulator.

You will notice that OpenGL demo applet runs much slower in landscape view than portrait view. Graphic manager rotates images by software.

Technically, this applet is nothing new. As I already reported in Portrait/Landscape and Keycode, Davanum found service call command and IWindowManager has an API to rotate the view.

I'm just sick of typing in the service call command everytime I boot up my Android Zaurus and decided to write an quick applet.

Have fun.




RotateView applet contains a free icon from iconlet. I could download a nice icon in no time because of the simple user interface of iconlet.
posted by 安藤恐竜 at 16:14 | Comment(0) | TrackBack(0) | 日記

01/02/2008

i18n check by Google News

By looking around Google News, I tested how Android supports i18n so far.

U.S. and international menu.
gnews-us.png    gnews-menu.png

Japan, Taiwan, Hong Kong, China.
gnews-jp.png    gnews-tw.png    gnews-hk.png    gnews-cn.png

Korea.
gnews-cn.png

Russia, Italy, France and Chez.
gnews-rusia.png    gnews-italia.png    gnews-france.png    gnews-cheska.png

Arabic and Hindu. These are not supported yet.
gnews-arabic.png    gnews-india.png
posted by 安藤恐竜 at 22:57 | Comment(0) | TrackBack(0) | 日記

広告


この広告は60日以上更新がないブログに表示がされております。

以下のいずれかの方法で非表示にすることが可能です。

・記事の投稿、編集をおこなう
・マイブログの【設定】 > 【広告設定】 より、「60日間更新が無い場合」 の 「広告を表示しない」にチェックを入れて保存する。


×

この広告は1年以上新しい記事の投稿がないブログに表示されております。