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.
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.
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. |
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.
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. |