1 / 16

Introduction to Android

Introduction to Android. From “ Android: How to Program” By Paul Deitel and Harvey Deitel. Brief Android History.

fionn
Download Presentation

Introduction to Android

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Introduction to Android From “Android: How to Program” By Paul Deitel and Harvey Deitel

  2. Brief Android History • 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.

  3. Brief Android History • 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.

  4. Brief Android History 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)

  5. Android Resources

  6. Android Resources

  7. Android Resources

  8. Android Resources

  9. Differences Between Physical and Emulator Versions

  10. Differences Between Physical and Emulator Versions

  11. Differences Between Physical and Emulator Versions

  12. Differences Between Physical and Emulator Versions

  13. 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. Whenever you turn in your Android App, you will need to ZIP the whole Project folder and submit the ZIP file.

  14. 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

  15. 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

  16. The AndroidDoveFlock Project • For your AndroidDoveFlockActivity, you must add the following code above the onCreate() method: • private static RunFlockrunFlock; // drawing View • And inside the onCreate method as the last two lines: • runFlock = new RunFlock(this); • setContentView(runFlock);

More Related