Académique Documents
Professionnel Documents
Culture Documents
CPD-4493
Today
Course Outline Introduction to Android
Version History The Google Play Store (Android Market) The Android Software Development Kit (SDK) The Android Virtual Device (AVD)
Project Outline What to Aim For Homework: Online Exercise & Read Ahead
Important Policies
Late to Class
The door will close 5 minutes after class starts. If the door is closed, do not come in.
Assignment Submission
Assignments will be accepted until the end of class on Friday: 12:20pm. No late assignments will be accepted. No excuses.
Important Policies
Plagiarism
If you borrow code from the text, from the internet or from your friend: cite it. Borrowing is okay! You must cite your sources.
Cheating
Do not violate the Student Rights and Responsibilities Policy. It's your responsibility to know what your rights and responsibilities are.
http://nedroidcomics.tumblr.com
Introduction to Android
Chapter One
What is Android?!
Operating System for Mobile Devices
Demo of Android 4.4 on the Nexus 5
Based on Java
Android apps run on the Dalvik Virtual Machine (VM), which is a version of Java VM.
Machine Code
Java Code
Compiler
Byte Code
VM
Feature-Rich Updates
Each major version includes some cool features, for example:
Froyo Introduced WiFi Hotspots in May 2010 Gingerbread Introduced NFC in Dec. 2010 Honeycomb Re-Designed UI for Tablets in Feb. 2011 Ice Cream Sandwich Introduced Android Beam in Oct. 2011 Jelly Bean Introduced Google Now in July 2012 KitKat Optimized the System to run on low-spec hardware
Software Packages
When building a house, you don't start by chopping down trees and mining iron: you start with pre-built parts like boards and nails. When building software, we use pre-built parts called packages. For example:
android.view controls things like drag and drop android.location gives access to GPS data
Android SDK
The Android SDK and Developer Tools bundle is easily the best resource for developing apps. Recently, development has begun on Android Studio, another IDE based on IntelliJ IDEA. If you want to try it on your own time, go ahead.
Object-Oriented Programming
A Quick Refresher
Objects Data and Methods Bound Together Classes Blueprints to Build Objects Methods Programming Tasks Instantiation Building a New Object ReUse Don't Re-Invent the Wheel!!! Encapsulation Data for each Object is Separate Inheritance Design Classes From Other Classes
Question Period
Do you have any questions? Is this too easy? Am I going too fast? Is this too hard?
Project Introduction
We will do a one-hour class to introduce the project on February 28th. This will cover exact grading and provide planning materials for a sample project. Simple Truth:
Look at the regular homework you'll be doing in Chapter 12. Your project must be more complex.
Use a web service (public or home-made); or Be a non-trivial game.
Today
Course Outline Introduction to Android
Version History The Google Play Store (Android Market) The Android Software Development Kit (SDK) The Android Virtual Device (AVD)
Project Outline What to Aim For Homework: Online Exercise & Show Doodlz
Important Policies
Late to Class
The door will close 5 minutes after class starts. If the door is closed, do not come in.
Assignment Submission
Assignments will be accepted until the end of class on Friday: 12:20pm. No late assignments will be accepted. No excuses.
Whats Next?
Friday
Online Quiz Due Must Show Doodlz App Running in AVD
Next Week
Google Play Store and App Business Ideas