android Programming Glossary: timeinmilli
Android ShoutCast Internet Radio FilenotFoundException http://stackoverflow.com/questions/16264225/android-shoutcast-internet-radio-filenotfoundexception implements MediaPlayer.OnCompletionListener public void onCompletion MediaPlayer mp waitingForPlayer false long timeInMilli Calendar.getInstance .getTime .getTime long timeToQuit 1000 30 timeInMilli add 30 seconds if mp1playing mp1.reset removefile.. mp waitingForPlayer false long timeInMilli Calendar.getInstance .getTime .getTime long timeToQuit 1000 30 timeInMilli add 30 seconds if mp1playing mp1.reset removefile mp1prepared false Log.d TAG mp1 is Free. if downloadingformp2 if.. if downloadingformp2 if mp2preparing stopping false waitingForPlayer true while mp2preparing stopping false if timeInMilli timeToQuit stopSelf timeInMilli Calendar.getInstance .getTime .getTime else mp2.reset removefile mp2prepared..
|