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
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
8k
OpenStack Pike with DevStack
eueung
0
710
ONOS Introduction
eueung
1
1.3k
Other Decks in Education
See All in Education
AIで日本はどう進化する? 〜キミが生きる2035年の地図〜
behomazn
0
110
子どものためのプログラミング道場『CoderDojo』〜法人提携例〜 / Partnership with CoderDojo Japan
coderdojojapan
PRO
4
18k
Use Cases and Course Review - Lecture 8 - Human-Computer Interaction (1023841ANR)
signer
PRO
0
1.4k
【旧:ZEPメタバース校舎操作ガイド】
ainischool
0
790
Padlet opetuksessa
matleenalaakso
9
15k
Chapitre_2_-_Partie_3.pdf
bernhardsvt
0
150
10分で学ぶ すてきなモナド
soukouki
1
140
HTML5 and the Open Web Platform - Lecture 3 - Web Technologies (1019888BNR)
signer
PRO
2
3.2k
HCI Research Methods - Lecture 7 - Human-Computer Interaction (1023841ANR)
signer
PRO
0
1.3k
あなたの言葉に力を与える、演繹的なアプローチ
logica0419
1
270
くまのココロンともぐらのロジ
frievea
0
150
Security, Privacy and Trust - Lecture 11 - Web Technologies (1019888BNR)
signer
PRO
0
3.2k
Featured
See All Featured
So, you think you're a good person
axbom
PRO
2
1.9k
How to Grow Your eCommerce with AI & Automation
katarinadahlin
PRO
0
110
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
133
19k
The World Runs on Bad Software
bkeepers
PRO
72
12k
The Power of CSS Pseudo Elements
geoffreycrofte
80
6.2k
<Decoding/> the Language of Devs - We Love SEO 2024
nikkihalliwell
1
130
職位にかかわらず全員がリーダーシップを発揮するチーム作り / Building a team where everyone can demonstrate leadership regardless of position
madoxten
57
50k
Taking LLMs out of the black box: A practical guide to human-in-the-loop distillation
inesmontani
PRO
3
2k
Marketing Yourself as an Engineer | Alaka | Gurzu
gurzu
0
130
Applied NLP in the Age of Generative AI
inesmontani
PRO
4
2k
The Cost Of JavaScript in 2023
addyosmani
55
9.5k
The Spectacular Lies of Maps
axbom
PRO
1
520
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