Android by Supono

Post on 31-Dec-2015

19 views 0 download

Tags:

description

Presentasi Kuliah Umum tentang Android

Transcript of Android by Supono

Android Love, Learn, Do

@soepono SUPONO

@soepono 2

Android Technology Video

@soepono 3

What is an Android

• Operating System

• Google Product

• Free

• Open Source

• Linux Base

• Fast application development in Java

@soepono 4

Operating System of Mobile Phone

• Symbian: NOKIA • Blackberry OS: RIM • iOS: iPhone • Windows Phone: Windows • Palm: HP

•Android

@soepono 5

History and Evolution

• July 2005, Google acquired Android

• v 1.0: 23 September 2008 (Goes to Open Source)

• v 1.1: 09.02.09: MMS, API, Maps

• v 1.5: 30.04.09 (Cupcake): UI Update, Video

• v 1.6: 30.09.09 (Donut): SDK, Android Market

• v 2.1: 26.10.09 (Eclair): HTML5, Hardware speed

• v 2.2: 20.05.10 (Froyo): OS Speed, Adobe Flash

• v 2.3: 06.12.10 (Gingerbread): VoIP

• v 3.0: 26.01.11 (Honeycomb): Tablet Support

• v 4.0: 19.10.11 (Ice Cream Sandwich): Face Unlock

• v 4.1: 11.01.12 (Jelly Bean): Dekstop

• v 5.0: Key Lime Pie: Battery life

@soepono 6

Yamiii...

@soepono 7

Android Handsets

@soepono 8

Android Applications

• Google Googles

• Twitter, Tweetdeck, Seesmic, Twidroyd, Plume, TweetCaster,...

@soepono 9

Google Maps

@soepono 10

More Applications

• Office

• Remote Dekstop

• Wi-Fi Adaptor

• Audio video player

• Card Rerader

• Game

• Bisnis

• etc

@soepono 11

Why Android?

• Mudah membuat aplikasi dan interfacenya

– Tidak seperti Bl*ackBerry atau iP*hone

• Tren Prospek cerah

• Menjamurnya smartphone Android

• Dokumentasi mudah dicari

• Didukung oleh banyak komunitas

• Base Java (SDK)

@soepono 12

Market Share Penetration

@soepono 13

Market Share Growth

@soepono 14

Android has a working emulator

@soepono 15

Opportunity

@soepono 16

Android Business

Develop Application

Trainning, Consultant

Sale Phone & Access

Mechanic Service

Create Books, Tutorial

Android Arsitektur

@soepono 17

Android Arsitektur (Cont...)

• Google mengibaratkan Android sebagai sebuah tumpukan software dari OS.

• Memiliki fungsi masing-masing dari setiap lapisan.

@soepono 18

Android Arsitektur (Cont...)

• Media Library: Packet Video: mpeg4, mp3, 3gp, jpg, png, amr...

• Surfer Manager, SGL: 2D and 3D graphic

• LibWebCore: browser Android library

• SQLite: database

• Framework: views (text, button, etc), Content manager, etc

• Application: Access email client, sms, maps, contact, etc

@soepono 19

@soepono 20

Android S/W Stack - Application

• This layer is basic smartphone functions such as calling, SMS, etc (end user)

• Provides a set of core applications: Email Client, SMS Program, Calendar, Maps, Browser, Contacts, Etc

• All applications are written using the Java language.

• 4 basic block application – Activities: application that show on the screen

– Intents: movement mechanism from an activity to another activity

– Services: program that runs in the background

– Content Provider: sharing information

@soepono 21

Android S/W Stack – App Framework

• Program for manage basic functions of smartphones

• Enabling and simplifying the reuse of components Developers have full access to the same

framework APIs used by the core applications.

Users are allowed to replace components.

@soepono 22

Android S/W Stack – App Framework (Cont)

• Features

Feature Role

View System

Used to build an application, including lists, grids, text boxes, buttons, and embedded web browser

Content Provider

Enabling applications to access data from other applications or to share their own data

Resource Manager

Providing access to non-code resources (localized strings, graphics, and layout files)

Notification Manager

Enabling all applications to display customer alerts in the status bar

Activity Manager

Managing the lifecycle of applications and providing a common navigation backstack

@soepono 23

Android S/W Stack - Libraries

• Including a set of C/C++ libraries used by components of the Android system

• Exposed to developers through the Android application framework

@soepono 24

Android S/W Stack - Runtime

• Core Libraries Providing most of the functionality available in the

core libraries of the Java language APIs

Data Structures Utilities File Access Network Access Graphics Etc

@soepono 25

Android S/W Stack – Runtime (Cont)

• Dalvik Virtual Machine

Providing environment on which every Android application runs

Each Android application runs in its own process, with its own instance of the Dalvik VM.

Dalvik has been written such that a device can run multiple VMs efficiently.

Register-based virtual machine

@soepono 26

Android S/W Stack – Runtime (Cont)

• Dalvik Virtual Machine (Cont) Executing the Dalvik Executable (.dex) format

.dex format is optimized for minimal memory footprint.

Compilation

Relying on the Linux Kernel for: Threading

Low-level memory management

@soepono 27

Android S/W Stack – Linux Kernel

Relying on Linux Kernel 2.6 for core system services

Memory and Process Management

Network Stack

Driver Model

Security

Providing an abstraction layer between the H/W and the rest of the S/W sta

ck

Android Application Development

@soepono 28

Eclipse IDE Android

SDK

Android Emulator

Android Mobile Device

Android development

@soepono 29

Android Manifest

Resource XML

Java Source

Generated Class

Java Compiler

Android Libraries

.dex File

Dalvik VM

@soepono 30

Love. Learn. Do

• Love. Coba dan gemari Android

• Learn. Pelajari cara kerja aplikasi Android

• Do. Buat aplikasinya

@soepono 31

Resources

• http://www.android.or.id

• http://www.androlib.net

• http://www.android.com

• http://www.developer.android.com

• http://www.id-android.com

• http://www.forum.android.or.id

@soepono 32

Terima Kasih

@soepono

Tugas • Jelaskan (kalau perlu gambarkan) perbedaan antara

Java Virtual Mesin dengan Dalvin Virtual Mesin pada Android?

• Ketika kita akan membuat apliaksi Android, program apa saja yang harus disiapkan dan plugin-plugin standar apa saja yang harus ditambahkan?

• Poltekpos akan membuat aplikasi pencarian data lokasi kantor pos se-Indonesia dengan GPS (memanfaatkan peta Google) berbasis Android. Buat perencanaan development dari mulai kebutuhan data, arsitektur aplikasi, API yang dibutuhkan, dan library/framework yang digunakan.

@soepono 34

Aturan

• Tugas bersifat Kelompok

• Maksimal terdiri dari 3 orang

• Dikumpulkan maks. 26 Des 2012 Jam 04:40 AM

• Lebih dari waktu yg ditentukan TIDAK DIPERIKSA

• Format Laporan: Cover (nama,NIM), Isi Jawaban dengan format dokument adalah doc (tidak dikompres/zip)

• Pengiriman – Ke Email: mr.supono@gmail.com

– Subjek: TUGAS KS TI NIM1 NIM 2 NIM3

– Tidak ada balasan dari saya. Pastikan alamat emailnya benar

@soepono 35