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
Lars Röwekamp on Android4
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Enterprise Java User Group Austria
September 17, 2012
Technology
77
1
Share
Lars Röwekamp on Android4
Enterprise Java User Group Austria
September 17, 2012
More Decks by Enterprise Java User Group Austria
See All by Enterprise Java User Group Austria
Gerrit Grunwald on What the CRaC... SUPERFAST JVM STARTUP
ejug
2
190
Spring Framework 5.2 - Core Container Revisited
ejug
0
180
Andreas Caternberg on Jenkins Pipelines
ejug
0
780
Martin Ahrer on Continuous Delivery Infrastructure With Docker
ejug
0
160
Dirk Mahler on Software Analyse mit jQAssistant & Neo4j
ejug
1
310
Christoph Strobl on Spring Data & Hypermedia
ejug
0
150
Stefan Armbruster on Graph Modelling Antipatterns
ejug
1
130
Stefan Armbruster on Introduction into Neo4J
ejug
1
94
Michael Nitschinger on Building a reactive Couchbase driver for the JVM
ejug
0
150
Other Decks in Technology
See All in Technology
Spring AI × MCP 入門〜AIエージェントへのツール公開、境界設計から始める最小構成 〜
yuyamiyamoto
0
190
A Harness for Behaviour: how to get AI to generate code that does what we intend, or "TDD in the age of AI"
xpmatteo
1
520
JJUG CCC 2026 Spring AI時代の開発こそ標準化を武器に! ― 方式・プロセス・プラットフォームの標準化
s27watanabe
2
640
自称宇宙最速で不合格となったAIP-C01にリベンジを果たすべくAIで問題集アプリを作ってみた。
yama3133
0
250
コードレビューを制するチームがソフトウェアデリバリーのフローを制す / Beyond Code Review: Distributing Its Responsibilities Across the SDLC
mtx2s
3
490
テストコードのないプロジェクトにテストを根付かせる
tttol
0
230
Databricks 月刊サービスアップデート 2026年05月号
tyosi1212
0
120
Javaで学ぶSOLID原則
negima
1
240
形式手法特論:公平性制約の位相的特徴づけ #kernelvm / Kernel VM Study Kansai 12th
ytaka23
1
640
Amazon Bedrock 経由の Claude Cowork を試してみよう・MCP にも繋いでみよう
sugimomoto
0
280
JEP 522 Deep Dive - G1 GC同期コスト削減によるスループット向上を徹底検証&解説
tabatad
1
460
地元にいないローカルオーガナイザーの立ち回り
uvb_76
1
390
Featured
See All Featured
Site-Speed That Sticks
csswizardry
13
1.2k
Winning Ecommerce Organic Search in an AI Era - #searchnstuff2025
aleyda
1
2k
Data-driven link building: lessons from a $708K investment (BrightonSEO talk)
szymonslowik
1
1.1k
Agile Actions for Facilitating Distributed Teams - ADO2019
mkilby
0
200
Into the Great Unknown - MozCon
thekraken
41
2.5k
Bash Introduction
62gerente
615
210k
コードの90%をAIが書く世界で何が待っているのか / What awaits us in a world where 90% of the code is written by AI
rkaga
61
44k
The untapped power of vector embeddings
frankvandijk
2
1.7k
Fashionably flexible responsive web design (full day workshop)
malarkey
408
66k
Impact Scores and Hybrid Strategies: The future of link building
tamaranovitovic
0
300
Music & Morning Musume
bryan
47
7.2k
Test your architecture with Archunit
thirion
1
2.3k
Transcript
@mobileLarson @_openKnowledge Lars Röwekamp | CIO New Technologies ANDROID 4
How to ...
What‘s the talk about? Architecture Building Blocks UI Principles Development
What‘s the talk about? Architecture Building Blocks UI Principles Development
Keep in mind, it‘s a mobile!
Why Android?
Smartphones
Smartphones 0 Mio 20 Mio 40 Mio 60 Mio 80
Mio Q1/11 Q2/11 Q3/11 Q4/11 Android Apple Blackberry Windows 7
Fragmentation 22,1 % 57,5 % 14,0 % 3,7 % 1.5
1.6 2.1 2.2 2.3.x 3.1 3.2 4+ September `12
Fragmentation 1.5 1.6 2.1 2.2 2.3.x 3.1 3.2 4+ September
`12 93,6%
Architecture
Architecture
Demo APP
Demo APP Splash Overview Share Preferences
Demo APP
Building Blocks
Building Blocks Activity Service Content Provider Broadcast Receiver
Building Blocks Activity Service Content Provider Broadcast Receiver > UI
logic > layout reference > lifecycle callbacks > started by own/other app > loosely coupled > Activity
Building Blocks Activity Service Content Provider Broadcast Receiver
Building Blocks Activity Service Content Provider Broadcast Receiver > background
processing > long running operation(s) > remote processes > lifecycle callbacks > started by any „component“ > Service
Building Blocks Activity Service Content Provider Broadcast Receiver
Building Blocks Activity Service Content Provider Broadcast Receiver > app‘s
data exporter > CRUD for any kind of data > REST alike access methods > ready-to-go CPs available > accessable by any app > ContentProvider
Building Blocks Activity Service Content Provider Broadcast Receiver
Building Blocks Activity Service Content Provider Broadcast Receiver > listener
for broadcast intent* > low-battery, screen-off, ... > app can initiate own BIs* > status bar notifications > selection via intent filter > BroadcastReceiver * system wide events
Building Blocks Activity Service Content Provider Broadcast Receiver
Building Blocks
Building Blocks > intention to do something > activation of
component > what to do? > which data needed? > return value expected? > Intent Intent
Building Blocks public class MainActivity extends Activity { .... @Override
public void onCreate(Bundle savedInstanceState) { ! super.onCreate(savedInstanceState); ! setContentView(R.layout.main); } public void onClickMap(View btn) { ! Intent mapViewIntent = new Intent(this, MapViewActivity.class); ! startActivity(mapViewIntent); ! } .... } ... View Event View
Building Blocks Intent Aufruf Intent mapViewIntent = new Intent(this, MapViewActivity.class);
startActivity(mapViewIntent); ! via Activity Class (MapViewActivity)
Building Blocks Intent intent = new Intent(this, Intent.ACTION_SEND); intent.putExtra(EXTRA_EMAIL, emailAddress);
intent.putExtra(EXTRA_SUBJECT, emailSubject); intent.putExtra(EXTRA_TEXT, emailText); startActivity(intent); ! via Intent Action (ACTION_SEND) Intent Aufruf
Building Blocks startActivityForResult(myIntent)
Demo APP Splash Overview Share Preferences
Demo APP
UI Principles
Unified UI
Action Bar App Icon View Control Action Btn Action Overflow
„Where am I?“ „What can I see?“ „What can I do?“
Action Bar „BTW: I need more space.“ Main Action Bar
Top Bar Bottom Bar
Action Bar
Multi-Pane
Multi-Pane „more to come ...“
Resources
Resources Szenario A Szenario B
Resources Szenario A Szenario B
Resources Resolution
Resources Orientation
Resources Sizes
Resources public class MainActivity extends Activity { .... @Override public
void onCreate(Bundle savedInstanceState) { ! super.onCreate(savedInstanceState); ! setContentView(R.layout.main); } .... } ... smallest width 600 device independent pixel? res/layout res/layout-sw600dp
Multi-Pane „more to come ... now“
Multi-Pane
Development
What do I need?
Android SDK > Application Framework > Dalvik Virtual Machine >
Integrated Browser > SQLite Database > Telephony, Bluetooth, EDGE, 3G & Wifi > Camera, Compass, GPS, Accelerometer > UI Controls, Widgets, Map
Android Tooling > Eclipse/Idea + PlugIn > Virtual Device Manager
> Emulator(s) > UI Designer > Debugger, also on device > Test Frameworks > Deployment Support (Emulator & Device) > Publishing & Signing
Shut up, we wanna see some code!
Demo APP
Coding Time
Keep in Mind
Keep in Mind Yes, size matters Expect the unexpected Do
not reinvent the wheel Less is more User Experience counts
Keep in Mind Yes, size matters Expect the unexpected Do
not reinvent the wheel Less is more User Experience counts
@mobileLarson @_openKnowledge Lars Röwekamp | CIO New Technologies ANDROID 4
How to ...