![Page 1: Born on 23rd September 2008 - Dartmouth Computer Sciencecampbell/cs65/cs65intro.pdf · air quality! 15. accelerometer activity! ... Adobe Flash Yes, with A-GPS support ... SQLite](https://reader035.vdocuments.us/reader035/viewer/2022062600/5adc92827f8b9ae1408bbb3f/html5/thumbnails/1.jpg)
Born on 23rd September 2008
CS65/165 Smartphone Programming
1
![Page 2: Born on 23rd September 2008 - Dartmouth Computer Sciencecampbell/cs65/cs65intro.pdf · air quality! 15. accelerometer activity! ... Adobe Flash Yes, with A-GPS support ... SQLite](https://reader035.vdocuments.us/reader035/viewer/2022062600/5adc92827f8b9ae1408bbb3f/html5/thumbnails/2.jpg)
what beauty
2
![Page 3: Born on 23rd September 2008 - Dartmouth Computer Sciencecampbell/cs65/cs65intro.pdf · air quality! 15. accelerometer activity! ... Adobe Flash Yes, with A-GPS support ... SQLite](https://reader035.vdocuments.us/reader035/viewer/2022062600/5adc92827f8b9ae1408bbb3f/html5/thumbnails/3.jpg)
my first love
Born on 9 January 2007
3
![Page 4: Born on 23rd September 2008 - Dartmouth Computer Sciencecampbell/cs65/cs65intro.pdf · air quality! 15. accelerometer activity! ... Adobe Flash Yes, with A-GPS support ... SQLite](https://reader035.vdocuments.us/reader035/viewer/2022062600/5adc92827f8b9ae1408bbb3f/html5/thumbnails/4.jpg)
some factoids
4
![Page 5: Born on 23rd September 2008 - Dartmouth Computer Sciencecampbell/cs65/cs65intro.pdf · air quality! 15. accelerometer activity! ... Adobe Flash Yes, with A-GPS support ... SQLite](https://reader035.vdocuments.us/reader035/viewer/2022062600/5adc92827f8b9ae1408bbb3f/html5/thumbnails/5.jpg)
What’s in a smartphone - the hardware inside?
And, why is it such a revolutionary device?
What software runs on phones?
How to I code apps and distribute them to the masses?
Oh, and I do I get rich... quickly.
Where is does the vision lead? End of smartphone era!!
5
![Page 6: Born on 23rd September 2008 - Dartmouth Computer Sciencecampbell/cs65/cs65intro.pdf · air quality! 15. accelerometer activity! ... Adobe Flash Yes, with A-GPS support ... SQLite](https://reader035.vdocuments.us/reader035/viewer/2022062600/5adc92827f8b9ae1408bbb3f/html5/thumbnails/6.jpg)
what’s under the hood?
6
![Page 7: Born on 23rd September 2008 - Dartmouth Computer Sciencecampbell/cs65/cs65intro.pdf · air quality! 15. accelerometer activity! ... Adobe Flash Yes, with A-GPS support ... SQLite](https://reader035.vdocuments.us/reader035/viewer/2022062600/5adc92827f8b9ae1408bbb3f/html5/thumbnails/7.jpg)
The naked iPhone 3GS7
![Page 8: Born on 23rd September 2008 - Dartmouth Computer Sciencecampbell/cs65/cs65intro.pdf · air quality! 15. accelerometer activity! ... Adobe Flash Yes, with A-GPS support ... SQLite](https://reader035.vdocuments.us/reader035/viewer/2022062600/5adc92827f8b9ae1408bbb3f/html5/thumbnails/8.jpg)
The naked Android Nexus 4
8
![Page 9: Born on 23rd September 2008 - Dartmouth Computer Sciencecampbell/cs65/cs65intro.pdf · air quality! 15. accelerometer activity! ... Adobe Flash Yes, with A-GPS support ... SQLite](https://reader035.vdocuments.us/reader035/viewer/2022062600/5adc92827f8b9ae1408bbb3f/html5/thumbnails/9.jpg)
The naked Android Nexus 4
9
![Page 10: Born on 23rd September 2008 - Dartmouth Computer Sciencecampbell/cs65/cs65intro.pdf · air quality! 15. accelerometer activity! ... Adobe Flash Yes, with A-GPS support ... SQLite](https://reader035.vdocuments.us/reader035/viewer/2022062600/5adc92827f8b9ae1408bbb3f/html5/thumbnails/10.jpg)
10
![Page 11: Born on 23rd September 2008 - Dartmouth Computer Sciencecampbell/cs65/cs65intro.pdf · air quality! 15. accelerometer activity! ... Adobe Flash Yes, with A-GPS support ... SQLite](https://reader035.vdocuments.us/reader035/viewer/2022062600/5adc92827f8b9ae1408bbb3f/html5/thumbnails/11.jpg)
Things you can do11
![Page 12: Born on 23rd September 2008 - Dartmouth Computer Sciencecampbell/cs65/cs65intro.pdf · air quality! 15. accelerometer activity! ... Adobe Flash Yes, with A-GPS support ... SQLite](https://reader035.vdocuments.us/reader035/viewer/2022062600/5adc92827f8b9ae1408bbb3f/html5/thumbnails/12.jpg)
what’s your favorite app?
12
![Page 13: Born on 23rd September 2008 - Dartmouth Computer Sciencecampbell/cs65/cs65intro.pdf · air quality! 15. accelerometer activity! ... Adobe Flash Yes, with A-GPS support ... SQLite](https://reader035.vdocuments.us/reader035/viewer/2022062600/5adc92827f8b9ae1408bbb3f/html5/thumbnails/13.jpg)
Learning to program phonesSix thematic labs (MyRuns)
Group continuous Sensing app
13
![Page 14: Born on 23rd September 2008 - Dartmouth Computer Sciencecampbell/cs65/cs65intro.pdf · air quality! 15. accelerometer activity! ... Adobe Flash Yes, with A-GPS support ... SQLite](https://reader035.vdocuments.us/reader035/viewer/2022062600/5adc92827f8b9ae1408bbb3f/html5/thumbnails/14.jpg)
Built the UI
Database (SQLite) and adapters
Maps, location (GPS) and services
Motion sensors and exercising stats
Cloud side using AppEngine
MyRuns app
14
![Page 15: Born on 23rd September 2008 - Dartmouth Computer Sciencecampbell/cs65/cs65intro.pdf · air quality! 15. accelerometer activity! ... Adobe Flash Yes, with A-GPS support ... SQLite](https://reader035.vdocuments.us/reader035/viewer/2022062600/5adc92827f8b9ae1408bbb3f/html5/thumbnails/15.jpg)
accelerometer!
compass!
gyroscope!
light!
proximity!
near-field!barometer!
front/back cameras!
microphone! location!
radios!
emotion!
air quality!
15
![Page 16: Born on 23rd September 2008 - Dartmouth Computer Sciencecampbell/cs65/cs65intro.pdf · air quality! 15. accelerometer activity! ... Adobe Flash Yes, with A-GPS support ... SQLite](https://reader035.vdocuments.us/reader035/viewer/2022062600/5adc92827f8b9ae1408bbb3f/html5/thumbnails/16.jpg)
accelerometer
activity! sitting
standing
walking
running
16
![Page 17: Born on 23rd September 2008 - Dartmouth Computer Sciencecampbell/cs65/cs65intro.pdf · air quality! 15. accelerometer activity! ... Adobe Flash Yes, with A-GPS support ... SQLite](https://reader035.vdocuments.us/reader035/viewer/2022062600/5adc92827f8b9ae1408bbb3f/html5/thumbnails/17.jpg)
gyroscope, barometer, compass
+ +
17
![Page 18: Born on 23rd September 2008 - Dartmouth Computer Sciencecampbell/cs65/cs65intro.pdf · air quality! 15. accelerometer activity! ... Adobe Flash Yes, with A-GPS support ... SQLite](https://reader035.vdocuments.us/reader035/viewer/2022062600/5adc92827f8b9ae1408bbb3f/html5/thumbnails/18.jpg)
collocation nets (BlueTooth)
18
![Page 19: Born on 23rd September 2008 - Dartmouth Computer Sciencecampbell/cs65/cs65intro.pdf · air quality! 15. accelerometer activity! ... Adobe Flash Yes, with A-GPS support ... SQLite](https://reader035.vdocuments.us/reader035/viewer/2022062600/5adc92827f8b9ae1408bbb3f/html5/thumbnails/19.jpg)
making sense of data
Classification pipeline!
raw sensor!data!
extracted!features!
classification!inference!
19
![Page 20: Born on 23rd September 2008 - Dartmouth Computer Sciencecampbell/cs65/cs65intro.pdf · air quality! 15. accelerometer activity! ... Adobe Flash Yes, with A-GPS support ... SQLite](https://reader035.vdocuments.us/reader035/viewer/2022062600/5adc92827f8b9ae1408bbb3f/html5/thumbnails/20.jpg)
Teams of twogroup projects
20
![Page 21: Born on 23rd September 2008 - Dartmouth Computer Sciencecampbell/cs65/cs65intro.pdf · air quality! 15. accelerometer activity! ... Adobe Flash Yes, with A-GPS support ... SQLite](https://reader035.vdocuments.us/reader035/viewer/2022062600/5adc92827f8b9ae1408bbb3f/html5/thumbnails/21.jpg)
android architecture21