Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
PPTB-10
Search
Eueung Mulyana
October 18, 2015
Education
250
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
PPTB-10
PPTB-10 Programming Mobile Devices (Android)
http://eueung.github.io/ET4044/
Eueung Mulyana
October 18, 2015
Transcript
116 slides
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
More Decks by Eueung Mulyana
See All by Eueung Mulyana
Hyper-Connectivity and Data Proliferation - Ecosystem Perspective
eueung
0
350
Surviving A Tech-Accelerated World
eueung
1
260
Blockchain: FinTech, Cryptocurrency & Some Perspectives
eueung
0
360
FinTech & Cryptocurrency
eueung
1
430
Open Source Networking Overview
eueung
0
460
ONOS Cluster Experiment
eueung
0
1.3k
Basic ONOS Tutorial
eueung
1
8.1k
OpenStack Pike with DevStack
eueung
0
750
ONOS Introduction
eueung
1
1.3k
Other Decks in Education
See All in Education
Web 2.0 Patterns and Technologies - Lecture 8 - Web Technologies (1019888BNR)
signer
PRO
0
3.5k
実践プレゼンテーション・デザイン
dragon2
1
1.6k
Image processing with PDEs
hachama
0
510
LEGO Geometry Tutorial
arnoknobbe
0
810
La Hidrografía en España. Tema 3
juanmartin2026
0
12k
HTML5 and the Open Web Platform - Lecture 3 - Web Technologies (1019888BNR)
signer
PRO
3
3.6k
荷物の話
mu7889yoon
0
120
Dronegeografía innovación didáctica y fotogrametría 3D para la enseñanza de la geografía local y la ciudadaniía activa
juanmartin2026
0
60k
Liburd and Stoll Farrell "Copyright Essentials From A to AI: A 2026 NISO Training Series, Session Five: Open Movements & Author Rights"
baltimoreniso
0
150
GOVERNOR ADDRESS 2 :延岡 研一 氏(国際ロータリー第2720地区:2026-2027年度 地区ガバナー・人吉ロータリークラブ ・人吉電気工事株式会社 会長)卓話 : 2026.10.26例会・卓話
2720japanoke
0
670
新型コロナ禍をともに「楽しみながら開いていこう!」 :中門 吉松 会員(2720 Japan O.K.ロータリーEクラブ)卓話 : 2026.10.19.例会・卓話
2720japanoke
0
730
HCI and Interaction Design - Lecture 2 - Human-Computer Interaction (1023841ANR)
signer
PRO
0
2k
Featured
See All Featured
Faster Mobile Websites
deanohume
310
32k
Lightning talk: Run Django tests with GitHub Actions
sabderemane
0
320
How to Align SEO within the Product Triangle To Get Buy-In & Support - #RIMC
aleyda
2
1.9k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
141
35k
Measuring Dark Social's Impact On Conversion and Attribution
stephenakadiri
2
330
From π to Pie charts
rasagy
1
440
Context Engineering - Making Every Token Count
addyosmani
9
1.3k
Technical Leadership for Architectural Decision Making
baasie
4
640
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
28
3.8k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
230
23k
The Director’s Chair: Orchestrating AI for Truly Effective Learning
tmiket
1
350
B2B Lead Gen: Tactics, Traps & Triumph
marketingsoph
1
300