Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Session 1 beccse

272 views

Published on

Published in: Technology
  • Be the first to comment

  • Be the first to like this

Session 1 beccse

  1. 1. Getting Started with ANDROID Dept. of Computer Science and Engineering
  2. 2. SESSION 11. Introduction to Mobile Application Development2. Features of Android3. Architecture of Android4. Activity Life Cycle Dept. of Computer Science and Engineering
  3. 3. Introduction to Mobile Application Development Dept. of Computer Science and Engineering
  4. 4. What is ANDROID?1. Open platform http://source.android.com.2. Can compile custom firmwares – good for hackers and other.3. New framework, extended on each new firmware.4. Support Multi tasking.5. Nice IDE – Eclipse, NetBeans.6. Development SDK is free.7. Easy to debug, can send logs to developers.8. Programming Language is JAVA but bridges from other languages exists (C#, .net, etc)9. JAVA is a high level language that appeared in 1995. Android supports JAVA 1.5 and translates the byte code to its own custom Dalvik byte code optimised for mobile devices.10. For the hardcore programmers, Android offers the possibility of programming using C the native dev kit known as NDK. Dept. of Computer Science and Engineering
  5. 5. iPHONE1. Closed platform.2. Limited Multitasking.3. Development Toolkit cost ~99$4. Programming language is Objective C – but bridges exists from JAVA, C#, etc.5. Objective C appeared in 1986.6. Next version of iPHONE is supposed to only allow Objective C code. This means the bridges are out and you must program in Objective C if you want to create an iPHONE application.7. Application are not allowed to duplicate the iPHONE functionality i.e., no custom email interface, etc. Dept. of Computer Science and Engineering
  6. 6. ANDROID an OS ?? Or Application Stack ?? Dept. of Computer Science and Engineering
  7. 7. Introduction Android is a software stack for mobile devices that includes : Operating System Service include hardware drivers, power, process and Linux version 2.6 memory management; security and network. Middleware Libraries SQLite, OpenGL, Webkit, etc Android Runtime Dalvik Virtual Machine and core libraries. Abstraction for hardware access; manages application Application Frameworks resources and the UI; provides classes for developing applications for Android Applications Native apps Contact, Phone, Browser, etc. Third Party apps Developer’s application. Dept. of Computer Science and Engineering
  8. 8. Typical Android Architecture Dept. of Computer Science and Engineering
  9. 9. Activity Life Cycle Dept. of Computer Science and Engineering
  10. 10. Introduction Activity Life Cycle Activity are managed as an activity stack (LIFO collection) Activity has four stages Running Activity is in the foreground Paused Activity has lost focus but it is still visible Stopped Activity is not visible (completely obscured by another activity) Inactive Activity has not been launched yet or has been killed. Dept. of Computer Science and Engineering
  11. 11. Dept. of Computer Science and Engineering
  12. 12. Tea BreakDept. of Computer Science Science and Engineering

×