Back to project page app-gkplayer-android.
The source code is released under:
Apache License
If you think the Android project app-gkplayer-android listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.roamtouch.gesturekit.gkplayer.service; /*from w w w. ja va 2s.c o m*/ import android.content.ContentUris; import android.net.Uri; public class Song { private long id; private String title; private String artist; private int albumId; private String album; private String songOrder; public Song(long id, String title, String artist, int albumId, String album, String songOrder) { this.id = id; this.title = title; this.artist = artist; this.albumId = albumId; this.album = album; this.songOrder = songOrder; } public long getId() { return id; } public String getTitle() { return title; } public String getArtist() { return artist; } public int getAlbumId() { return albumId;} public String getAlbum() { return album;} public String getSongOrder() { return songOrder;} public Uri getURI() { return ContentUris.withAppendedId( android.provider.MediaStore.Audio.Media.EXTERNAL_CONTENT_URI, id); } }