+ 1
How can i send song as intent to another activity with media player object.
I am having two activities one with song list and another with all other functionality and interface to play audio. I want to send audio( raw) as intent to other activity. https://code.sololearn.com/csp8tORRkFfG/?ref=app https://code.sololearn.com/cpoA2c6L0nAz/?ref=app
4 Answers
+ 2
Janningâ I am talking about Android development.
Intent is sending request to another app(implicit) to do something or Activity(explicit) in this case.
Activity (uses java or kotlin) is where all your logic goes like you have back-end javascript for web.
+ 1
yeah, I didn't want to post it first because of trouble of sharing it from laptop but I have posted it now. đđ
0
Hi Dhruv garg,
I'm a bit confused by your question. Could you please elaborate on what you mean by "intent" and "activity" and post your code (preferably in Code Playground and link here) so we can help you troubleshoot the issues you are running into?
0
Oh, I see. That means you have code that can be posted to Code Playground and linked here for us to troubleshoot?