Skip to content

Instantly share code, notes, and snippets.

@omeroot
Last active January 20, 2020 08:06
Show Gist options
  • Save omeroot/a35aea20c4f646672c44f48f265c90db to your computer and use it in GitHub Desktop.
Save omeroot/a35aea20c4f646672c44f48f265c90db to your computer and use it in GitHub Desktop.

Mobile Development Assignment

The objective of the first assignment is to get you accustomed to the Android development environment and use some of the basic features of Kotlin or Java to build a simple app. You will learn how to use the Storyboard, understand the View Controller and View, use Google Youtube library in your xcode project and get a hang of Callbacks in Kotlin or Java. You will also learn how to build and populate a list, a feature that is commonly present in a lot of apps in the store.

For this assignment, you will use the Youtube Data API to fetch a playlist of popular videos of a channel (of your choice) and display it in the UITableView. Each UITableCellView should contain the thumbnail of the video and the video title. For those of you who would like to deploy the app on an actual device, you could implement a Detail View Controller, so that upon clicking a video in a cell, it should open and play the video in the in-built player. This part of the assignment is optional as the simulator does not have an in-built player. The app should be named 'Mini Playlist’ and the Master View should have the title ' Mini Playlist'.

The assignment will be graded on the following criteria:

  1. Look and Feel
  2. Code Quality
  3. Understanding of the programming language.

This should give you a fair idea on how to use basic language constructs in Kotlin or Java. You are welcome to get creative and try out advanced features. Beware of memory bugs. There are a good number of tutorials on the Internet on basic app building in Android. However, there is a thin line between learning from code and copy-pasting, so please be careful!

A word of the Youtube Data API:

You can either use RESTful service to fetch the playlist or use the Google Youtube Kotlin or Java client (recommended) . RESTful service will require constructing HTTP requests and parsing JSON data, where as the Kotlin or Java client provides wrappers for the same.

Some basic setup:

a. Get the Google-Data Client for Kotlin or Java and import it to your project (if required)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment