23
COPYRIGHT © 2011 ALCATEL-LUCENT. ALL RIGHTS RESERVED. 1 Building Killer Android Apps for 4G/LTE Networks O’Reilly Android Open Conference Alex Gaber, Technical Evangelist October 11 th , 2011

4G LTE Presentation from O\'Reilly Android Open Confereence

Embed Size (px)

DESCRIPTION

4G LTE Presentation from O\'Reilly Android Open Confereence

Citation preview

Page 1: 4G LTE Presentation from O\'Reilly Android Open Confereence

COPYRIGHT © 2011 ALCATEL-LUCENT. ALL RIGHTS RESERVED.

1

Building Killer Android Apps for 4G/LTE NetworksO’Reilly Android Open ConferenceAlex Gaber, Technical Evangelist

October 11th, 2011

Page 2: 4G LTE Presentation from O\'Reilly Android Open Confereence

COPYRIGHT © 2011 ALCATEL-LUCENT. ALL RIGHTS RESERVED.

2

WHAT DOES 4G / LTE MEAN TO YOU?

• Faster Data

• Richer Content

• Better Security

• Carrier APIs

• Cross Platform App Development

Page 3: 4G LTE Presentation from O\'Reilly Android Open Confereence

COPYRIGHT © 2011 ALCATEL-LUCENT. ALL RIGHTS RESERVED.

3

LTE IS MUCH FASTER

LTE Latency One-Way

15ms

Avg Data Rates

LTE - 12Mbps3g - 5Mbps

Max Data Rates

LTE - 86Mbps3g - 28Mbps

LTE Enables video sharing, video conferenceing, HD streaming

Over 50% Faster

Page 4: 4G LTE Presentation from O\'Reilly Android Open Confereence

COPYRIGHT © 2011 ALCATEL-LUCENT. ALL RIGHTS RESERVED.

4

MORE SPECTRUM = MORE BANDWIDTH

1 Mhz 10 Mhz 20 Mhz

3G Spectrum

1.25Mhz – 5MhzBuilt for Voice

LTE Spectrum

1.4Mhz – 20MhzBuilt for Data

Page 5: 4G LTE Presentation from O\'Reilly Android Open Confereence

COPYRIGHT © 2011 ALCATEL-LUCENT. ALL RIGHTS RESERVED.

5

LTE DELIVERS LOWER LATENCYKeep data in the cloud

EDGE

DL: 474 Kbps

UL: 474 Kbps

Evolved EDGE

DL: 1.89 Mbps

UL: 947 Kbps

Release 7 HSPA+(5 MHz cxr)

DL: 28 Mbps

UL: 11.5 Mbps

Release 8 HSPA+(10 MHz cxr)

DL: 42 Mbps

UL: 11.5 Mbps

Release 9 HSPA+(10 MHz cxr)

DL: 84 Mbps

UL: 23 Mbps

Rel. 10 HSPA+(20/10 MHz cxr)

DL: 168 Mbps

UL: 23 Mbps

Rel. 10 LTE (20 MHz)

(64QAM & carrier agg)

DL: 1.2 Gbps (8x8)

UL: 300 Mbps (4x4)*

EV-DO Rev A(1.4 MHz cxr)

DL: 3.1 Mbps

UL: 1.8 Mbps

EV-DO Rev B(5 MHz cxr)

DL: 14.7 Mbps

UL: 5.4 Mbps

2009 2010 2011 2012

THEORETICAL

LATENCY

HSPA HSPA+ LTE

10 ms

50 ms

65 ms

DL: 150 Mbps (2x2) / 300 Mbps (4x4)

UL: 50 Mbps (16 QAM) / 75 Mbps (64 QAM)*

Release 8-9 LTE (20 MHz)

2x2 or 4x4 MIMO (DL)

*64 QAM uplink is optional; Release 10 uplink is 200 Mbps with 16 QAM

Page 6: 4G LTE Presentation from O\'Reilly Android Open Confereence

COPYRIGHT © 2011 ALCATEL-LUCENT. ALL RIGHTS RESERVED.

6

RICHER CONTENT ENABLEMENT

• HD Video• Multipart Video• Real time gaming• Cloud-driven apps• Fluid augmented reality

Page 7: 4G LTE Presentation from O\'Reilly Android Open Confereence

COPYRIGHT © 2011 ALCATEL-LUCENT. ALL RIGHTS RESERVED.

7

LTE DEVICES ARE MORE AFFORDABLE

Page 8: 4G LTE Presentation from O\'Reilly Android Open Confereence

COPYRIGHT © 2011 ALCATEL-LUCENT. ALL RIGHTS RESERVED.

8

LTE IS BEING ROLLED OUT GLOBALLY

• 113 LTE network commitments in 46 countries• 156 operators in 64 countries investing in LTE• At least 55 LTE networks in service by end 2012

North America2010: Verizon, MetroPCS

2011: AT&T, T-Mobile

Latin America2011: Potential Launches

for fixed broadband

Europe2010: Scandanavia,

Eastern Europe2011: European Digital

Dividend - Germany2012: 3G Upgrades to LTE

Asia2011: India BWA Launches

2012: China Mobile

Page 9: 4G LTE Presentation from O\'Reilly Android Open Confereence

COPYRIGHT © 2011 ALCATEL-LUCENT. ALL RIGHTS RESERVED.

9

SIMPLIFIED WORLDWIDE ROAMING

• LTE is a unifying standard with seamless international roaming

