Android MediaPlayer Problems :“Error (-38 , 0) ” and “stop called in state 1”
问题 It's no sound from my device even the emulator. Actually, at the line "mMediaPlayer.create(this, musicIds[0]); " , eclipse suggests me two choices : "Change access to static using 'MediaPlayer'(declaring type)" or "Add @SuppressWarnings 'static-access' to on Create()" . By the way, I take eclipse's suggestions........but still don't work. P.S. I called a package from other project (pager). public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setTitle(R.string