Android 简单播放歌曲功能演示.rar
Android简单播放歌曲功能演示,播放本地音乐,非网络播放,可播放、暂停,运行效果如截图所示,在编写时,要注意以下代码: intstatus=1;//当前的状态,1没有声音播放,2正在播放声音,3暂停 ImageButtonstart;//播放、暂停按钮 ImageButtonstop;//停止按钮 ActivityReceiveractivityReceiver; intstatus=1;//当前的状态,1没有声音播放,2正在播放声音,3暂停 publicvoidonCreate(BundlesavedInstanceState){//重写的onCreate方法 super.onCre
下载地址
用户评论