Trying to get one mediaplayer button to cycle through a few mp3 files. Here is what I have so far:
First declared my array: final int[] songs = {R.raw.ef101a, R.raw.ef101b, R.raw.ef101c, R.raw.ef101d, R.raw.ef101e}; Then called MediaPlayer: public void onClick(View arg0) { MediaPlayer mp = MediaPlayer.create(efaustusa.this, songs); mp.start(); I cannot call the array through this mediaplayer call.... anyone know how to do this? -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en