// Convert the duration into seconds
final int durationInSecs = (int) duration / 1000;
+ // Copy the year
+ final int year = mCursor.getInt(5);
+
// Create a new song
- final Song song = new Song(id, songName, artist, album, durationInSecs);
+ final Song song = new Song(id, songName, artist, album, durationInSecs, year);
// Add everything up
mSongList.add(song);