Android 101, Class 1

Welcome to the Girl Develop It Android 101 course! The course material will be open, just make sure to prepare your development environment before attempting the material.

Slides & Notes

This course assumes that students have no programming or Java experience. Therefore, the slides for the first class focus mainly on object oriented programming principles, the Java programming language, and using the IntelliJ IDE. Class 1 Handout.

Homework

The homework for the class can be found here. Please fork the repository to complete the homework assignment. Complete step one and use the github client to download locally (or follow all the instructions to do it on the command line). Follow the instructions in the HOMEWORK file.

Classroom Example

public class Penguin
{
    public static void main( String[] argv )
    {
        int weight = 25;
        System.out.println( "weight = " + weight );

        float lengthOfBeak = (float) .417;
        System.out.println( "length of beak = " + lengthOfBeak );

        short shoeSize = 5;
        System.out.println( "shoe size = " + shoeSize );

        boolean isHungry = true;
        boolean isThirsty = false;

        System.out.println( "hungry? " + isHungry );
        System.out.println( "thirsty? " + isThirsty );

        char c = 'c';
        System.out.println( "character c = " + c );

        if ( weight == shoeSize )
        {
            System.out.println( "weight == shoeSize" );
        }
        else
        {
            System.out.println( "weight not == shoeSize" );
        }
    }
}