ch704音乐播放器V2.0实验——创建一个音乐服务类1(MusicService.java) 要求: //1)声明全局变量:MediaPlayer对象和用于记录播放的位置的变量position //2)在MyService服务类中创建一个内部类MyBinder,继承自Binder //3)在内部类中编写一个无返回值的成员方法play(String path),用于播放音乐,方法体暂不写 //4)在内部类中编写一个无返回值的成员方法pause(),用于暂停播放,方法体暂不写 //5)重写onCreate()方法,在方法体中调用父类的onCreate()方法 //6)重写onBind()方法,在方法中返回MyBinder对象 //7)重写onDestroy()方法,在方法中停止播放音乐并释放资源