Android by Supono

35
Android Love, Learn, Do @soepono SUPONO

description

Presentasi Kuliah Umum tentang Android

Transcript of Android by Supono

Page 1: Android by Supono

Android Love, Learn, Do

@soepono SUPONO

Page 2: Android by Supono

@soepono 2

Page 3: Android by Supono

Android Technology Video

@soepono 3

Page 4: Android by Supono

What is an Android

• Operating System

• Google Product

• Free

• Open Source

• Linux Base

• Fast application development in Java

@soepono 4

Page 5: Android by Supono

Operating System of Mobile Phone

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

•Android

@soepono 5

Page 6: Android by Supono

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

Page 7: Android by Supono

Yamiii...

@soepono 7

Page 8: Android by Supono

Android Handsets

@soepono 8

Page 9: Android by Supono

Android Applications

• Google Googles

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

@soepono 9

Page 10: Android by Supono

Google Maps

@soepono 10

Page 11: Android by Supono

More Applications

• Office

• Remote Dekstop

• Wi-Fi Adaptor

• Audio video player

• Card Rerader

• Game

• Bisnis

• etc

@soepono 11

Page 12: Android by Supono

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

Page 13: Android by Supono

Market Share Penetration

@soepono 13

Page 14: Android by Supono

Market Share Growth

@soepono 14

Page 15: Android by Supono

Android has a working emulator

@soepono 15

Page 16: Android by Supono

Opportunity

@soepono 16

Android Business

Develop Application

Trainning, Consultant

Sale Phone & Access

Mechanic Service

Create Books, Tutorial

Page 17: Android by Supono

Android Arsitektur

@soepono 17

Page 18: Android by Supono

Android Arsitektur (Cont...)

• Google mengibaratkan Android sebagai sebuah tumpukan software dari OS.

• Memiliki fungsi masing-masing dari setiap lapisan.

@soepono 18

Page 19: Android by Supono

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

Page 20: Android by Supono

@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

Page 21: Android by Supono

@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.

Page 22: Android by Supono

@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

Page 23: Android by Supono

@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

Page 24: Android by Supono

@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

Page 25: Android by Supono

@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

Page 26: Android by Supono

@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

Page 27: Android by Supono

@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

Page 28: Android by Supono

Android Application Development

@soepono 28

Eclipse IDE Android

SDK

Android Emulator

Android Mobile Device

Page 29: Android by Supono

Android development

@soepono 29

Android Manifest

Resource XML

Java Source

Generated Class

Java Compiler

Android Libraries

.dex File

Dalvik VM

Page 30: Android by Supono

@soepono 30

Page 31: Android by Supono

Love. Learn. Do

• Love. Coba dan gemari Android

• Learn. Pelajari cara kerja aplikasi Android

• Do. Buat aplikasinya

@soepono 31

Page 32: Android by Supono

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

Page 33: Android by Supono

Terima Kasih

@soepono

Page 34: Android by Supono

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

Page 35: Android by Supono

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: [email protected]

– Subjek: TUGAS KS TI NIM1 NIM 2 NIM3

– Tidak ada balasan dari saya. Pastikan alamat emailnya benar

@soepono 35