1

Android, Creating an arraylist of .mp3 files?

view story
linux-howto

http://stackoverflow.com – I want to create an arraylist of .mp3 files and strings. If a string in the arraylist is called by a randomnumber than a specific mp3 file will play. Could I make an arraylist filled with both .mp3 files and Strings so they can be called simultaneously or would I make seperate arrayLists. Or maybe not even use an ArrayList of .mp3 files? Thank You. ArrayList<String? words = new ArrayList<String> words.add("Hello World"); //On Button Click //Generates randomNumber Integer //randomNumber=1 //SetText to "Hello World" and play .mp3 that says "Hello World" simultaneously and put thread t (HowTos)