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
Eueung Mulyana
October 18, 2015
Education
0
170
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
200
Surviving A Tech-Accelerated World
eueung
1
120
Blockchain: FinTech, Cryptocurrency & Some Perspectives
eueung
0
240
FinTech & Cryptocurrency
eueung
1
230
Open Source Networking Overview
eueung
0
260
ONOS Cluster Experiment
eueung
0
1.2k
Basic ONOS Tutorial
eueung
1
7.1k
OpenStack Pike with DevStack
eueung
0
530
ONOS Introduction
eueung
1
960
Other Decks in Education
See All in Education
4 занятие. Разбор бизнес-моделей и метод красной нити #ideaNN 9.02.2024.
karlov
0
230
Pre-enrollment Information for UTokyo International Students
utokyoissr2360
0
4.8k
パフォーマンス・チューニング入門
oracle4engineer
PRO
2
620
キャリアと組織の成長塾#1 アスリートからエンジニアの道へ
takashi_toyosaki
2
760
わたしのメタ学習 / My Own Meta Learning #shinjukurb
expajp
0
120
LinkedIn
matleenalaakso
0
1k
インターアクトクラブについて:国際ロータリー第2720地区インターアクト委員会 委員長・大分東ロータリークラブ 阿部 克哉 氏
2720japanoke
0
670
View Manipulation and Reduction - Lecture 9 - Information Visualisation (4019538FNR)
signer
PRO
0
1.4k
Analysis and Validation - Lecture 4 - Information Visualisation (4019538FNR)
signer
PRO
0
1.4k
Padlet opetuksessa
matleenalaakso
3
11k
Avoin jakaminen ja Creative Commons -lisenssit
matleenalaakso
0
1.1k
全員参加型で会社を強くしていく活動を考えてみる
ikefukurou777
0
210
Featured
See All Featured
WebSockets: Embracing the real-time Web
robhawkes
59
7k
Debugging Ruby Performance
tmm1
70
11k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
7
1k
Thoughts on Productivity
jonyablonski
58
3.8k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
6
1.5k
Art, The Web, and Tiny UX
lynnandtonic
289
19k
Practical Orchestrator
shlominoach
182
9.7k
Git: the NoSQL Database
bkeepers
PRO
422
63k
Code Review Best Practice
trishagee
55
15k
ReactJS: Keep Simple. Everything can be a component!
pedronauck
659
120k
What's new in Ruby 2.0
geeforr
337
31k
YesSQL, Process and Tooling at Scale
rocio
164
13k
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