Adding Audio to an App

All your problems with Audio, Video and Images.

Adding Audio to an App

Postby desigrl27 » Sun Apr 11, 2010 10:30 pm

I am creating an app for the Android, and I want to play a "Tada" sound when the user completes something. How do I do this, using a "Tada.wav" or "Tada.mp3" file in my assets folder?

Thanks!
desigrl27
Freshman
Freshman
 
Posts: 2
Joined: Sun Apr 11, 2010 10:22 pm

Top

Postby desigrl27 » Mon Apr 12, 2010 9:43 pm

anyone?
desigrl27
Freshman
Freshman
 
Posts: 2
Joined: Sun Apr 11, 2010 10:22 pm

Postby Draffodx » Tue Apr 13, 2010 3:49 pm

Use MediaPlayer
Draffodx
Master Developer
Master Developer
 
Posts: 205
Joined: Wed Nov 12, 2008 2:31 pm

Postby BobGardner » Fri Apr 16, 2010 4:43 am

Make a dir in the res directory called raw, put the wav files in there.
BobGardner
Junior Developer
Junior Developer
 
Posts: 11
Joined: Sun Apr 11, 2010 11:34 pm
Location: Orlando

Top

Return to Multimedia Problems

Who is online

Users browsing this forum: No registered users and 9 guests