$30 off During Our Annual Pro Sale. View Details »
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
PPTB-10
Search
Eueung Mulyana
October 18, 2015
Education
0
240
PPTB-10
PPTB-10 Programming Mobile Devices (Android)
http://eueung.github.io/ET4044/
Eueung Mulyana
October 18, 2015
Tweet
Share
More Decks by Eueung Mulyana
See All by Eueung Mulyana
Hyper-Connectivity and Data Proliferation - Ecosystem Perspective
eueung
0
300
Surviving A Tech-Accelerated World
eueung
1
210
Blockchain: FinTech, Cryptocurrency & Some Perspectives
eueung
0
320
FinTech & Cryptocurrency
eueung
1
360
Open Source Networking Overview
eueung
0
400
ONOS Cluster Experiment
eueung
0
1.3k
Basic ONOS Tutorial
eueung
1
7.9k
OpenStack Pike with DevStack
eueung
0
690
ONOS Introduction
eueung
1
1.2k
Other Decks in Education
See All in Education
Use Cases and Course Review - Lecture 8 - Human-Computer Interaction (1023841ANR)
signer
PRO
0
1.3k
The browser strikes back
jonoalderson
0
120
GOVERNOR ADDRESS:2025年9月29日合同公式訪問例会:2720 Japan O.K. ロータリーEクラブ、2025年10月6日卓話:藤田 千克由 氏(国際ロータリー第2720地区 2025-2026年度 ガバナー・大分中央ロータリークラブ・大分トキハタクシー(株)顧問)
2720japanoke
0
730
The Next Big Step Toward Nuclear Disarmament
hide2kano
0
170
XML and Related Technologies - Lecture 7 - Web Technologies (1019888BNR)
signer
PRO
0
3.1k
CSS3 and Responsive Web Design - Lecture 5 - Web Technologies (1019888BNR)
signer
PRO
1
3k
くまのココロンともぐらのロジ
frievea
0
130
The knowledge panel is your new homepage
bradwetherall
0
220
卒論の書き方 / Happy Writing
kaityo256
PRO
51
27k
the difficulty into words
ukky86
0
330
Human Perception and Cognition - Lecture 4 - Human-Computer Interaction (1023841ANR)
signer
PRO
0
1.2k
Library Prefects 2025-2026
cbtlibrary
0
160
Featured
See All Featured
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
46
2.6k
Building AI with AI
inesmontani
PRO
1
570
Efficient Content Optimization with Google Search Console & Apps Script
katarinadahlin
PRO
0
250
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
35
2.3k
[SF Ruby Conf 2025] Rails X
palkan
0
560
How to Get Subject Matter Experts Bought In and Actively Contributing to SEO & PR Initiatives.
livdayseo
0
29
Beyond borders and beyond the search box: How to win the global "messy middle" with AI-driven SEO
davidcarrasco
0
22
Imperfection Machines: The Place of Print at Facebook
scottboms
269
13k
Max Prin - Stacking Signals: How International SEO Comes Together (And Falls Apart)
techseoconnect
PRO
0
49
Building Flexible Design Systems
yeseniaperezcruz
330
39k
Impact Scores and Hybrid Strategies: The future of link building
tamaranovitovic
0
170
Effective software design: The role of men in debugging patriarchy in IT @ Voxxed Days AMS
baasie
0
170
Transcript
PPTB #10 Programming Mobile Devices (Android) http://eueung.github.io/ET4044/ Dr.-Ing. Eueung Mulyana
| 2015H2
Activity Lifecycle
Why we need an activity lifecycle
Single App Multi-Activity
Intents to different Apps
Home
etc.
None
(Background) Activities can be destroyed (killed) at anytime, if necessary
Activity Lifecycle
None
Active & Visible Lifetimes
Paused Stopped
Lifecycle Events
None
None
Activity Termination
None
Prepare for Termination
None
None
Maintaining State
Storing Data
Condition for Apps
None
Battery
Cost
Server
Network N/A
Access Location
None
SQLite
None
None
None
Structure, Order
None
None
Example
Example
None
None
None
Storing Data Operations
None
None
None
Changes to Sunshine
None
WeatherContract
None
View & Data
Ex: ContactsContract
Weather Table Columns
None
None
Weather & Location Tables
Two Tables
Join
None
None
WeatherContract
None
None
None
Mainly CONSTANTs
None
Constants in Contract
None
SQLiteOpenHelper Sunshine Database
Versioning
None
None
None
None
None
Test
None
None
None
None
None
None
None
None
None
None
SQLiteOpenHelper onUpgrade
None
None
RW from a Database
None
None
None
None
None
None
None
None
None
None
None
None
None
None
None
None
None
None
None
None
None
None
None
None
Credit • Udacity ud853 https://www.udacity.com/course/ud853