T Tata Mapassa Member Licensed User Longtime User May 29, 2018 #1 Hello, How to detect that an audio file is being played via mediaplayer ? cordially
DonManfred Expert Licensed User Longtime User May 29, 2018 #2 You did call PLAY on the Mediaplayer Object. So you should know when it is playing. Mediaplayer raises an Event when playing is finished... https://www.b4x.com/android/help/mediaplayer.html Upvote 0
You did call PLAY on the Mediaplayer Object. So you should know when it is playing. Mediaplayer raises an Event when playing is finished... https://www.b4x.com/android/help/mediaplayer.html
ac9ts Active Member Licensed User Longtime User May 29, 2018 #3 MP.isPlaying will return true if it's playing Upvote 0