Play mp3 with continues from some mp3, pause and stop?


I have mp3 files inside an android internal folder.

I want to add feature continues, play, pause, and stop but the code that i run under still less able to work well, is there any one can give solution


Play_Murotal class

    public Play_Murotal(Context context, ListView listView, String nama_surat, long id_surat) {
        this.context = context;
        this.nama_surat = nama_surat;
        this.listview = listView;
        this.id_surat = id_surat;
    }

    public MediaPlayer play_murotal_ayat() {

        final String dir_file = context.getFilesDir() + "/" + nama_surat;
        File root = new File(dir_file);
        final File[] files = root.listFiles();

        // DELAY TIME FOR PLAY MP3
        Handler handler = new Handler();
        final List<Integer> listdurasi = new ArrayList<Integer>();

        for (int a = 0; a < files.length; a++) {
            final String nama_file = files[a].getName();

            // GET DURASI TOTAL
            int durasi = get_duration_murotal(dir_file + "/" + nama_file);
            listdurasi.add(durasi);
            int durasiTotal = 0;
            for (int b = 0; b < listdurasi.size(); b++) {
                if (b == 0) {
                    durasiTotal = 0;
                } else {
                    durasiTotal += listdurasi.get(b);
                }
            }

            final int finalA = a;
            handler.postDelayed(new Runnable() {
                @RequiresApi(api = Build.VERSION_CODES.KITKAT)
                @Override
                public void run() {
                    listview.setSelection(finalA - 1);
                    play(dir_file,nama_file);
                }
            }, durasiTotal);
        }
            return mplayer;
    }

    public void play(String dir_file, String nama_file){
        this.mplayer = MediaPlayer.create(context, Uri.parse(dir_file + "/" + nama_file));
        this.mplayer.start();
    }
    public void pause(){
        mplayer.pause();
    }