Introduction to Android programming
Upcoming SlideShare
Loading in...5

Introduction to Android programming



Introduction to Android programming

Introduction to Android programming



Total Views
Views on SlideShare
Embed Views



0 Embeds 0

No embeds



Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
Post Comment
Edit your comment
  • The version of Java that android supports is a customized version.Its syntax is primarily based on Java 5 with a few APIs that were new to Java 6 thrown in.
  • But standard way :Get JAVA JDKGET Android SDK
  • You’ll need a certain set of software to build your Android apps.1- JDK (java developer kit)
  • Eclipse with the ADTAlso you use Android Studio (a new IDE from Google based on Jetbrains’IntelliJ IDE)
  • Based on Linux , but specifically designed to be run on mobile devices
  • Fragments API : to support more dynamic and flexible UI designs on large screensAlso we had 4.2 and 4.3Google gesture : V8 Engine : V8 compiles JavaScript to native machine code before executing it
  • The base of android is Kernel that’s built around Linux. It’s a version of Linux that is highly optimized for mobile Oss.On top of Kernel is the Android RunTime. (Set of Libraries that enable the behavior of the OS itself).Application Framework which sits on top of the Android Runtime and associated libraries.And then finally at the top are the apps. OS apps and Custom apps
  • A set of driversEach driver is designed to interface with an element of the hardwareIt’s up to OEMs, that is, the manufacture of devices themselves to customize these drivers, and make them work for those devices.
  • Dalvik virtual machine or JVM for java Apps.Dalvik is highly optimized for small devicesDalvik Virtual Machine doesn’t run .class files, instead it runs .dex files.
  • The associated libraries include libraries to manage all sort of features of android :Graphic, databases, encryption, typefaces, and so on.Device makers can add their own libraries to this layers.
  • It has modules for controlling all the different components of your apps.These are the blocks that our applications directly interacts with
  • Each version of android has been delivered with an expanded set of included apps :Home, Browser, contact management, phone management ,…

Introduction to Android programming Introduction to Android programming Presentation Transcript

  • Introduction to Android @SirwanAfifi
  • Android is : • A software stack The operating system An application framework (that lets you built apps that can distributed through the markets) • Program with Java and XML
  • Programming with Java • Java coding standards are based on Java 5 and 6
  • Programming with XML • XML for app configuration and resource management • Basic XML vocabulary : elements, attributes, etc.
  • Another options to learn Android
  • Required Java Software • On Windows Oracle JDK 6+ • On Mac OS X Java for OS X is required
  • Developer Tools • Android Developer Toolkit (ADT) An Eclipse plugin Bundled with Eclipse or available separately • Android Studio
  • Android is : • An operating system Based on Linux Supports mobile devices (phones, tablets) • A software stack The operating system The application framework
  • The History of Android Video Supports Home Screen Widgets Copy/paste in web browser Pictures in contacts Auto rotation Google gesture Integrated camera/galler y Multiple accounts Bluetooth 2.1 Support Microsoft exchange Searching SMS/MMS More screen sizes Speed & memory enhancement s New JavaScript V8 Engine in Chrome WiFi hotspot Concurrent garbage collector Video and audio improvement s NFC Clipboard enhancement s Optimized for tablets Fragments API Actionbar And more Unified the tablets and smartphone SKDs Improved video and customizabl e launcher Performance improvemen t Memory and power management printing Storage access Pictures in contacts Rich media
  • Android Software Stack Linux Kernel LibrariesAndroid Runtime Application Framework Applications
  • Android Software Stack Linux Kernel Flash memory Keypad driver Power management WiFi driver Audio drivers Binder (IPC) driver Camera driver Display driver
  • Android Software Stack Android Runtime Dalvik virtual machine Core Libraries
  • Android Software Stack Libraries SSLSQLiteSGLOpenGL Media framework LibWebCorelibcFreeType
  • Android Software Stack Application Framework Window manager Resource manager Telephony manager Package manager Notification manager Location manager Content providers Activity manager
  • Android Software Stack Applications PhoneContactsBrowserHome
  • Getting Started • Download SDK from • Download SDK Tools via Android SDK Manager • Creating AVD via Android Virtual Device Manager
  • Demo! :)