Mercurial > cgi-bin > hgwebdir.cgi > FriendStream > ASProto
changeset 0:9291185b49f5
add new service to play a song
| author | kshalle@C75D |
|---|---|
| date | Mon, 20 Apr 2015 14:57:37 +0300 |
| parents | |
| children | bae640f518e4 |
| files | app/src/main/java/com/example/friendstream/friendstream/Service_Play_Song.java |
| diffstat | 1 files changed, 16 insertions(+), 0 deletions(-) [+] |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/app/src/main/java/com/example/friendstream/friendstream/Service_Play_Song.java Mon Apr 20 14:57:37 2015 +0300 1.3 @@ -0,0 +1,16 @@ 1.4 +package com.example.friendstream.friendstream; 1.5 + 1.6 +import android.app.Service; 1.7 +import android.content.Intent; 1.8 +import android.os.IBinder; 1.9 + 1.10 +public class Service_Play_Song extends Service { 1.11 + public Service_Play_Song() { 1.12 + } 1.13 + 1.14 + @Override 1.15 + public IBinder onBind(Intent intent) { 1.16 + // TODO: Return the communication channel to the service. 1.17 + throw new UnsupportedOperationException("Not yet implemented"); 1.18 + } 1.19 +}
