Vous êtes sur la page 1sur 19

Website : http://www.acadgild.

com copyright ACADGILD


LinkedIn : https://www.linkedin.com/company/acadgild
Facebook : https://www.facebook.com/acadgild

1
Brief Intro About AcadGild: CEO Vinod Dham, Father of Pentium

AcadGild is a technology education start-up which provides online courses in


latest technologies.

AcadGild was started by IIT/IIM alumni.

Our aim is to provide millions of high school graduates, college graduates and
working professionals, skills to make them ready for jobs.

copyright ACADGILD Introduction to Java 2


Course Objectives
Learn how to develop professional enterprise level android apps.

Understand the architecture of android applications, life Cycle of various


components, manifest, Intents and the use of external resources for Android
development.

Learn how to design and develop android applications user interfaces

Learn how to take merit of android application framework API to build complex
Android apps

Learn how to utilize the supremacy of background services, threads,


asynchronous tasks and notifications.

Learn how to secure, tune, package and deploy android apps.

copyright ACADGILD Android Development 3


Course Modules
1. Android Introduction & Its Development
2. Android Fundamentals & User Interface Design
3. UI Components & Event Handling
4. Advanced UI Components
5. Working With Intent
6. Working With Menus
7. Data Storage
8. Understanding Preferences & AsyncTask
9. Understanding Dialogs
10. Fragments
11. Working With Action Bar
12. Content Providers
13. Thread &Handler
14. Understanding Broadcast Receivers And Notification
15. Services
16. Web Services
17. Google Maps
18. GPS & Sensor

copyright ACADGILD Android Development 4


Session 1 Android Introduction & Its
Fundamentals
Android
CourseDevelopment
Title
copyright ACADGILD
5
Agenda Android Introduction & its Fundamentals
1. Android Introduction
2. Android & Its Features
3. Android Releases
4. Android Architecture
5. Android Architecture Linux Kernel
6. Android Architecture Native Libraries
7. Android Architecture Application Framework
8. Android Architecture Android Runtime
9. Android Play Store
10. Android Devices
11. Android Application Project Structure
12. Android Manifest

copyright ACADGILD Android Development 6


Android Introduction
A Software platform and Linux Kernel based Operating System for mobile.
Android is Open Source which means it is made freely available and may be
redistributed and modified.
Android was found way back in 2003.
Android was developed by the Andy Rubin, Rich Miner, Nick Sears and Chris
White as a part of Android Inc Start Up.
Android was purchased by the GOOGLE in AUGUST, 2005 for 50 million $.
OHA (Open Handset Alliance) is a group of companies allowed to use open
source code of Android and develop applications.

copyright ACADGILD Android Development 7


Android & Its Features
Application framework enabling reuse and replacement of components.

Integrated browser based on the open source WebKit engine.

Optimized graphics powered by a custom 2D graphics library; 3D graphics


based on the OpenGL ES 1.0 specification (hardware acceleration optional).

SQLite for structured data storage.

Media support for common audio, video, and still image formats (MPEG4,
H.264, MP3, AAC, AMR, JPG, PNG, GIF) and Voice Search.

GSM Telephony (hardware dependent)

NFC, Bluetooth, EDGE, 3G, and WiFi (hardware dependent)

Camera, GPS, compass, and accelerometer (hardware dependent)

copyright ACADGILD Android Development 8


Android Releases - Android
1. Cupcake (1.5)
2. Donut (1.6)
3. Eclair (2.02.1)
4. Froyo (2.22.2.3)
5. Gingerbread (2.32.3.7)
6. Honeycomb (3.03.2.6)
7. Ice Cream Sandwich (4.04.0.4)
8. Jelly Bean (4.14.3.1)
9. KitKat (4.44.4.4, 4.4W4.4W.2)
10. Lollipop (5.05.1.1)

copyright ACADGILD Android Development 9


Android Architecture

copyright ACADGILD Android Development 10


Android Architecture Linux Kernel
Linux Kernel
This layer is core of android architecture.
It provides service like power management, memory management,
security etc.
Binder for process communication.

copyright ACADGILD Android Development 11


Android Architecture Native Libraries
Native Libraries

Android has its own libraries, which is written in C/C++ like web libraries to
access web browser, libraries for android video formats .

Application framework access these libraries

copyright ACADGILD Android Development 12


Android Architecture Application Framework
Application Framework

This is the toolkit that all application use and written in a Java programming

language.

copyright ACADGILD Android Development 13


Android Architecture - Android Runtime
ART (Android RunTime)

It is the next version of Dalvik.

Dalvik is the runtime, bytecode, and


VM used by the Android system for
running Android applications.

ART has two main features compared


to Dalvik:

1. Ahead-of-Time (AOT) compilation,


which improves speed (particularly
startup time) and reduces memory
footprint (no JIT)

2. Improved Garbage Collection.

copyright ACADGILD Android Development 14


Android Play Store

Just 25$ for


Registration.
https://play.google.com/
apps/publish/signup/

upload free / paid


apps.

copyright ACADGILD Android Development 15


Android Devices

copyright ACADGILD Android Development 16


Android Application Project Structure
1.idea
the project specific metadata is stored by Android Studio.
1 2. Project Module (app)
2 This is the actual project folder where your application code
a
b resides. The application folder has following sub directories
c a. build: This has all the complete output of the make
process i.e. classes.dex, compiled classes and resources,
etc.
b. libs : This is a commonly seen folder in eclipse land too,
which optionally can hold the libraries or .jar files.
c. src: The src folder can have both application code
(main) & android unit test script(androidTest ).
The java folder contains all the java codes and res
contains drawables, layouts, etc.
3
3. gradle
This is where the gradle build systems jar wrapper i.e. this jar is
how Android System communicates with gradle installed in OS
4. External Libraries
A place where Referenced Libraries are found and also target
SDK Platform.
4

copyright ACADGILD Android Development 17


Android Manifest

Android manifest acts as a metadata for Android Application.

Syntax :

<manifest>

<Elements for Application properties should come here>

<application>
<Elements for application components should come here>
</application>

</manifest>

copyright ACADGILD Android Development 18


Lets Discuss Assignments
ACADGILD
copyright ACADGILD Android Development 19

Vous aimerez peut-être aussi