37
E0-245: ASP Lecture 1: Basic Setup Dipanjan Gope

E0-245: ASPdipanjan/E0_245/E0245-ASP-Lecture1.pdf · 2 Dipanjan Gope • Mobile apps vs. desktop software • Statistics of smart-phone usage • History of Android • Examples of

  • Upload
    others

  • View
    3

  • Download
    0

Embed Size (px)

Citation preview

Page 1: E0-245: ASPdipanjan/E0_245/E0245-ASP-Lecture1.pdf · 2 Dipanjan Gope • Mobile apps vs. desktop software • Statistics of smart-phone usage • History of Android • Examples of

E0-245: ASP

Lecture 1: Basic Setup

Dipanjan Gope

Page 2: E0-245: ASPdipanjan/E0_245/E0245-ASP-Lecture1.pdf · 2 Dipanjan Gope • Mobile apps vs. desktop software • Statistics of smart-phone usage • History of Android • Examples of

2

Dipanjan Gope

• Mobile apps vs. desktop software

• Statistics of smart-phone usage

• History of Android

• Examples of popular Android applications

• Android architecture and building blocks

• Android setup on laptop

Module 0: Basic Setup

Page 3: E0-245: ASPdipanjan/E0_245/E0245-ASP-Lecture1.pdf · 2 Dipanjan Gope • Mobile apps vs. desktop software • Statistics of smart-phone usage • History of Android • Examples of

3

Dipanjan Gope

• https://www.udacity.com/course/ud853: Udacity – “Developing Android Apps”

• http://dazeinfo.com/2014/06/22/smartphone-apac-market-forecast-2014-2018-india-china-australia-japan-growth/

• http://dazeinfo.com/2014/07/11/mobile-internet-india-2014-349-million-unique-mobile-phone-users-70-traffic-mobile-india-shining-infographic/

• http://www.slideshare.net/kleinerperkins/internet-trends-2014-05-28-14-pdf

• ++

References

Page 4: E0-245: ASPdipanjan/E0_245/E0245-ASP-Lecture1.pdf · 2 Dipanjan Gope • Mobile apps vs. desktop software • Statistics of smart-phone usage • History of Android • Examples of

4

Dipanjan Gope

• Battery Life

• Low Processing Power

• Limited RAM

• Smaller screen sizes

• Data Connections: Intermittent/low bandwidth, high latency

Mobile vs. Desktop Software

https://www.udacity.com/course/ud853: Udacity – “Developing Android Apps”

Page 5: E0-245: ASPdipanjan/E0_245/E0245-ASP-Lecture1.pdf · 2 Dipanjan Gope • Mobile apps vs. desktop software • Statistics of smart-phone usage • History of Android • Examples of

5

Dipanjan Gope

• Penetration of mobile: ubiquitous

• Availability of sensor information:

- multimedia: camera, microphone, speaker

- physical: accelerometer, gyroscope, barometer,

light and proximity sensor

- position: GPS, maps

Mobile vs. Desktop Software

Page 6: E0-245: ASPdipanjan/E0_245/E0245-ASP-Lecture1.pdf · 2 Dipanjan Gope • Mobile apps vs. desktop software • Statistics of smart-phone usage • History of Android • Examples of

6

Dipanjan Gope

Statistics

Page 7: E0-245: ASPdipanjan/E0_245/E0245-ASP-Lecture1.pdf · 2 Dipanjan Gope • Mobile apps vs. desktop software • Statistics of smart-phone usage • History of Android • Examples of

7

Dipanjan Gope

Consumer Electronics Statistics

http://www.slideshare.net/kleinerperkins/internet-trends-2014-05-28-14-pdf

Page 8: E0-245: ASPdipanjan/E0_245/E0245-ASP-Lecture1.pdf · 2 Dipanjan Gope • Mobile apps vs. desktop software • Statistics of smart-phone usage • History of Android • Examples of

8

Dipanjan Gope

User Penetration Statistics

http://www.slideshare.net/kleinerperkins/internet-trends-2014-05-28-14-pdf

Page 9: E0-245: ASPdipanjan/E0_245/E0245-ASP-Lecture1.pdf · 2 Dipanjan Gope • Mobile apps vs. desktop software • Statistics of smart-phone usage • History of Android • Examples of

9

Dipanjan Gope

Android Market

http://www.slideshare.net/kleinerperkins/internet-trends-2014-05-28-14-pdf

Page 14: E0-245: ASPdipanjan/E0_245/E0245-ASP-Lecture1.pdf · 2 Dipanjan Gope • Mobile apps vs. desktop software • Statistics of smart-phone usage • History of Android • Examples of

14

Dipanjan Gope

India Market Figure: Projection

