+ All Categories
Home > Documents > ©1992-2013 by Pearson Education, Inc. All Rights Reserved. 1 Introduction to Android From...

©1992-2013 by Pearson Education, Inc. All Rights Reserved. 1 Introduction to Android From...

Date post: 25-Dec-2015
Category:
Upload: wesley-neal
View: 248 times
Download: 2 times
Share this document with a friend
Popular Tags:
16
©1992-2013 by Pearson Education, Inc. All Rights Reserved. 1 Introduction to Android From “Android: How to Program” By Paul Deitel and Harvey Deitel
Transcript
Page 1: ©1992-2013 by Pearson Education, Inc. All Rights Reserved. 1 Introduction to Android From “Android: How to Program” By Paul Deitel and Harvey Deitel.

©1992-2013 by Pearson Education, Inc. All Rights Reserved. 1

Introduction to Android

From “Android: How to Program”

By Paul Deitel and Harvey Deitel

Page 2: ©1992-2013 by Pearson Education, Inc. All Rights Reserved. 1 Introduction to Android From “Android: How to Program” By Paul Deitel and Harvey Deitel.

©1992-2013 by Pearson Education, Inc. All Rights Reserved.

The version history of the Android mobile operating system began with the release of the Android beta in November 2007. The first commercial version, Android 1.0, was released in September 2008. Android is under ongoing development by Google and the Open Handset Alliance, and has seen a number of updates to its base operating system since its original release. These updates typically fix bugs and add new features.

Brief Android History

Page 3: ©1992-2013 by Pearson Education, Inc. All Rights Reserved. 1 Introduction to Android From “Android: How to Program” By Paul Deitel and Harvey Deitel.

©1992-2013 by Pearson Education, Inc. All Rights Reserved.

Since April 2009, Android versions have been developed under desert codenames and released in alphabetical order: Cupcake, Donut, Eclair, Froyo, Gingerbread, Honeycomb, Ice Cream Sandwich and Jelly Bean. As of 2013, over 500 million active devices use the Android OS worldwide.[1] The most recent major Android update was Jelly Bean 4.2, which was released on commercial devices in November 2012.

Brief Android History

Page 4: ©1992-2013 by Pearson Education, Inc. All Rights Reserved. 1 Introduction to Android From “Android: How to Program” By Paul Deitel and Harvey Deitel.

©1992-2013 by Pearson Education, Inc. All Rights Reserved.

Android 1.0 (API level 1)

Android 1.1 (API level 2)

Android 1.5 Cupcake (API level 3)

Android 1.6 Donut (API level 4)

Android 2.0 Eclair (API level 5)

Android 2.01 Eclair (API level 6)

Android 2.1 Eclair (API level 7)

Android 2.2–2.2.3 Froyo (API level 8)

Android 2.3–2.3.2 Gingerbread (API level 9)

Android 2.3.3–2.3.7 Gingerbread (API level 10)

Android 3.0 Honeycomb (API level 11)

Android 3.1 Honeycomb (API level 12)

Android 3.2 Honeycomb (API level 13)

Android 4.0–4.0.2 Ice Cream Sandwich (API level 14)

Android 4.0.3–4.0.4 Ice Cream Sandwich (API level 15)

Android 4.1 Jelly Bean (API level 16)

Android 4.2 Jelly Bean (API level 17)

Brief Android History

Page 5: ©1992-2013 by Pearson Education, Inc. All Rights Reserved. 1 Introduction to Android From “Android: How to Program” By Paul Deitel and Harvey Deitel.

©1992-2013 by Pearson Education, Inc. All Rights Reserved.

Android Resources

Page 6: ©1992-2013 by Pearson Education, Inc. All Rights Reserved. 1 Introduction to Android From “Android: How to Program” By Paul Deitel and Harvey Deitel.

©1992-2013 by Pearson Education, Inc. All Rights Reserved.

Android Resources

