Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
PPTB-10
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
Eueung Mulyana
October 18, 2015
Education
240
0
Share
PPTB-10
PPTB-10 Programming Mobile Devices (Android)
http://eueung.github.io/ET4044/
Eueung Mulyana
October 18, 2015
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
370
Open Source Networking Overview
eueung
0
410
ONOS Cluster Experiment
eueung
0
1.3k
Basic ONOS Tutorial
eueung
1
8k
OpenStack Pike with DevStack
eueung
0
710
ONOS Introduction
eueung
1
1.3k
Other Decks in Education
See All in Education
Gitの仕組みと用語 / 01-b-term
kaityo256
PRO
0
240
理工学系 第1回大学院説明会2026|東京科学大学(Science Tokyo)
sciencetokyo
PRO
1
750
SSH公開鍵認証 / 02-b-ssh
kaityo256
PRO
0
130
Analysis and Validation - Lecture 4 - Information Visualisation (4019538FNR)
signer
PRO
0
2.6k
SARA Annual Report 2025-26
sara2023
1
260
Google Antigravity エージェント・フ ァーストな開発パラダイムへの招待
mickey_kubo
1
110
Avoin jakaminen ja Creative Commons -lisenssit
matleenalaakso
0
2.1k
Blueprint for Strengthening Community Colleges Training Grant Success
territorium
PRO
0
220
What workforce agencies must have in place to compete for and deliver on RESTART grants
territorium
PRO
0
130
応募課題(’25広島)
forget1900
0
970
Gesture-based Interaction - Lecture 6 - Next Generation User Interfaces (4018166FNR)
signer
PRO
1
2.1k
Tangible, Embedded and Embodied Interaction - Lecture 7 - Next Generation User Interfaces (4018166FNR)
signer
PRO
0
2.1k
Featured
See All Featured
How to train your dragon (web standard)
notwaldorf
97
6.6k
4 Signs Your Business is Dying
shpigford
187
22k
Designing for Timeless Needs
cassininazir
0
180
Self-Hosted WebAssembly Runtime for Runtime-Neutral Checkpoint/Restore in Edge–Cloud Continuum
chikuwait
0
440
Agile Leadership in an Agile Organization
kimpetersen
PRO
0
120
Evolving SEO for Evolving Search Engines
ryanjones
0
170
Bioeconomy Workshop: Dr. Julius Ecuru, Opportunities for a Bioeconomy in West Africa
akademiya2063
PRO
1
81
The Power of CSS Pseudo Elements
geoffreycrofte
82
6.2k
Navigating the Design Leadership Dip - Product Design Week Design Leaders+ Conference 2024
apolaine
0
260
Principles of Awesome APIs and How to Build Them.
keavy
128
17k
What Being in a Rock Band Can Teach Us About Real World SEO
427marketing
0
200
Git: the NoSQL Database
bkeepers
PRO
432
67k
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