• Build apps that can be used globally• Apps can depend on data of LTE networks• Emerging markets represent a huge

opportunity for mobile apps

Page 10: 4G LTE Presentation from O\'Reilly Android Open Confereence

COPYRIGHT © 2011 ALCATEL-LUCENT. ALL RIGHTS RESERVED.

10

MOBILE APPLICATION IMPACT

Data consumption will increase dramatically

Page 11: 4G LTE Presentation from O\'Reilly Android Open Confereence

COPYRIGHT © 2011 ALCATEL-LUCENT. ALL RIGHTS RESERVED.

11

Android App Development Best Practices

Page 12: 4G LTE Presentation from O\'Reilly Android Open Confereence

COPYRIGHT © 2011 ALCATEL-LUCENT. ALL RIGHTS RESERVED.

12

ALLOW FOR VARIABLE DATA USAGE

• Provide different versions of app based on type of network• Bandwidth total usage• Latency required (ie. Map scrolling)• Reliability of data access• Security concerns

• 2G, 3G, and LTE scenarios must be considered for data heavy apps

• Give users option within app to select bandwidth based on their data plan

Page 13: 4G LTE Presentation from O\'Reilly Android Open Confereence

COPYRIGHT © 2011 ALCATEL-LUCENT. ALL RIGHTS RESERVED.

13

LTE DELIVERS BETTER SECURITY

• Network authentication (128 bit keys)• RAN encrypted data communication • User identity protection through IMSI / IMEI

(transition from 10 digit MDN to 15 digit IMSI)• IPSec support for secure tunneled VPN and IP

based communication• IPMS granular security per service

Page 14: 4G LTE Presentation from O\'Reilly Android Open Confereence

COPYRIGHT © 2011 ALCATEL-LUCENT. ALL RIGHTS RESERVED.

14

DYNAMIC QUALITY OF SERVICE

• Data plans are now metered and capped• Consumers need controls within apps for data consumption

Page 15: 4G LTE Presentation from O\'Reilly Android Open Confereence

COPYRIGHT © 2011 ALCATEL-LUCENT. ALL RIGHTS RESERVED.

15

PRE-FETCH DATA

• Push data to applications by anticipating what a user wants (ie Google Maps scrolling)

• For users on costly data planes, do not pre-fetch• Offer options for media quality, optimize app to

deliver best results based on the options

Current Screen of App

Data being pre-fetched

Page 16: 4G LTE Presentation from O\'Reilly Android Open Confereence

COPYRIGHT © 2011 ALCATEL-LUCENT. ALL RIGHTS RESERVED.

16

CACHE MORE DATA

• Smartphones have lots of storage, use it• Consider pushing data to apps during times of

lower network activity• Flush caches as appropriate

Page 17: 4G LTE Presentation from O\'Reilly Android Open Confereence

COPYRIGHT © 2011 ALCATEL-LUCENT. ALL RIGHTS RESERVED.

17

FAVOR DOWNLOADING OVER STREAMING

• Consider the end-user experience• Streaming consumes more battery by increasing

device radio power• Devices will be jumping between 3G and LTE

networks, which will cause a 3-8 second delay

Page 18: 4G LTE Presentation from O\'Reilly Android Open Confereence

COPYRIGHT © 2011 ALCATEL-LUCENT. ALL RIGHTS RESERVED.

18

AVOID AGGRESSIVE BEHAVIOR

• If a GET request is denied, make your app pause and wait instead of hammering the network

• Constant requests to the network will drain device batter life

• Consider data push or syncing with reasonable demands on being current

Page 19: 4G LTE Presentation from O\'Reilly Android Open Confereence

COPYRIGHT © 2011 ALCATEL-LUCENT. ALL RIGHTS RESERVED.

19

CARRIERS OFFER API’S

• SMS API• MMS API• Terminal Status (is phone ‘on’ or ‘off’)• Location via Cell Tower Trilateralization

• Allow for ‘sleeping’ LBS notifications• Avoid using GPS on devices which

drains battery life• Carrier Billing APIs (www.wacapps.net)

• 4,000 APIs listed

Page 20: 4G LTE Presentation from O\'Reilly Android Open Confereence

COPYRIGHT © 2011 ALCATEL-LUCENT. ALL RIGHTS RESERVED.

20

ECOSYSTEM IS GROWING

Page 21: 4G LTE Presentation from O\'Reilly Android Open Confereence

• Cross-Platform (iOS, Android, Windows Mobile, Symbian, …)

• Web Development (AS/JS, XML, CSS) –10x more productive than native SDK

• Native User Experience - single code base, many variants, high performance

• Native Code Extensions which allowusing any native SDK feature

• Monetisation through app stores -distribution and discoverability

Almanaque Anos 80 - #1 Paid App in Brazil

OpenPlug Studio Create native apps at the speed of ideas

Page 22: 4G LTE Presentation from O\'Reilly Android Open Confereence

COPYRIGHT © 2011 ALCATEL-LUCENT. ALL RIGHTS RESERVED.

22

• Rapid UI coding: XML-based, CSS

• Scripting language: ActionScript or Javascript

• Productive application framework: Adobe Flex 3.5 (subset for Mobile)

• Generic device API: GPS, Camera, Comm., etc.

• Built-in support for web services: REST, SOAP, Auth.

• Native Code extension: C/C++, Java, ObjectiveC

OpenPlug Studio Overview Programming model

Page 23: 4G LTE Presentation from O\'Reilly Android Open Confereence