Soundboard Questions

All your problems with Audio, Video and Images.

Soundboard Questions

Postby Reg » Fri Dec 23, 2011 6:42 am

hey guys,

I have 2 questions.

Right now I have a soundboard app that plays 5 - 10 sounds. I'm just streaming it with a URI.

This is an example:

Code: Select all
Button a = (Button) findViewById(;
        a.setOnClickListener(new OnClickListener()

         public void onClick(View arg0) {
            MediaPlayer mp = MediaPlayer.create(AnnouncerMain.this, Uri.parse("website"));
            mp.setOnCompletionListener(new OnCompletionListener() {
               public void onCompletion(MediaPlayer mp) {

This method works great, but I dont believe this method is stable enough. I'm wondering if anyone could help me out by finding a safer and more stable method.

My next question:
I'm trying to figure out how to create a context menu that will allow the users to save the sounds as a ringtone and notifications. I've only found one tutorial on the internet


I've been working on it for an hour and cant seem to get it to work. Any help would be amazing!

Once Poster
Once Poster
Posts: 1
Joined: Fri Dec 23, 2011 6:35 am


Return to Multimedia Problems

Who is online

Users browsing this forum: Exabot [Bot] and 7 guests