Welcome to CS 4330 Mobile Application Development

Welcome to CS 4330/5390,
Mobile Application
Development
Spring 2017
Course Staff
• Instructor: Yoonsik Cheon
• Email: [email protected]
• Office: CCSB 3.0606 (phone: 747-8028)
• Office hours: TR 3-4:30 pm, by appointment, and when
door is open
2
Quick Survey …
• 8 minutes
3
About CS 4330/5390…
• New pedagogies
• Active learning
A process whereby students engage in activities, such as reading, writing,
discussion, or problem solving that promote analysis, synthesis, and
evaluation of class content … [Wikipedia]
• Flipped classroom
An instructional strategy and a type of blended learning that reverses the
traditional educational arrangement by … [Wikipedia]
4
In-Class: 10 Minutes, Pairs
• Read the syllabus and answer the following
questions.
•
•
•
•
•
When are the office hours of the instructor?
What are the main objectives of the course?
What are the main topics to be covered?
Describe the homework policy? Are late submissions are allowed?
What’s the purpose of the semester project, and what are you
supposed to do regarding it?
• Is class attendance required?
• Can everyone earn an A?
• How can you earn bonus points (~ 5%) to improve your grade?
5
Quiz on What You Just Learned
• Install MoQuiz, an Android app
• http://www.cs.utep.edu/cheon/cs4330/download
• Android 4.0 or higher
• No Android device?
• Install an emulator, e.g., Leapdroid, Andy,
and BlueStacks.
• Google “8 best Android emulators for PC”.
6
Quiz (10 Minutes)
• Use:
• Login Id: UTEP user name (e.g., jsmith@miners)
• PIN: last 4 digits of student id (e.g., 80001234)
• Steps
•
•
•
•
Select a quiz
Answer
Submit
Review
• Issues?
7
Quiz Grading
• Done and collected automatically
Send
• Not collected if submitted past due
• Q: How to report a grading error?
• Use “Send” action of the action (app)
bar
8
Today’s Reading Assignment
• Read Chapter 1 of:
• Adam Gerber and Clifton Craig, Learn Android Studio: Build
Android Apps Quickly and Effectively, Apress, 2015.
• Free e-book through UTEP library
• Do HW0: Android Studio (due on Thr, Jan 26)
• See the handout from the course website.
9
Course Website
• URL: http://www.cs.utep.edu/cheon/cs4330/
• Resources available
•
•
•
•
•
•
News and important announcements
Course information (syllabus, contact info, etc.)
Lecture notes and reading materials
Assignments, projects, and exams
Scores and grades
Programming tips, tools, etc.
10
Course Web Account
• Password-protected pages (e.g., grade and
assignment submission)
• Use your MoQuiz credentials or the following:
• User Id: cs4330
• Password: room0202
11
Textbooks
• Trish Cornez and Richard Cornez, Android Programming
Concepts, Johns & Bartlett Learning, 2015*.
• Recommended references
• Adam Gerber and Clifton Craig, Learn Android Studio: Build
Android Apps Quickly and Effectively, Apress, 2015*. Excellent
tutorial on Android Studio.
• Bill Philips, et al., Android Programming: the Big Nerd Ranch
Guide, 2nd edition, Big Nerd Ranch Guides, 2015*. Excellent tutorial
on writing professional apps.
• Paul Deitel, et al., Android 6 for Programmers: An App-Driven
Approach, 3rd edition, Prentice Hall, 2015*.
• Allan Vermeulen, et al., The Elements of Java Style,
Cambridge University Press, 2000.
*Free e-books through UTEP Library
12
Course Structure
• Active/cooperative learning, flipped classroom
• Reading assignments and quizzes
• In-class group exercises and work
• Class attendance required
• Hands-on, lab-type
• In-class coding labs and homework assignments
• Project-based
• Proposal, prototype demo, presentation, and final
report
• Peer review and evaluation
13
Exams
• Midterm: March 9 (Thursday)
• Final: May 11 (Thursday) 10:00 am - 12:45 pm
14
Assignments
• Reading assignment
• For class preparation
• On-line quiz
• Programming assignments
• 3~4 assignments (see syllabus)
• On-line submission
• No late submission will be accepted.
15
CS 5390: In-Class Presentation
• Length: 15~20 minutes
• Contents
• Technical paper related with course topics or
• Mini lecture on additional Android features, e.g.
•
•
•
•
Touch gestures
Sensors and camera
Graphics, drawing, animation, and audio
…
16
Grading
• Approximate percentage:
•
•
•
•
Quizzes and in-classes:
Homework:
Projects:
Exams:
20%
35%
20%
25%
• Percentage-score-to-letter-grade conversion
•
•
•
•
•
90% or above:
80-90%:
70-89%
60-60%:
below 60%:
A
B
C
D
F
• 5% bonus points for class attendance and participation
17
Course Outline
• Boot camp: reviews (1.5 week)
• UML class diagram
• Frameworks and GUI programming
• Design patterns, JUnit, Javadoc
• Android programming (12.5 weeks)
•
•
•
•
•
•
•
•
User interfaces (views, widgets, menus, touch gestures)
Activity, fragments, and intents
Multithreading and networking
Data persistency (shared preferences, file storages, and SQLite)
Content providers
Location-based services
Android services
Other topics: touch gestures, sensors, multimedia, etc.
• Semester projects (2 weeks)
• Project proposal, prototype demo, final presentation
18
Questions or Concerns?
19
Homework: Battleship
• Incremental, evolutionary development (HW 1-4)
• Several increments
•
•
•
•
Single player
Computer player (strategy)
Web service (HTTP)
P2P: Wifi, Wifi Direct, Bluetooth (or BLE)
20
Battleship Game
• Guessing game for two players
• Paper and pencil game
• Two boards with hidden ships of different sizes
• Hit and sink all ships of the opponent
*Both pictures from Wikipedia.
21
Pair Exercise (10 mins)
• Form a pair
• Install a Battleship game app or find an online
site (e.g., www.battleshiponline.org)
• Play one round of game
• Defeat your opponent
*Screenshot from www.battleshiponline.org.
22
Pair Exercise (5 mins)
• Form a pair.
• Play Omok (“five pieces”, a.k.a. Gobang, Gomoku,
“five in a row”).
• Homework
•
•
•
•
Human player
Computer player (strategy)
Web service (HTTP)
P2P: Wifi, Wifi Direct, Bluetooth
23