Master programming and take your career to new heights with clear, concise C, Android, and Web Development courses for just Rs. 999 / $ 12. Get lifetime access and certificate. Click here to enroll: courses.sandipbhattacharya.com/s/store
Without experience with programming in Java / Android (but only in VB and C #) this was very helpful. It was a bit of a puzzle with IntelliJ ... maybe you can pay some attention to that in your future videos. I can figure it out myself, but if you also can put together a video for MediaPlayer with radio streaming that would be helpful too :-)
@@SandipBhattacharya Thanks for your reply. I've already made a radio player. It turned out to be very simple, but there is probably room for improvement. Nevertheless, in a few days the app will appear in Google Play: it's called DinxperFM, an online radio station run by an association. I am the chairman of that association :-).
@@albertswinkels2618 Hello friend, could you please help me to generate my app online? I have the problem that the transmission cuts out after a few minutes. Please help. Thank you.
@@SandipBhattacharya Hello friend, could you please help me to generate my app online? I have the problem that the transmission cuts out after a few minutes. Please help. Thank you.
You need to release your media player objects and set them to null when the activity is stopping, ie when onStop() is called. For example: if(mediaPlayer1 != null){ mediaPlayer1.release(); mediaPlayer1 = null; } if(mediaPlayer2 != null){ mediaPlayer2.release(); mediaPlayer2 = null; } Hope that helps!
Thanks bro , i want create a application to play songs in firebase database and user can download a mp3 files to play when the are in offline mode , I mean When user click download button download the mp3 files in my firebase database to a private folder ex "NewFolder test " and user just can play the in the NewFolder test , how can I do it ? Can you please help me ? Send an video tutorial please.
yes I like, but I wanna create an app for radio using stream HTTP://myservers.music.com:8900/stream, so I can apply the same technique like your video?, thanks
Master programming and take your career to new heights with clear, concise C, Android, and Web Development courses for just Rs. 999 / $ 12. Get lifetime access and certificate. Click here to enroll: courses.sandipbhattacharya.com/s/store
also make the tutor continue to the next music when it is playing.
Ok.
Thank You Sir... This tutorial is really helpful. With your tutorials Android development is became very easy. Thank You So Much.... :) :) :)
Glad to know it helped. :)
Without experience with programming in Java / Android (but only in VB and C #) this was very helpful. It was a bit of a puzzle with IntelliJ ... maybe you can pay some attention to that in your future videos.
I can figure it out myself, but if you also can put together a video for MediaPlayer with radio streaming that would be helpful too :-)
@Albert, glad to know it helped. I'll try to make a tutorial on MediaPlayer with radio streaming. 🙂
@@SandipBhattacharya Thanks for your reply. I've already made a radio player. It turned out to be very simple, but there is probably room for improvement. Nevertheless, in a few days the app will appear in Google Play: it's called DinxperFM, an online radio station run by an association. I am the chairman of that association :-).
Wow! Congratulations! 👍
@@albertswinkels2618 Hello friend, could you please help me to generate my app online? I have the problem that the transmission cuts out after a few minutes. Please help. Thank you.
@@SandipBhattacharya Hello friend, could you please help me to generate my app online? I have the problem that the transmission cuts out after a few minutes. Please help. Thank you.
thanks sir very help full but how to play multiple songs please make a video on this
Will try.
Can you show how you could make the onStop() work for two music files each with their own play and pause button?
You need to release your media player objects and set them to null when the activity is stopping, ie when onStop() is called. For example:
if(mediaPlayer1 != null){
mediaPlayer1.release();
mediaPlayer1 = null;
}
if(mediaPlayer2 != null){
mediaPlayer2.release();
mediaPlayer2 = null;
}
Hope that helps!
Thanks bro , i want create a application to play songs in firebase database and user can download a mp3 files to play when the are in offline mode , I mean When user click download button download the mp3 files in my firebase database to a private folder ex "NewFolder test " and user just can play the in the NewFolder test , how can I do it ? Can you please help me ? Send an video tutorial please.
Hi @Dyari, noted your request. I'll try to create a tutorial on that soon.
thank you. why do the release is oportant?
Hi Tamir, sorry, I don't understand your question?
Very well taught 👍👍
Thank you! 😃
nice
Thanks
yes I like, but I wanna create an app for radio using stream HTTP://myservers.music.com:8900/stream, so I can apply the same technique like your video?, thanks