Académique Documents
Professionnel Documents
Culture Documents
1
People
• Let’s introduce ourselves!
oYour name
oWhat year (UG/Grad and year)
oWhat major/research area
oWhy COMP 433/790-136.
2
Learning Objective
• Learning the basics of Mobile Application
Development using Android APIs.
• Learning about some selected topics on Mobile
System and Networks.
16 Classes 12 Classes
3
What to Expect
• Develop “proof of concept” Android Apps.
• A lot of programming and self-learning.
4
What not to Expect
• You will be a pro, a hacker.
• The TA is for “debugging” my program.
5
Course Structure
Project Final
6
Grading
o Class Attendance (3%)
o Class Work (12%)
o Programming Assignments (45%)
o Project (30%)
o Final (10%)
7
Example: Course Organization/Flow
http://mobile.web.unc.edu/schedule/
8
Office Hours and Resources
• Office Hour: THU 12:30pm – 1:30pm (Email)
• TA: Shiwei Fang (office hours: TBD)
• LA: TBD
• GitHub: https://github.com/uncmobile
• Course Webpage: http://mobile.web.unc.edu/
• Sakai: Assignments and project.
• Email: Email IDs in CC.
9
Some Logistics
• Absence
• Late Assignments
• Office/TA Visit
• Class Etiquette
10
Spring 2016 – Interesting Projects (1)
Project: Breadcrumbs
https://youtu.be/tk1i-oG2XBc
11
Spring 2016 – Interesting Projects (2)
Project: Balance Buddy
https://youtu.be/BlBHEA4baOc
12
Spring 2016 – Interesting Projects (3)
Project: Roybot
https://youtu.be/tOAKM8Fr5U0
13
Mobile Computing Systems
14
Smart *
• “Smart” mobile systems contain a mobile OS that
can run mobile Apps.
15
Smart+ *
• “Smart” mobile systems often contain – a touch
screen, built-in GPS receiver, sensors, in addition
to what a standard computer has.
• Example of phone sensors:
o Accelerometer
o Magnetometer
o Gyroscope
o Compass
o Light
o Proximity
o Temperature
o Pressure
16
Computing Devices
Device Processor Mem Storage Connectivity
Laptop 2.80 GHz 16 GB 512 GB WiFi
(Macbook Pro)
Smartphone 1.55 GHz 3 GB 128 GB WiFi, Cellular,
(Nexus 6P) BLE, NFC
http://www.gsmarena.com/
https://www.raspberrypi.org/magpi/raspberry-pi-3-specs-benchmarks/
17
Wireless Networks
Network Type Speed Range Power Common Use
WLAN 600 Mbps 45 m – 100 mW Internet.
90 m
LTE 5-12 Mbps 35km 120 – Mobile Internet
300 mW
3G 2 Mbps 35km 3 mW Mobile Internet
Bluetooth 1 – 3 Mbps 100 m 1W Headsets, audio streaming.
Bluetooth LE 300 Kbps 100+ m .01–.5 W Wearables, fitness.
Zigbee 100 Kbps 100 m 0.45 mW WSN
(The numbers are not that simple to estimate exactly, but should give you an idea)
http://dl.acm.org/citation.cfm?id=1644927
http://dl.acm.org/citation.cfm?id=2307658
http://ieeexplore.ieee.org/xpls/abs_all.jsp?arnumber=6616827&tag=1
18
Putting them together
• A mobile system often consists of sensors, mobile
phones, and a server who talk to each other over
BLE and WiFi, as appropriate.
19
Two Example Systems
20
Android Example: MobiCOG
• Automation of MiniCog – a paper based 3 minute
dementia pre-screening test.
21
Video Demo – MobiCOG
https://www.youtube.com/watch?v=kk05dKghpCA
22
Android Example: MobiCOG
• Features:
o Chain Codes
o Symmetry
• Classifier:
1
o k-NN
Chain-Code = (0,2,0,3,1,1,3,0)
Symmetry = (80%, 70%)
23
Arduino Example: Typing Ring
A Wearable, portable, accessory that allows us to
input text into computers of different forms.
24
Arduino Example: Typing Ring
Wearing It
The ring is worn in the middle finger.
Typing a Key
The User makes a typing gesture with one of three
fingers and the corresponding key is typed in.
26
Next Class
• Download and install Java and Android Studio.
• Read the “Class Work 1” ahead of time.
• Bring your laptop, your Android device and the
USB cable.
• After a brief lecture (Android Studio), we will
complete class work 1 together.
27
28