Introduction to Android programming

712 views

Published on

Introduction to Android programming

Published in: Software, Technology
1 Comment
2 Likes
Statistics
Notes
No Downloads
Views
Total views
712
On SlideShare
0
From Embeds
0
Number of Embeds
4
Actions
Shares
0
Downloads
50
Comments
1
Likes
2
Embeds 0
No embeds

No notes for slide
  • 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

    1. 1. Introduction to Android @SirwanAfifi
    2. 2. 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
    3. 3. Programming with Java • Java coding standards are based on Java 5 and 6
    4. 4. Programming with XML • XML for app configuration and resource management • Basic XML vocabulary : elements, attributes, etc.
    5. 5. Another options to learn Android
    6. 6. Required Java Software • On Windows Oracle JDK 6+ • On Mac OS X Java for OS X is required
    7. 7. Developer Tools • Android Developer Toolkit (ADT) An Eclipse plugin Bundled with Eclipse or available separately • Android Studio
    8. 8. Android is : • An operating system Based on Linux Supports mobile devices (phones, tablets) • A software stack The operating system The application framework
    9. 9. 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
    10. 10. Android Software Stack Linux Kernel LibrariesAndroid Runtime Application Framework Applications
    11. 11. Android Software Stack Linux Kernel Flash memory Keypad driver Power management WiFi driver Audio drivers Binder (IPC) driver Camera driver Display driver
    12. 12. Android Software Stack Android Runtime Dalvik virtual machine Core Libraries
    13. 13. Android Software Stack Libraries SSLSQLiteSGLOpenGL Media framework LibWebCorelibcFreeType
    14. 14. Android Software Stack Application Framework Window manager Resource manager Telephony manager Package manager Notification manager Location manager Content providers Activity manager
    15. 15. Android Software Stack Applications PhoneContactsBrowserHome
    16. 16. Getting Started • Download SDK from developer.android.com/tools/index.html • Download SDK Tools via Android SDK Manager • Creating AVD via Android Virtual Device Manager
    17. 17. Demo! :)

    ×