ANDROID ACTIVITY.

Slides:



Advertisements
Presentasi serupa
3 – Activity and Intent Willy, M.Kom.
Advertisements

Workshop Developing Android Apps
Basic Issue In System Administration. Bassic Issue In System Administration Creating and managing accounts Performing administrative task Access control.
IF-ITB/SAS/25Aug2003 IF7074 – Bagian Pertama Page 1 IF 7047 Kewirausahaan Teknologi Informasi Bagian Pertama: 1.1. Entrepreneurship, entrepreneur, dan.
Database Android Dwi Muktianto
Lecture 2 Introduction to C# - Object Oriented Sandy Ardianto & Erick Pranata © Sekolah Tinggi Teknik Surabaya 1.
OPERATOR OVERLOADING The ability to provide the operators with a special meaning for a data type but its original meaning is not lost. Example: Operator.
CONCURENCY CONTROL DISTRIBUTED DATABASE. M AIN TOPICS Transaction managements Centralized database Distributed database Consistency control Centralized.
1 DATA STRUCTURE “ STACK” SHINTA P STMIK MDP APRIL 2011.
Class and Object Introduction Specifying a Class Defining Member Function A C++ Program with Class Nesting of Member Functions Private Member Functions.
BLACK BOX TESTING.
Dicky Faizal Alie Sistem Informasi
Sofyan abdurahman .E Kelas B
KEBIJAKAN PUBLIK SHINTA HAPPY YUSTIARI, S.AP, MPA.
BASIC CISCO. Memakai Cisco Cisco dapat dikonfigurasi melalui 3 cara : Console : menggunakan cable console yang dihubungkan melalui serial port dan menggunakan.
1 Pertemuan 12 Pengkodean & Implementasi Matakuliah: T0234 / Sistem Informasi Geografis Tahun: 2005 Versi: 01/revisi 1.
Creative Thinking Pertemuan 1 Matakuliah: U0504 Periklanan II Tahun:
Masalah Transportasi II (Transportation Problem II)
1 Pertemuan 22 Analisis Studi Kasus 2 Matakuliah: H0204/ Rekayasa Sistem Komputer Tahun: 2005 Versi: v0 / Revisi 1.
Mobile Programming Pertemuan 3 Presented by Mulyono
1 Pertemuan 8 JARINGAN COMPETITIVE Matakuliah: H0434/Jaringan Syaraf Tiruan Tahun: 2005 Versi: 1.
1 Pertemuan 5 Komunikasi antar Proses / Interprocess Communication (IPC) Matakuliah: T0316/sistem Operasi Tahun: 2005 Versi/Revisi: 5 OFFCLASS01.
1 Pertemuan 13 Algoritma Pergantian Page Matakuliah: T0316/sistem Operasi Tahun: 2005 Versi/Revisi: 5.
Pengaktifan Activity secara Explicit
Kuliah Pengelolaan Air untuk Pertumbuhan Tanaman
OPERATOR DAN FUNGSI MATEMATIK. Operator  Assignment operator Assignment operator (operator pengerjaan) menggunakan simbol titik dua diikuti oleh tanda.
Keuangan dan Akuntansi Proyek Modul 2: BASIC TOOLS CHRISTIONO UTOMO, Ph.D. Bidang Manajemen Proyek ITS 2011.
Dasar query basis data dengan SQLite
Enkapsulasi.
Pert. 16. Menyimak lingkungan IS/IT saat ini
07/11/2017 BARISAN DAN DERET KONSEP BARISAN DAN DERET 1.
Inheritance (2).
CLASS X SEMESTER 2 SMKN 7 BANDUNG
Tutorial Menggunakan VBB
Lecture 7 Thermodynamic Cycles
Dasar-Dasar Pemrograman
OOAD – TI S1 Defri Kurniawan UDINUS
Software Engineering Rekayasa Perangkat Lunak
Pemrograman Mobile Android # 3
Pemrograman Bergerak Pembuatan Service 1.
Struktur Class Java Android
Pemrograman Perangkat Mobile
As’ad Djamalilleil Intent As’ad Djamalilleil
SECURITY TOOLS UNTUK PENGAMANAN
Gerund (the -ing form) For example: Kita tidak bisa makan tanpa minum
Pemrograman Bergerak Pembuatan Activity 1.
SECURITY TOOLS UNTUK PENGAMANAN
Mobile computing – Android Activity dan Intent
Pemrograman Perangkat Mobile
DISKUSI PERTEMUAN 3 Pemrograman mobile 2 Ti 15 D
P E R T E M U A N 5 FRAGMENT.
PEMROGRAMAN MOBILE 2 Nama Anggota : Moh.Solahudin ( )
PEMROGRAMAN MOBILE 2 Dina Murniati Putri (NIM )
KELOMPOK 6 Ragil Setiawan Muhamad Ma’ruf Siti Roudhotul Janah
Fragment Nama anggota : Andian Ramadhan
PERTEMUAN 5 KELOMPOK 2.
Dilla Alfianur Kumalasari 0238
PENGENALAN Pemrograman MOBILE 2
Mobile Programming Folder Resources (Res) dan tata kelolanya
Describing process how something is made or done.
Simultaneous Linear Equations
THE INFORMATION ABOUT HEALTH INSURANCE IN AUSTRALIA.
V ERIZON SETTINGS FOR I P HONE, A NDROID, O UTLOOK, AND W INDOWS P HONE.
Fix problems opening Norton  Fix problems opening Norton This problem can happen after you update Norton. To fix the matter, restart the computer. Fix.
Right, indonesia is a wonderful country who rich in power energy not only in term of number but also diversity. Energy needs in indonesia are increasingly.
Pemrograman berorientasi objek
PEMROGRAMAN MOBILE 1 RPS 8
Draw a picture that shows where the knife, fork, spoon, and napkin are placed in a table setting.
HOW TO IMPROVE YOUR PUBLIC SPEAKING SKILLS. 2 3 INIKAH YANG SERING ANDA ALAMI SAAT PRESENTASI?
Komponen activity Dosen: Maimun, S.T., M.T.. 1. Activity Kegiatan apa yang akan ditampilkan dan dilakukan user pada sebuah window Berisi lifecycle / daur.
Transcript presentasi:

