0% found this document useful (0 votes)
143 views7 pages

App4 1

The app displays information about albums and songs by The Beatles. It has three tabs - Home, Albums, and Search. The Home tab contains a slideshow of album covers. The Albums tab shows all album names and details. Selecting an album displays its song list. Selecting a song searches YouTube for a matching music video to display. Data like album details and song lists come from text files included with the app. The required functionality is to implement the Home, Albums, and song selection features along with data from the text files. Optional search functionality may be added later.

Uploaded by

Joe Davis
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
143 views7 pages

App4 1

The app displays information about albums and songs by The Beatles. It has three tabs - Home, Albums, and Search. The Home tab contains a slideshow of album covers. The Albums tab shows all album names and details. Selecting an album displays its song list. Selecting a song searches YouTube for a matching music video to display. Data like album details and song lists come from text files included with the app. The required functionality is to implement the Home, Albums, and song selection features along with data from the text files. Optional search functionality may be added later.

Uploaded by

Joe Davis
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd

App 4

The Beatles

Overview

The Beatles music is available at iTunes, and App4 is dedicated to The Beatles. This app should
utilize the following Fragment classes utilized by the bottomNavigationView:

MainFragment
AlbumFragment
SearchFragment

The opening display of this app is shown below

There should be 3 tabs associated with the bottomNavigationView: Home, Albums, and Search.
Only the Home and Albums tabs are required to be implemented for App4 . The Search tab
will be used for searching for the song titles or song lyrics for a given phrase –
we’ll implement this functionality using an sqlite datatabase in a future app.
Feel free to use different image icons with the tabs, but the following are suggested for App4:

ic_home_black_24dp
ic_music_note_black_24dp
ic_search_black_24dp

The top-level MainFragment is displayed first and is associated with the Home tab. A slide show
of images is displayed by this MainFragment. The [Link] image is the first image of the slide
show followed by all the album cover images as shown on page 2.

The picture [Link] is re-displayed after the Last Album (Past Masters Volume II) has been
displayed. The slide show repeats indefinitely with all images re-displayed.
The 16 images are repeated indefinitely. You can display each image for appx. 3 seconds.

The album covers used in this app for the slide show are shown below:
Make sure the image are displayed neatly and have consistent size.

Please Please Me With The Beatles A Hard Day’s Night

Beatles For Sale HELP! Rubber Soul

Revolver Sgt. Pepper The White Album

Yellow Submarine Abbey Road Let It Be


Magical Mystery Tour Past Masters Volume I Past Masters Volume II

These album images are stored in [Link].

The following AlbumFragment is displayed once the Album tab is pressed:

All Album names, their release date and their album cover, is displayed within each cell.

Make sure all data is displayed neatly and consistently (especially for images displayed in
each cell)

The remaining albums can be accessed by scrolling. The remaining albums are shown below:
Selecting a given cell (e.g., Album) will display all the songs for that album. Suppose the first
cell labeled with album Please Please Me is selected. All the songs on this album are then
displayed in the next SongFragment as shown below:

Pressing a given song cell in the display above will perform the following operations:

1. Search the youTube website for the best matching music video for the selected song (You
will need to use the YouTube API in order to do this).

2. Display a WebView that allows the user to play the best matching video.

The best matching music video is defined as the one that:

1. Has the name of the artist (i.e., “The Beatles”) in the title of the youTube video and
2. Also has the name of the song in the title

You will need to do additional processing on the list from the YouTube API in order to
detect the best matching video.

Because Sony has removed many videos from YouTube, a Cover Video may be the best
matching video in some cases.

If for some reason no video matches, display an informational box - “Video Not Found” and continue
to display the songs currently displayed.

An example of the view that is displayed after pressing “Please Please Me” is shown below:
The user will have the option to stop the video by pressing the “Back” button and then selecting
a different song or album.

Pressing the Back button will redisplay the previous screen showing all songs of Please Please
Me.

The user can now press a different song (cell) and the video for that song will be displayed.
Pressing the back button again will return to the previous AlbumFragment showing all the
albums again.
The user can now select any displayed album, which will display all songs for that album (in the
AlbumFragment). The user can then select any song of that selected album and the video for
that song will be played.

In other words:

All 15 albums are displayed.


All songs for each album are displayed when a specific album selected
The video for a given song is displayed when the song is selected . (or the
DisplayInfo box if no video is found)

Data Files

The following 16 data files are stored in [Link].

A file named [Link] It is written as an caret delimited file. The file has the name of the
album while the value has the producer of the album, the release date of the album, and the file
name of the album image:
Please Please Me^Produced by George Martin^March 22, 1963^pleasepleaseme
With The Beatles^Produced by George Martin ^November 22, 1963^with_the_beatles
A Hard Day's Night^Produced by George Martin ^July 10. 1964^harddaysnight
Beatles For Sale^Produced by George Martin ^December 4, 1964^beatlesforsale
Help!^Produced by George Martin ^August 6, 1965^help
Rubber Soul^Produced by George Martin ^December 3, 1965^rubber_soul
Revolver^Produced by George Martin ^August 5, 1966^revolver
Sgt. Pepper's Lonely Hearts^Produced by George Martin^June 1, 1967^sgt_pepper
Magical Mystery Tour^Produced by George Martin^December 6, 1967^magicalmysterytour
Yellow Submarine^Produced by George Martin^January 17, 1969^yellowsubmarine
The Beatles (The White Album)^Produced by George Martin^November 22, 1968^white
Abbey Road^Produced by George Martin^September 26, 1969^abbeyroad
Let It Be^Produced by George Martin & Phil Spector^May 8, 1970^letitbe
Past Masters Volume 1^Produced by George Martin^March 7, 1988^pastmastersvolume1
Past Masters Volume 2^Produced by George Martin^March 7, 1988^pastmastersvolume2

The image name is also used to create 15 separate files containing the song list for each album –
just by appending the “txt” extension. The format for the file name is

image_name.txt

Where image_name is the name of the image as shown above as the last field in the [Link]
file..

An example of [Link] is shown below:


Do You Want To Know A Secret^Lennon & McCartney
There's A Place^Lennon & McCartney
I Saw Her Standing There^Lennon & McCartney
Boys ^Luther Dixon/Wes Farrell
Anna ^Arthur Alexander
Chains ^Gerry Goffin/Carole King
Misery^Lennon & McCartney
Love Me Do^Lennon & McCartney
Baby It's You ^Hal David/Burt Bacharach/Barney Williams
P.S. I Love You^Lennon & McCartney
Twist And Shout ^Bert Russell/Phil Medley
Please Please Me^Lennon & McCartney
Ask Me Why^Lennon & McCartney
A Taste Of Honey ^Ric Marlow/Bobby Scott

The 1st field is the song’s tile, while the 2nd field is the composer. There are 15 files containing
the song list for each album.

What you Submit

You should name your Android project TheBeatles. Zip up the entire Android project. Submit the zip file
via Blackboard. Make sure that all necessary files are included in your project.

Grading
It’s important to provide the core functionality of the App as specified in this document. You will not
be graded on how identical your App’s is to the example. Feel free to use different
backgrounds, different options, and different layouts too if you like.

You might also like