Android examples for android.media:AudioManager
start Pip Tone for duration
import android.media.AudioManager; import android.media.ToneGenerator; public class Main{ public static void startPipTone(int duration) { new ToneGenerator(AudioManager.STREAM_MUSIC, ToneGenerator.MAX_VOLUME).startTone( ToneGenerator.TONE_CDMA_PIP, duration); }//from w w w .j av a 2 s .co m }