androidmani
Lurker
how to play selected ring tone when changing volume in android
I have coded like below. But this is always playing beep sound and not playing the selected ringtone . Can anyone help me
private AudioManager amanager;
amanager = (AudioManager)this.getSystemService(Context.AUDIO_SERVICE);
amanager.setStreamVolume(AudioManager.STREAM_RING, progress, AudioManager.FLAG_PLAY_SOUND);
I have coded like below. But this is always playing beep sound and not playing the selected ringtone . Can anyone help me
private AudioManager amanager;
amanager = (AudioManager)this.getSystemService(Context.AUDIO_SERVICE);
amanager.setStreamVolume(AudioManager.STREAM_RING, progress, AudioManager.FLAG_PLAY_SOUND);