android - Play Song continously -
i working on music application , have recorded audio files, can play song individually have button play on need play song present in particular folder can suggest best way achieve task thanks in advance hello guys got answer question finally please check below code: public class showallrecords extends listactivity { private file file; private list<string> mylist; mediaplayer mp; listview listv; int currentposition = 0; public void oncreate(bundle savedinstancestate) { super.oncreate(savedinstancestate); mp = new mediaplayer(); mylist = new arraylist<string>(); listv = getlistview(); listv.setbackgroundresource(r.drawable.musicapp); string root_sd = environment.getexternalstoragedirectory().tostring(); file = new file(root_sd + "/mymusicapp/"); file list[] = file.listfiles(); (int j = 0; j < list.length; j++) { mylist.add(list[j]....