2. SESSION 1
1. Introduction to Mobile Application Development
2. Features of Android
3. Architecture of Android
4. Activity Life Cycle
Dept. of Computer Science and
Engineering
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. iPHONE
1. 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. ANDROID an OS ?? Or Application Stack ??
Dept. of Computer Science and
Engineering
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
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