http://dazeinfo.com/2014/06/22/smartphone-apac-market-forecast-2014-2018-india-china-australia-japan-growth/

2014: 150 million smart phones 2018: 300+ million smart phones

An application can potentially double it’s income in 4 years

Page 15: E0-245: ASPdipanjan/E0_245/E0245-ASP-Lecture1.pdf · 2 Dipanjan Gope • Mobile apps vs. desktop software • Statistics of smart-phone usage • History of Android • Examples of

15

Dipanjan Gope

What is Android?

Page 16: E0-245: ASPdipanjan/E0_245/E0245-ASP-Lecture1.pdf · 2 Dipanjan Gope • Mobile apps vs. desktop software • Statistics of smart-phone usage • History of Android • Examples of

16

Dipanjan Gope

• OS + Middleware + Apps

• Linux-based

• Open-Source

• Built for touchscreen actions like swipe, tap, pinch, reverse-pinch

• Developed by Open Handset Alliance (OHA) led by Google

What is Android?

Page 17: E0-245: ASPdipanjan/E0_245/E0245-ASP-Lecture1.pdf · 2 Dipanjan Gope • Mobile apps vs. desktop software • Statistics of smart-phone usage • History of Android • Examples of

17

Dipanjan Gope

History of Android

Page 18: E0-245: ASPdipanjan/E0_245/E0245-ASP-Lecture1.pdf · 2 Dipanjan Gope • Mobile apps vs. desktop software • Statistics of smart-phone usage • History of Android • Examples of

18

Dipanjan Gope

History of Android

2003

Android Inc. Andy Rubin

2005

Google Acquisition

2007

OHA

2008

HTC Dream

2013

1 billion devices

Page 19: E0-245: ASPdipanjan/E0_245/E0245-ASP-Lecture1.pdf · 2 Dipanjan Gope • Mobile apps vs. desktop software • Statistics of smart-phone usage • History of Android • Examples of

19

Dipanjan Gope

Android Versions

http://en.wikipedia.org/wiki/Android_version_history

Page 20: E0-245: ASPdipanjan/E0_245/E0245-ASP-Lecture1.pdf · 2 Dipanjan Gope • Mobile apps vs. desktop software • Statistics of smart-phone usage • History of Android • Examples of

20

Dipanjan Gope

Popular Android Applications

Page 21: E0-245: ASPdipanjan/E0_245/E0245-ASP-Lecture1.pdf · 2 Dipanjan Gope • Mobile apps vs. desktop software • Statistics of smart-phone usage • History of Android • Examples of

21

Dipanjan Gope

Popular Android Apps

https://play.google.com/store/apps/collection/topselling_free?hl=en

Page 22: E0-245: ASPdipanjan/E0_245/E0245-ASP-Lecture1.pdf · 2 Dipanjan Gope • Mobile apps vs. desktop software • Statistics of smart-phone usage • History of Android • Examples of

22

Dipanjan Gope

Instagram

2010

Launched

2012

100 million users 13 employees $1 billion acquisition

2011

15 million users 3 Engineers

http://www.slideshare.net/iammutex/scaling-instagram

Page 23: E0-245: ASPdipanjan/E0_245/E0245-ASP-Lecture1.pdf · 2 Dipanjan Gope • Mobile apps vs. desktop software • Statistics of smart-phone usage • History of Android • Examples of

23

Dipanjan Gope

Instagram

Page 24: E0-245: ASPdipanjan/E0_245/E0245-ASP-Lecture1.pdf · 2 Dipanjan Gope • Mobile apps vs. desktop software • Statistics of smart-phone usage • History of Android • Examples of

24

Dipanjan Gope

Some apps from NICE:

HealthyMe

Page 25: E0-245: ASPdipanjan/E0_245/E0245-ASP-Lecture1.pdf · 2 Dipanjan Gope • Mobile apps vs. desktop software • Statistics of smart-phone usage • History of Android • Examples of

25

Dipanjan Gope

Prof. Rosling: Wealth and Health of Nations

http://www.gapminder.org/

Page 26: E0-245: ASPdipanjan/E0_245/E0245-ASP-Lecture1.pdf · 2 Dipanjan Gope • Mobile apps vs. desktop software • Statistics of smart-phone usage • History of Android • Examples of

26

Dipanjan Gope

Life Expectancy Trend

http://www.gapminder.org/

Water Treatment Regulations

Role of contaminated water in spreading diseases

Antibiotics

Small Pox Vaccine

Polio Vaccine

Better lifestyle, Preventive care, and Early Detection are key to Healthy Living

Page 27: E0-245: ASPdipanjan/E0_245/E0245-ASP-Lecture1.pdf · 2 Dipanjan Gope • Mobile apps vs. desktop software • Statistics of smart-phone usage • History of Android • Examples of

27

Dipanjan Gope

