Lecture 13 - iOS Practice

Lecture Date: Wednesday, September 26

Continuing to work on our iOS examples today!

Here are some major points we will look at:

  • Dismissing the keyboard
  • Segues
  • Unwinding a Segue
  • Adding assets/images
  • Setting up your app icon (http://www.appicon.build/)
  • Device status

Apple Example: FavoriteBook: http://cs4720.cs.virginia.edu/resources/FavoriteBook.zip

Device Status on GitHub: https://github.com/marksherriff/iOS-device-status.git

more ...


Lecture 11 - iOS Lab

Lecture Date: Friday, September 21

Lab assignment today!

The lab can be found here: https://github.com/marksherriff/iOS-lab-stopwatch

You are allowed to work with someone this week on the lab if you need to work together on someone's Mac. However, this lab is intended to make you start considering how you are going to do your iOS Mini-App. You can:

  • Own a Mac
  • Work with someone that owns a Mac (and only use their machine)
  • Spend a few bucks to use https://www.macincloud.com/
  • Use the machines in the library
  • Check out one of a limited number of Mac Minis from Prof. Sherriff (you have to provide your own monitor, keyboard, and mouse)

The lab is due before class on Monday, September 24.

No Audio Today

more ...

Lecture 10 - Intro to Xcode

Lecture Date: Wednesday, September 19

Today we are going to build a simple app together, looking at how to navigate the ins and outs of Xcode.

Here are some major points we will look at:

  • Adding a developer account
  • Using the Interface Builder
  • Adding more screens
  • Using a Navigation Controller
  • Segues

Some good tutorials to look at:

Also, definitely read the info in the provided Swift textbook! https://itunes.apple.com/us/book/app-development-with-swift/id1219117996?mt=11

Slides - iOS App Architecture

LectureTest on Github: https://github.com/marksherriff/LectureTest-iOS.git

Note Taker on Github: https://github.com/marksherriff/NoteTaker-iOS.git

more ...


Lecture 8 - Android Lab

Lecture Date: Friday, September 14

Follow the tutorial found here: https://google-developer-training.github.io/android-developer-fundamentals-course-practicals/en/Unit%201/23_p_activities_and_implicit_intents.html

Addition to the "first app" you build in this tutorial: add code so that whichever button you press ALSO pops up with that information in a toast at the bottom of the screen.

Submit a zip file of each Android project you craeted to the appropriate assignment found in Collab.

If you wish to work on the lab before coming to class, that is fine.

No Audio Today

more ...

Lecture 7 - Android Lifecycle

Lecture Date: Wednesday, September 12

We will finish up from last lecture along with covering more on the Android lifecycle, including how to handle device rotation.

Device Rotation - https://github.com/marksherriff/RotationExample

Then, how do you get info BACK from an activity? https://developer.android.com/training/basics/intents/result

We'll top everything off by looking at how application signing works in Android.

Finally, if there's time, we'll take a look at Kotlin: https://kotlinlang.org/docs/reference/

Other resources on fragments for the curious:

more ...

Lecture 6 - Android Intents and Services

Lecture Date: Monday, September 10

Today, we'll discuss Intents and Services. One is used for passing messages and one is basically an Activity with no UI. Guess which is which.

For information on how to handle user permissions, see https://developer.android.com/training/permissions/requesting.

IntentExamples on Github: https://github.com/marksherriff/IntentExamples

ServiceExample on Github: https://github.com/marksherriff/ServiceExample

Slides - Android Intents and Services

more ...