android开发教程之卸载sd卡对MediaServer的处理
下面这段代码是android中Music中的处理代码: 代码如下:MediaPlayer.OnErrorListener errorListener = new MediaPlayer.OnErrorListener() { public boolean onError(MediaPlayer mp, int what, int extra) { switch (what) { case MediaPlayer.MEDIA_ERROR_SERVER_DIED: mIsInitialized = false; mCu
用户评论