Coder Social home page Coder Social logo

lyrics-music-android's Introduction

Assignment 3: Music Library App

After manipulating basic widgets, the objective of this assignment is to work with Activities and Intents. In the previous lecture, we have seen how to create new Activities and how to create Intents to pass information from an Activity to another.

This assignment will also make you work with concepts seen during the previous lectures such as ListViews, RecyclerViews, and reading files.

This assignment requires less implementation than the previous one, but it might take you some time to correctly read and use the information written in the file that comes with the starter code.

The deadline for this assignment is Tuesday 16/10/2018, 23:59.

Description of the App

This app is similar to your favorite music player application, except that we are not going to play any songs. We will simply be listing names of artists, albums, and songs.

The starter code provides you with an empty project with only a BandActivity.

Your task will consist in:

  • Creating two additional Activities: AlbumActivity and SongActivity
  • In the BandActivity, the application should:
    • Read the contents of the CSV file
    • Display the names of the bands in a ListView
    • When the user clicks on an item in the list, AlbumActivity should appear
  • In the AlbumActivity, the application should:
    • Read the contents of the CSV file
    • Display in a ListView the names of the albums corresponding to the Band that was clicked on
    • When the user clicks on an item in the list, SongActivity should appear
  • In the SongActivity, the application should:
    • Read the contents of the CSV file
    • Display in a ListView the names of the song in the album that the user selected

The CSV file contains:

  • A header row that describes the contents of each column
  • A list of bands, albums, and songs It is located in the res/raw folder.

Bonus to make the app better

All this section is bonus work. Please make sure that the principal features are implemented correctly before working on bonuses.

  1. Instead of using ListViews, use a RecyclerView
  2. Use a custom TextView to display the items of the RecyclerView
  3. Instead of reading the contents of the file in every activity, pass the necessary information with Intents

lyrics-music-android's People

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.