Football Fans: Download the 2012 Schedule App from Google Play!


Go Back   Android Forums > Android Development > Application Development > Application Announcements

Application Announcements A place for developers to announce new applications.



Reply
 
LinkBack Thread Tools
Old January 29th, 2012, 02:07 PM   #1 (permalink)
New Member
 
AppAndArt's Avatar
 
Join Date: Jan 2012
Posts: 6
 
Device(s):
Thanks: 0
Thanked 0 Times in 0 Posts
Default Pop Soundboard

Hey people, i have made another soundboard using a similar design. Check it out. The POP SOUNDBOARD is a GREAT collection of your favorite singers and their signature sounds and phrases. 120 sounds from 40 famous singers. Choose your favorite ones, save them, use as ring tones alarm and notification signals with just 2 clicks.
Android market link


AppAndArt is offline  
Reply With Quote
Sponsors
Old January 29th, 2012, 04:01 PM   #2 (permalink)
Junior Member
 
AndroidMan1's Avatar
 
Join Date: Jan 2012
Posts: 32
 
Device(s): ZTE Skate
Thanks: 2
Thanked 1 Time in 1 Post
Default

hey nice app, can i ask did you use mediaplayer or soundpool, if mediaplayer how did you stop the sounds from still playing when you click the home button?

Thanks!

Will download this when i get my android phone
AndroidMan1 is offline  
Reply With Quote
Old January 30th, 2012, 06:21 PM   #3 (permalink)
New Member
 
AppAndArt's Avatar
 
Join Date: Jan 2012
Posts: 6
 
Device(s):
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I used MediaPlayer. I have class with private static final MediaPlayer
and method which plays sound.

Code:
   
 private static final MediaPlayer mediaPlayer = new MediaPlayer();

 public static void playSample(Context context, int resid) {
         AssetFileDescriptor afd = context.getResources().openRawResourceFd(resid);
         try {
             mediaPlayer.reset();
             mediaPlayer.setDataSource(afd.getFileDescriptor(), afd.getStartOffset(), afd.getDeclaredLength());
             mediaPlayer.prepare();
             mediaPlayer.start();
             afd.close();
         } catch (IllegalArgumentException e) {
             ....
         } catch (IllegalStateException e) {
             ....
         } catch (IOException e) {
             ....
         }
     }
I done it this way because of ListView items are collected with garbage collector during scrolling (when they get out of screen).

In next update i'll try to implement concurrent playback of sounds. I have some problems with it.
AppAndArt is offline  
Reply With Quote
Reply

Bookmarks

Tags
app sounds soundboard fun pop star


Go Back   Android Forums > Android Development > Application Development > Application Announcements User CP
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -5. The time now is 02:36 PM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
Custom vBulletin Skins by: Relivo