1 / 7

Introduction to Android

Introduction to Android. What is Android?. Android is a mobile operating system. A modified version of Linux Google bought Android from another company in 2005 Android is open source Android comes in several versions Some versions are for Smart Phones

jovan
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 Introduction to Android

  2. What is Android? • Android is a mobile operating system. • A modified version of Linux • Google bought Android from another company in 2005 • Android is open source • Android comes in several versions • Some versions are for Smart Phones • Some versions are for Tablet computers Introduction to Android

  3. Architecture of Android Introduction to Android

  4. Android Java API vs. Ordinary Java APIsome examples Java API present in Android Java API NOT present in Android java.applet java.awt GUI event listeners javax.swing GUI components • java.beans • java.io • java.lang • Runnable, Thread, etc. • java.net • Socket, etc. • java.util • List, Set, Map, etc. • java.util.concurrent • Executors, ExecutorService Introduction to Android

  5. The necessary tools • Java JDK • Android applications are written using the Java programming language • Android SDK • Libraries, emulators, debugger, etc. specific to Android. • Eclipse IDE has support for Android application development • NetBeans has very limited support for Android application development • Android Development Tool (ADT) • Plugin for Eclipse. Enables support for Android application development Introduction to Android

  6. Android application development with Eclipse IDE • How to get started • Create an Android project • Choose a build target • I usually chose Android 2.3.3 or Android 4.x • Add a few UI components to main.xml • Override the onCreate() method in your Activity • Run the application in the emulator Introduction to Android

  7. What’s in a Android application?Some Eclipse folders • src • .java source files. • This is where you program your Activities • gen • Java files generated by compilers • R.java: Generated from the layouts, etc. • res.drawable • Pictures, etc. In different resolutions (high, low, medium) • res.layout • XML files describing user interfaces • res.values.strings.xml • XML file with constant strings, like application name, etc. • AndroidManifest.xml • XML file describing the Android application Introduction to Android

More Related