HealthyMe

Personalized Health Monitoring using Mobile Sensors - “Maintenance Required” indicator for Health

Regular Monitoring

Predictive Analytics, Health Score

Electronic Medical Records

Continuous Health Monitoring not only Enables Early Detection but also Motivates Healthy Habits and Living

Page 28: E0-245: ASPdipanjan/E0_245/E0245-ASP-Lecture1.pdf · 2 Dipanjan Gope • Mobile apps vs. desktop software • Statistics of smart-phone usage • History of Android • Examples of

28

Dipanjan Gope

What if the waiting room …

Height Weight

Temperature Pulse Blood Pressure

Medical history

Pallor, Icterus, Cyanosis …

Page 29: E0-245: ASPdipanjan/E0_245/E0245-ASP-Lecture1.pdf · 2 Dipanjan Gope • Mobile apps vs. desktop software • Statistics of smart-phone usage • History of Android • Examples of

29

Dipanjan Gope

Is replicated in your home !!!

Mobile Interface

Sensors in Mobile Devices to Aid Regular Monitoring

Cloud Backend

Page 30: E0-245: ASPdipanjan/E0_245/E0245-ASP-Lecture1.pdf · 2 Dipanjan Gope • Mobile apps vs. desktop software • Statistics of smart-phone usage • History of Android • Examples of

30

Pulse Detection from Mobile Phone

Video Recording Face Recognition RGB Components

ICA Analysis FFT Pulse From Spectrum

Pre-processing - Detrend - Zscore

Post-processing - Smooth - Bandpass Filter - Spline

M.Z. Poh, D.J. McDuff, R.W. Picard, Opt Express. 18(10) pp. 10762–10774, 2010.

Page 31: E0-245: ASPdipanjan/E0_245/E0245-ASP-Lecture1.pdf · 2 Dipanjan Gope • Mobile apps vs. desktop software • Statistics of smart-phone usage • History of Android • Examples of

31

Accuracy Worsens With Distance

0.4 0.6 0.8 1 1.2 1.4 1.6 1.8

x 104

-2.5

-2

-1.5

-1

-0.5

0

0.5

Total Pixel Size of Detected Face

log

10

(Err

or)

WebCam Results

MTLB_dtrnd_schm1

MTLB_dtrnd_schm2

MTLB_dtrnd_schm3

TRVN_dtrnd_schm1

TRVN_dtrnd_schm2

TRVN_dtrnd_schm3

Page 32: E0-245: ASPdipanjan/E0_245/E0245-ASP-Lecture1.pdf · 2 Dipanjan Gope • Mobile apps vs. desktop software • Statistics of smart-phone usage • History of Android • Examples of

32

Dipanjan Gope

Heart Rate Detection

0 0.5 1 1.5 2 2.5

x 105

-0.5

0

0.5

0 0.5 1 1.5 2 2.5

x 105

0

0.005

0.01

0 20 40 60 80 100 120 140 160 180 2000

200

400

80.7495 Hz

Recorded Heart Sound:

Page 33: E0-245: ASPdipanjan/E0_245/E0245-ASP-Lecture1.pdf · 2 Dipanjan Gope • Mobile apps vs. desktop software • Statistics of smart-phone usage • History of Android • Examples of

33

Dipanjan Gope

Color Variation Symptom Checker

• Pallor (reduction in redness) - Anemia, Mal-nutrition, TB

• Icterus (increase in yellowness - bilirubin) - Hepatitis

• Cyanosis (lack of oxygen in the blood) - Pneumonia, Asthma, COPD

Mobile Phone Sensor: Camera

Page 34: E0-245: ASPdipanjan/E0_245/E0245-ASP-Lecture1.pdf · 2 Dipanjan Gope • Mobile apps vs. desktop software • Statistics of smart-phone usage • History of Android • Examples of

34

Dipanjan Gope

Emergency Care

Accelerometer/Gyroscope

GPS

Email/SMS

Page 35: E0-245: ASPdipanjan/E0_245/E0245-ASP-Lecture1.pdf · 2 Dipanjan Gope • Mobile apps vs. desktop software • Statistics of smart-phone usage • History of Android • Examples of

35

Dipanjan Gope

Some apps from NICE:

Ourum

Page 36: E0-245: ASPdipanjan/E0_245/E0245-ASP-Lecture1.pdf · 2 Dipanjan Gope • Mobile apps vs. desktop software • Statistics of smart-phone usage • History of Android • Examples of

36

Dipanjan Gope

Ourum

Page 37: E0-245: ASPdipanjan/E0_245/E0245-ASP-Lecture1.pdf · 2 Dipanjan Gope • Mobile apps vs. desktop software • Statistics of smart-phone usage • History of Android • Examples of

37

Ourum