ANDROID ACTIVITY

Activity Concept Activity is a public class in android application. Activity is connected with user in which activity creates windows or User Interface by setContentView(View)

Activity Cycle Android application activity is managed by activity stack When activity is started, activity is put at the topmost of the stack, activities run already are put behind that stack. When new activity comes, it will be put at the first stack, the topmost stack before will be the second.

4 Situation of Activity Activity/running, if activity is at the top of the stack Pause, if activity is unused, but still exist or visible Stopped, if activity is unused and replaced by other activity. Restart, if activity is paused or stopped and system can drop this activity from memory, when user needs this activity, this activity can be returned to the initial condition (restart)

Lifecycle Activity

3 Looping Entire Lifetime : Activity starts from onCreate() until onDestroy(). It must set to global when defined. Visible Lifetime : Activity starts from onCreate() until onStop(). Foreground Lifetime : Activity starts from onResume() until onPause

The Syntax (Already in Class ext) Public class Activity { protected void onCreate(Bundle savedInstanceState); protected void onStart(); protected void onRestart(); protected void onResume (); protected void onPause(); protected void onStop(); protected void onDestroy(); }

Killable Killable : Apakah memungkinkan bagi sistem untuk mematikan proses host activity atau tidak. Jika killable NO berarti melindungi host activity atau activitynya tidak dimatikan, contoh activitynya : OnCreate OnRestart OnStart OnResume Jika killable YES berarti activity dapat diakhiri/dimatikan, contoh activitynya : OnPause OnStop OnDestroy