Posts by Ricardo de Arêde • 1 point
2 posts
-
0
votes1
answer98
viewsA: Mediaplayer and Thread
I decided as follows: I declared Mediaplayer global and added the following code to onPause @Override protected void onPause() { if ((timerSound != null) && (timerSound.isAlive())){…
-
0
votes1
answer98
viewsQ: Mediaplayer and Thread
Good night, I have an Activity in which I play a bell x times, for t time, and for that I use a Mediaplayer inside a Thread, as below: public void tocarSino(final int repeticao, final long…