Skip to navigation
Play sound with android java
02.05.22
public void talk2me(String message) { Uri sound = Uri.parse("android.resource://" + this.context.getPackageName() + "/" + R.raw.sos); MediaPlayer mp = MediaPlayer.create(this.context.getApplicationContext(), sound); mp.start(); }
Reply
Anonymous
Information Epoch 1732505315
Work your system no matter how imperfect, and modify it as you go.
Home
Notebook
Contact us