Vous êtes sur la page 1sur 28

Lecture 1: Getting Ready

Topics: People and Course Overview

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

Lecture Class Work Assignment

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

Getting Ready Android Studio Framework Assignment 1 (due)


Building 1st App Intent

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

A portable electronic device along with its


communication infrastructure, that enables
computation and wireless communication.

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

Wearables 1 GHz 512 MB 4 GB WiFi, BLE, NFC


(Gear S)
Raspberry Pi 3 1.2 GHz 1 GB microSD Ethernet, WLAN,
BLE
Arduino UNO 16 MHz 2 KB 32 KB Various shields
(ATmega328P)
Intel Joule 1.7 GHz 4 GB 16 GB WiFi, BLE

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

Android Based System Arduino Based System


(MobiCOG) (Typing Ring)

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.

• Connects wirelessly as a standard Bluetooth


Smart keyboard.
• Works on surfaces such as – a table , a wall,
or even your lap.
• Over 98% accurate in detecting typed keys.
• Yields a typing speed of up to 50 keys/min.
• Yields up to 15,500 keys with full charge.
• Weighs ~ 15 gm

24
Arduino Example: Typing Ring
Wearing It
The ring is worn in the middle finger.

Seeking 3-Letter Zones


As the user hovers his hand on a surface, 3-
On-screen visual feedback consecutive keys on a on-screen keyboard is
highlighted.

Typing a Key
The User makes a typing gesture with one of three
fingers and the corresponding key is typed in.

Typing with 3-fingers


25
Video Demo

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

Vous aimerez peut-être aussi