Page 7: ©1992-2013 by Pearson Education, Inc. All Rights Reserved. 1 Introduction to Android From “Android: How to Program” By Paul Deitel and Harvey Deitel.

©1992-2013 by Pearson Education, Inc. All Rights Reserved.

Android Resources

Page 8: ©1992-2013 by Pearson Education, Inc. All Rights Reserved. 1 Introduction to Android From “Android: How to Program” By Paul Deitel and Harvey Deitel.

©1992-2013 by Pearson Education, Inc. All Rights Reserved.

Android Resources

Page 9: ©1992-2013 by Pearson Education, Inc. All Rights Reserved. 1 Introduction to Android From “Android: How to Program” By Paul Deitel and Harvey Deitel.

©1992-2013 by Pearson Education, Inc. All Rights Reserved.

Differences Between Physical and Emulator Versions

Page 10: ©1992-2013 by Pearson Education, Inc. All Rights Reserved. 1 Introduction to Android From “Android: How to Program” By Paul Deitel and Harvey Deitel.

©1992-2013 by Pearson Education, Inc. All Rights Reserved.

Differences Between Physical and Emulator Versions

Page 11: ©1992-2013 by Pearson Education, Inc. All Rights Reserved. 1 Introduction to Android From “Android: How to Program” By Paul Deitel and Harvey Deitel.

©1992-2013 by Pearson Education, Inc. All Rights Reserved.

Differences Between Physical and Emulator Versions

Page 12: ©1992-2013 by Pearson Education, Inc. All Rights Reserved. 1 Introduction to Android From “Android: How to Program” By Paul Deitel and Harvey Deitel.

©1992-2013 by Pearson Education, Inc. All Rights Reserved.

Differences Between Physical and Emulator Versions

Page 13: ©1992-2013 by Pearson Education, Inc. All Rights Reserved. 1 Introduction to Android From “Android: How to Program” By Paul Deitel and Harvey Deitel.

©1992-2013 by Pearson Education, Inc. All Rights Reserved.

Android Projects

Each Android App will be in its own Project folder with its own package name. The Project folder will include many resources for your program that we will discuss in the weeks to come. Whenever you turn in your Android App, you will need to ZIP the whole Project folder and submit the ZIP file.

Page 14: ©1992-2013 by Pearson Education, Inc. All Rights Reserved. 1 Introduction to Android From “Android: How to Program” By Paul Deitel and Harvey Deitel.

©1992-2013 by Pearson Education, Inc. All Rights Reserved.

The Doodlz Project

For your first sample project, you will download and import the Doodlz project. This is a Project that is provided with the Textbook Resources. You will find the ZIP file for the project on the class website, which you must download and then import. Got to File / Import and then choose “Select Archive File”. Then find the ZIP you just downloaded, and click on the Finish button.

Doodlz.zip

Page 15: ©1992-2013 by Pearson Education, Inc. All Rights Reserved. 1 Introduction to Android From “Android: How to Program” By Paul Deitel and Harvey Deitel.

©1992-2013 by Pearson Education, Inc. All Rights Reserved.

The AndroidDoveFlock Project

For your second sample project, you will create a new project from scratch, however, all the code you will use will be provided for you. The Project’s name will be the AndroidDoveFlock, and your Main Activity name will be AndroidDoveFlockActivity, the programs you will load are:

AndroidDove.java FlockingAndroidDove.java RunFlock.java

Page 16: ©1992-2013 by Pearson Education, Inc. All Rights Reserved. 1 Introduction to Android From “Android: How to Program” By Paul Deitel and Harvey Deitel.

©1992-2013 by Pearson Education, Inc. All Rights Reserved.

The AndroidDoveFlock Project

For your AndroidDoveFlockActivity, you must add the following code above the onCreate() method:

private static RunFlock runFlock; // drawing View

And inside the onCreate method as the last two lines:

runFlock = new RunFlock(this);setContentView(runFlock);


Recommended