E0-245: ASPdipanjan/E0_245/E0245-ASP-Lecture1.pdf · 2 Dipanjan Gope • Mobile apps vs. desktop...
Transcript of E0-245: ASPdipanjan/E0_245/E0245-ASP-Lecture1.pdf · 2 Dipanjan Gope • Mobile apps vs. desktop...
![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](https://reader034.fdocuments.in/reader034/viewer/2022043006/5f902b0754f3d14a8e55b8fe/html5/thumbnails/1.jpg)
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](https://reader034.fdocuments.in/reader034/viewer/2022043006/5f902b0754f3d14a8e55b8fe/html5/thumbnails/2.jpg)
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](https://reader034.fdocuments.in/reader034/viewer/2022043006/5f902b0754f3d14a8e55b8fe/html5/thumbnails/3.jpg)
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](https://reader034.fdocuments.in/reader034/viewer/2022043006/5f902b0754f3d14a8e55b8fe/html5/thumbnails/4.jpg)
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](https://reader034.fdocuments.in/reader034/viewer/2022043006/5f902b0754f3d14a8e55b8fe/html5/thumbnails/5.jpg)
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](https://reader034.fdocuments.in/reader034/viewer/2022043006/5f902b0754f3d14a8e55b8fe/html5/thumbnails/6.jpg)
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](https://reader034.fdocuments.in/reader034/viewer/2022043006/5f902b0754f3d14a8e55b8fe/html5/thumbnails/7.jpg)
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](https://reader034.fdocuments.in/reader034/viewer/2022043006/5f902b0754f3d14a8e55b8fe/html5/thumbnails/8.jpg)
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](https://reader034.fdocuments.in/reader034/viewer/2022043006/5f902b0754f3d14a8e55b8fe/html5/thumbnails/9.jpg)
9
Dipanjan Gope
Android Market
http://www.slideshare.net/kleinerperkins/internet-trends-2014-05-28-14-pdf
![Page 10: 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](https://reader034.fdocuments.in/reader034/viewer/2022043006/5f902b0754f3d14a8e55b8fe/html5/thumbnails/10.jpg)
10
Dipanjan Gope
India Market Figures: Overview
http://dazeinfo.com/2014/07/11/mobile-internet-india-2014-349-million-unique -mobile-phone-users-70-traffic-mobile-india-shining-infographic/
349 million unique users
![Page 11: 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](https://reader034.fdocuments.in/reader034/viewer/2022043006/5f902b0754f3d14a8e55b8fe/html5/thumbnails/11.jpg)
11
Dipanjan Gope
India Market Figures: Mobile
http://dazeinfo.com/2014/07/11/mobile-internet-india-2014-349-million-unique -mobile-phone-users-70-traffic-mobile-india-shining-infographic/
![Page 12: 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](https://reader034.fdocuments.in/reader034/viewer/2022043006/5f902b0754f3d14a8e55b8fe/html5/thumbnails/12.jpg)
12
Dipanjan Gope
India Market Figures: Smart Phone
http://dazeinfo.com/2014/07/11/mobile-internet-india-2014-349-million-unique -mobile-phone-users-70-traffic-mobile-india-shining-infographic/
![Page 13: 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](https://reader034.fdocuments.in/reader034/viewer/2022043006/5f902b0754f3d14a8e55b8fe/html5/thumbnails/13.jpg)
13
Dipanjan Gope
Indian Market Figure: Applications
http://dazeinfo.com/2014/07/11/mobile-internet-india-2014-349-million-unique -mobile-phone-users-70-traffic-mobile-india-shining-infographic/
![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](https://reader034.fdocuments.in/reader034/viewer/2022043006/5f902b0754f3d14a8e55b8fe/html5/thumbnails/14.jpg)
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](https://reader034.fdocuments.in/reader034/viewer/2022043006/5f902b0754f3d14a8e55b8fe/html5/thumbnails/15.jpg)
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](https://reader034.fdocuments.in/reader034/viewer/2022043006/5f902b0754f3d14a8e55b8fe/html5/thumbnails/16.jpg)
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](https://reader034.fdocuments.in/reader034/viewer/2022043006/5f902b0754f3d14a8e55b8fe/html5/thumbnails/17.jpg)
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](https://reader034.fdocuments.in/reader034/viewer/2022043006/5f902b0754f3d14a8e55b8fe/html5/thumbnails/18.jpg)
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](https://reader034.fdocuments.in/reader034/viewer/2022043006/5f902b0754f3d14a8e55b8fe/html5/thumbnails/19.jpg)
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](https://reader034.fdocuments.in/reader034/viewer/2022043006/5f902b0754f3d14a8e55b8fe/html5/thumbnails/20.jpg)
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](https://reader034.fdocuments.in/reader034/viewer/2022043006/5f902b0754f3d14a8e55b8fe/html5/thumbnails/21.jpg)
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](https://reader034.fdocuments.in/reader034/viewer/2022043006/5f902b0754f3d14a8e55b8fe/html5/thumbnails/22.jpg)
22
Dipanjan Gope
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](https://reader034.fdocuments.in/reader034/viewer/2022043006/5f902b0754f3d14a8e55b8fe/html5/thumbnails/23.jpg)
23
Dipanjan Gope
![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](https://reader034.fdocuments.in/reader034/viewer/2022043006/5f902b0754f3d14a8e55b8fe/html5/thumbnails/24.jpg)
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](https://reader034.fdocuments.in/reader034/viewer/2022043006/5f902b0754f3d14a8e55b8fe/html5/thumbnails/25.jpg)
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](https://reader034.fdocuments.in/reader034/viewer/2022043006/5f902b0754f3d14a8e55b8fe/html5/thumbnails/26.jpg)
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](https://reader034.fdocuments.in/reader034/viewer/2022043006/5f902b0754f3d14a8e55b8fe/html5/thumbnails/27.jpg)
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](https://reader034.fdocuments.in/reader034/viewer/2022043006/5f902b0754f3d14a8e55b8fe/html5/thumbnails/28.jpg)
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](https://reader034.fdocuments.in/reader034/viewer/2022043006/5f902b0754f3d14a8e55b8fe/html5/thumbnails/29.jpg)
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](https://reader034.fdocuments.in/reader034/viewer/2022043006/5f902b0754f3d14a8e55b8fe/html5/thumbnails/30.jpg)
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](https://reader034.fdocuments.in/reader034/viewer/2022043006/5f902b0754f3d14a8e55b8fe/html5/thumbnails/31.jpg)
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](https://reader034.fdocuments.in/reader034/viewer/2022043006/5f902b0754f3d14a8e55b8fe/html5/thumbnails/32.jpg)
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](https://reader034.fdocuments.in/reader034/viewer/2022043006/5f902b0754f3d14a8e55b8fe/html5/thumbnails/33.jpg)
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](https://reader034.fdocuments.in/reader034/viewer/2022043006/5f902b0754f3d14a8e55b8fe/html5/thumbnails/34.jpg)
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](https://reader034.fdocuments.in/reader034/viewer/2022043006/5f902b0754f3d14a8e55b8fe/html5/thumbnails/35.jpg)
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](https://reader034.fdocuments.in/reader034/viewer/2022043006/5f902b0754f3d14a8e55b8fe/html5/thumbnails/36.jpg)
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](https://reader034.fdocuments.in/reader034/viewer/2022043006/5f902b0754f3d14a8e55b8fe/html5/thumbnails/37.jpg)
37
Ourum