O Oke Member Licensed User Longtime User Apr 1, 2023 #1 How to make the music in the mediaplayer play again when the page is loaded ?
LucaMs Expert Licensed User Longtime User Apr 1, 2023 #2 B4X: Private Sub B4XPage_Background mMediaPlayer.Pause End Sub Private Sub B4XPage_Foreground mMediaPlayer.Play End Sub Upvote 0
B4X: Private Sub B4XPage_Background mMediaPlayer.Pause End Sub Private Sub B4XPage_Foreground mMediaPlayer.Play End Sub
O Oke Member Licensed User Longtime User Apr 1, 2023 #3 LucaMs said: B4X: Private Sub B4XPage_Background mMediaPlayer.Pause End Sub Private Sub B4XPage_Foreground mMediaPlayer.Play End Sub Click to expand... I have done this, but it doesn't work, music still doesn't play when the page is opened again Upvote 0
LucaMs said: B4X: Private Sub B4XPage_Background mMediaPlayer.Pause End Sub Private Sub B4XPage_Foreground mMediaPlayer.Play End Sub Click to expand... I have done this, but it doesn't work, music still doesn't play when the page is opened again
DonManfred Expert Licensed User Longtime User Apr 1, 2023 #4 Oke said: have done this, but it doesn't work, music still doesn't play when the page is opened again Click to expand... add LOGs to see if the code is actually reached at all. Otherwise upload a small project showing the problem Upvote 0
Oke said: have done this, but it doesn't work, music still doesn't play when the page is opened again Click to expand... add LOGs to see if the code is actually reached at all. Otherwise upload a small project showing the problem