Nov
20
2007
0

Using android.widget.ArrayAdapter

I’m developing the universal converter on a new platform: Android
The 1st screen will be a ListActivity, if it’s an array of object, android.widget.ArrayAdapter would be very helpful.
Here’s a sample:

 private Vector<Type> types;
 public void onCreate(Bundle icicle) {
        super.onCreate(icicle);
        init();
        setListAdapter(new ArrayAdapter<Type>(this,
                android.R.layout.simple_list_item_1_small, types));
    }

android.R.layout.simple_list_item_1 and simple_list_item_1_small works fine with ArrayAdapter.

Written by hkai in: Android, Java, Mobile, Universal Converter |
Jul
19
2007
0

Widgets Platform

While surfing the internet, I found spring widgets http://www.springwidgets.com , another interesting widgets platform.
Widgets platform is becoming more and more popular recently. Here’s the platform I know

  1. Yahoo! Widgets
  2. Google Gadgets
  3. Windows Vista Widgets
  4. Gnome Widgets
  5. Widsets (for mobile phone)
  6. Spring Widgets
  7. Mac OS X Dashboard Widgets

Please add comment if I miss any widgets platform

Written by hkai in: Universal Converter |
Jul
18
2007
0

ATUC Part 3: J2ME Edition with NetBeans Mobility 5.5

Play it on your phone!

Download the JAD/JAR file: atuc_nbjme.zip

The development notes: nbjme_development_notes.pdf

nbjme_01.jpg

Written by hkai in: Java, Universal Converter |
Jul
18
2007
1

ATUC Part 2: Java Edition with NetBeans 5.5

Java is my favorite programming language since 1996, and NetBeans is my favorite Java IDE since 1998.

It tooks me 2-3 hours to develop the Java Edition, download the Jar file here

Execute this way: java -jar atuc_nbjse.jar

The development notes: nbjse_development_notes.pdf

nbjse_01.jpg

Written by hkai in: Java, My Software, Universal Converter |
Jul
10
2007
0

ATUC Part 1: Yahoo Widgets Edition

The development notes: yw_development_notes.pdf
The widget and source code: atuc_yw.zip
Here’s the screenshot:
screenshot.jpg
I have submitted to Yahoo! Widgets Gallery, and it’s waiting for approval/review now.
After 7 days, the widgets been approved in Yahoo! Widgets Gallery.

You can find it here

Written by hkai in: My Software, Universal Converter |
Jul
10
2007
0

ATUC Part 0: Introduction

Universal Converter is a simple unit converter.
At June 2007, I joined Nokia Forum Developer Conference (Beijing China), and I had an idea: develop a simple application using all kinds of programming languages and tools.
This simple application need to be:

  1. Easy to develop, so I don’t spend too much time on it
  2. Not complex, so it can support as many as OS/Platform
  3. Be useful, so people can really use it

The most recent information can be found here.

Written by hkai in: Universal Converter |

Powered by WordPress | Aeros Theme | TheBuckmaker.com WordPress Themes