1/4

Android Assignment

Artist Explorer App

Please conduct the following tasks alone. For implementation details you can refer to the lecture slides or the Android developer website. Please do not hesitate to ask me or the tutor if you have any questions. Under “Tip” you can find some hints for the task. The “Checklist” specifies what should happen when your implementation is correct.

2/4

Tasks

  1. Create the Artist ListView
  2. Create the Info View for ArtistExplorer
3/4

1. Create the Artist ListView

Implement a ListActivity showing all the songs on your SD-Card sorted by title. Also show the artist name and the length of the song in seconds.

Tip

Refer to Assignment “Using ListViews (4.2.): Show Songs on your SD-Card”.

Checklist
When the app starts the music contents on the SDCard is displayed in a list.
4/4

2. Create the Info View for ArtistExplorer

Implement a second activity containing a WebView and a ProgressBar. When the user clicks on a ListItem in the first Activity, the Wikipedia Article corresponding to the artist is loaded in this WebView.

Tip

Use the putExtra() method to transfer the artist information from the first Activity to the Activity containing the WebView. Refer to assignment 3 - WebViews. Use the following URL to show your artist infos and append the artist name: http://de.m.wikipedia.org/wiki?search=

Checklist
When the user selects an artist, the corresponding wikipedia article is shown in the WebView.