Stategies for coping with Device fragmentation

secrettownpanamanianMobile - Wireless

Dec 10, 2013 (3 years and 6 months ago)

71 views

Stategies for coping with
Device fragmentation
Robin Puthli,
25 October 2012
Droidcon UK
1
donderdag 25 oktober 12
Me

Mobile developer 2001 -
present

Run a development shop

Netherlands based
2
donderdag 25 oktober 12
Native iOS
Native Android
Mobile webapps
Mobile websites
Itude Mobile develops client facing apps
for companies
3
donderdag 25 oktober 12
Agenda

What is device fragmentation?

How to deal with it
4
donderdag 25 oktober 12
The problem
www.opensignals.com
5
donderdag 25 oktober 12
The problem (2)
www.opensignals.com
Yes, this is just
Android
Almost 4000
device types in
the wild
6
donderdag 25 oktober 12
It will get worse

2009 - 2011 was a period of convergence

Now its fragmented business as usual, the market is
differentiating

Small tablets, large tablets, cheap phones, high-end
phones

Learn how to cope!
7
donderdag 25 oktober 12
Getting worse
8
donderdag 25 oktober 12
Old problem!

Windows / Mac / Unix

Desktop browsers

JavaME

Mobile web
9
donderdag 25 oktober 12
Failed strategies

Handset manufacturers: Users only need one form
factor

Developers: We’ll stick to one device

Developers: We’ll go mad and compile 200 versions

Developers: We’ll stick to one strategy
10
donderdag 25 oktober 12
9 strategies
Damith C. Rajapakse, Singapore school of computing (2006)
11
donderdag 25 oktober 12
Most used

Multi manual: Phone vs Tablet

Derive multi: Qt, J2ME Polish, Mono Touch,

Fits All / Aim Low: HTML5 / PhoneGap

Single adapt: Android dynamic layout, 9-Patches,
fragments
12
donderdag 25 oktober 12
Multi Manual
Phone vs Tablet
Multi design in addition to multi code
13
donderdag 25 oktober 12
Derive Multi

Pseudocode and Generate!

Post-compile / injection

Examples: Qt, J2ME Polish, Mono Touch
14
donderdag 25 oktober 12
Fits all / aim low

Code for the lowest common denominator

Examples:

Webkit and HTML5 based apps /

PhoneGap

etc.
15
donderdag 25 oktober 12
Single adapt

Code knows about the device and adapts

Works within the Android space

On the same form factor
16
donderdag 25 oktober 12
If you’ve got a hammer
Everything looks like a nail
17
donderdag 25 oktober 12
You need freedom
To choose a strategy

Multi manual

Derive multi

Fits All / Aim Low

Single adapt

There is no silver bullet! Pick and mix
18
donderdag 25 oktober 12
Please Google

Ensure relevant device information is available in
the android runtime

Reliably!

so developers can maintain a single code base

and choose how to cope with device differences
19
donderdag 25 oktober 12
Which strategy
will you choose?
r.puthliitude.com
www.itude.com
20
donderdag 25 oktober 12