Monday, March 24, 2014

Class 2. IDE and Java

1. Setup IDE
We will use ADT bundle (Android develepment tools) for Java programing
https://developer.android.com/sdk/index.html

The bundle includes

Eclipse
Android ADT plugin for Eclipse
Android SDK Tools
Android Platform-tools
The latest Android platform
The latest Android system image for the emulator

2. Java basic
0. very basics
    public static final main (...) { }
    {}
    ;
    comment

1. data type
    int

2. loop
    for

3. condition
    if (...) {  }
    else if (...) {    }
    else {    }

3. Exercise
1. Write Hello World
2. Write 0 ~ 9 without loop
3. Write 1~10 with for loop
4. Write 1~10 twice
5. Write 2,3,6,8,10,...

4. Video